Check the php.ini file that php is using by running a phpinfo() from the command line, and look to see what extensions are enabled in that file. It's quite commopn for php to be set to use a different php.ini file when running from the command line; and xampp certainly uses a different php.ini file by default. You can also tell it what php.ini file to use with the -c switch
A:
Mark Baker
2010-07-30 21:47:58
Thanks for the response. At the moment I can't even run a simple php file with 'phpinfo.php' because I can't get php started...
The_Denominater
2010-07-30 21:57:55
A:
Am I correct that both C:\instantclient_11_2
and C:\oracle\ora92\bin
contain a OCI.DLL
? Because of the order of the path you might load the wrong dll. When I read Which OCI8 DLL to use in PHP 5.3 you need a different line in the php.ini depending on the version of the oracle client. I currently have no access to a pc with oracle, so I cannot verify this.
Wimmel
2010-08-01 17:56:51
A:
I've solved the problem in a way by changing the script. It's now:
C:\xampp\PHP\php.exe -f C:\xampp\htdocs\php_scripts\utils\update_dashboard.php
Thanks for the help.
The_Denominater
2010-08-12 17:59:59