Why does PHP still fail to load the oci8 extension while enabling the extension?
The oci8 extension of PHP is enabled, but the var_dump (get_loaded_extensions () Printing still does not show the oci8, pdo_oci, pdo_odbc extension.
You can download the package from the oracle website, decompress the package, and modify the environment variables of the system.
Finally, install OracleDatabaseInstantClient11g11.2.0.3.0 x64.
OracleDatabaseInstantClient11g11.2.0.3.0 x64 is an integrated installation package developed by CSDN for Daniel.
I installed WampServer. When I open the php oci8_11g extension, I always report an error. What can be done? The error is as follows:
First, make sure that the path configured in php. ini is extension_dir = 'd:/wamp/bin/php/php5.3.10/ext /"
Check whether d:/wamp/bin/php/php5.3.10/ext/php_oci8_11g.dll exists.
----------------------------------------
Refer to my Configuration:
Extension_dir = "d:/wamp/php/ext /"
Php_oci8.dll path: D: \ wamp \ php \ ext \ php_oci8.dll
Php cannot load the oci8 module, and cannot connect to the oracle database. phpini is also configured, And the oracle Real-time client is also installed.
The php version does not match your oracle version. You can use phpstudy to integrate the package. The php version can be switched freely. In the menu php extension, the extension is automatically enabled when oci8 is checked. Convenient Extension Management.