Faqts : Computers : Programming : Languages : PHP : Database Backed Sites : Oracle : Errors

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 94 people (31%) answered Yes
Recently 4 of 10 people (40%) answered Yes


Can't load php_oci8.dll in Windows2000, Oracle 8.1.6, Apache 1.3.20, and PHP 4.0.6.

Nov 7th, 2001 00:48
Sally Greenaway, Heri Waluyo,

I had this very same problem and it took me ages to work out what was 
The solution is very simple though ...
in the php.ini file, under the :windows extensions section there are 
two parameters that refer to Oracle.  extension=php_oci8.dll and 
extension=php_oracle.dll.  If both of these parameters are uncommented 
then a confliction will occur and the dll will not be loaded 
Try uncommenting extension=php_oracle.dll (This is for use with earlier 
versions of Oracle, i.e. 7) save the ini and try running a php page 
There may be a requirement to re-start your computer so the updated ini 
file can be re-initialised.