close

狀況
使用 ci 連線 Oracle 時出現錯誤訊息:
Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS'

解法
請修改 php.ini,找到
;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client
依 Oracle 版本適合的取消註解,然後重新啟動 apache 就可以了

arrow
arrow
    全站熱搜

    wbkuo 發表在 痞客邦 留言(0) 人氣()