When you update PHP to version PHP 5.3.1 using WAMP PHP Addons and restart WAMP, you’ll start getting the following error.
This error refers to WAMP configuration file located at installation path (e.g. d:wampwampmanager.ini)
If you edit this file and fix these errors, on starting WAMP, this file is re-written and you get this error again.
1. Find all the php.ini files. These will be in D:wampbinphpphp5.2.5, D:wampbinphpphp5.3.1 and D:wampbinapacheapache2.2.6bin, if you have installed WAMP on your D drive.
2. Find following two lines
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
and replace them with
3. Open up your WAMP configuration file (i.e d:wampwampmanager.ini). Find and remove all occurence of the following
; Use with Oracle 10gR2 Instant Client
; Use with Oracle 11g Instant Client
Make sure that one configuration rule takes one line. For example, Change
Type: item; Caption: "php_oci8.dll ; Use with Oracle 10gR2 Instant Client
"; Action: multi; Actions: php_ext_php_oci8.dll ; Use with Oracle 10gR2 Instant Client
Type: item; Caption: "php_oci8.dll"; Action: multi; Actions: php_ext_php_oci8.dll
4. Save your file and start WAMP Server.
Thanks for sharing such a nice info.
Removing all the relevant content to “oracle” did the trick for me.
I kept having the error message. Making the changes and then setting the wampmanager.ini file to readonly did the trick for me.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.