突然想學PHP研究一下
于是下載下傳安裝了LAMP
一切很順利
之前用到oracle
PHP也能用PDO_OCI連接配接多達12種資料庫
于是
1.裝Instantclient 無尿點哦‘
2.裝PDO_OCI
(1) 找不到亂七八糟的檔案,解決方法:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1393640
千言萬語彙成一句話 sudo ln -s /usr/include/php5/ /usr/include/php
還是路徑問題阿 @@
(2) pdo_oci.c:34:1: error: unknown type name ‘function_entry’,解決方法:
-https://bugs.php.net/bug.php?id=61479
Just Change function_entry To zend_function_entry in your pdo_oci.c file
英語好還是有點用
3.裝oci8無尿點
最後祝大家天天好心情