I want to use php oci8 function , but I got this error
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8.dll' - The specified module could not be found. (C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache)
I have follow all this step
How to enable Oracle Connection to PHP on XAMPP
- Install XAMPP 1.7.3 on your Windows. (Please remove the old version of XAMPP and please delete
C:\xamppBEFORE installing the new version of XAMPP). - Extract InstantClient to
C:\instantclient_11_2folder. - Open system setting at Start Menu > My Computer(right click on the icon) > Select Properties > Advanced Tabs > Environment Variables.
- Add to ‘System Variables’ by clicking ‘New’ button and insert the following values:
a. Variable Name :
PATHb. Variable Value :c:\instantclient_11_2 - Click OK to accept new modification.
- Open
C:\xampp\php\php.iniby using notepad. - Find string
oci8and remove the;symbol at the beginning of the string line. - Save and Exit.
- Restart you laptop/pc to accept new modification on xampp.
I setup at Window Server 2008 R2 64bit.
Can anyone help?
PATHinSystem Variableby addingC:\instantclient_11_2and not by creating a new one. You should only restart 'XAMPP' and not restarting your machine