Error with php_oci8.dll
746241Jan 13 2010 — edited Apr 8 2010Hi everyone.
I have the following error with the php_oci8.dll (apache error log):
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files (x86)\\PHP\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
There are the current configuration:
php.ini:
[PHP_OCI8]
extension=php_oci8.dll
Set:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\saud.gonzalez\AppData\Roaming
CLIENTNAME=BOGGONZAS01P1
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=CT1APLMICURAR01
ComSpec=C:\Windows\system32\cmd.exe
DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\saud.gonzalez
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_02\bin
LD_LIBRARY_PATH=C:\oracle\client\11.1.0\instantclient
lib=C:\Program Files\SQLXML 4.0\bin\
LOCALAPPDATA=C:\Users\saud.gonzalez\AppData\Local
LOGONSERVER=\\CT1APMICSENDC1
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\oracle\client\11.1.0\instantclient;C:\Program Files (x86)\PHP\;C:\oracle
\client\11.1.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Pr
ogram Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft
SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\
binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files
(x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (
x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\M
icrosoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Java\jdk1.6.0_02\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHPRC=C:\Program Files (x86)\PHP\
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
SESSIONNAME=RDP-Tcp#0
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\SAUD~1.GON\AppData\Local\Temp\1
TMP=C:\Users\SAUD~1.GON\AppData\Local\Temp\1
USERDNSDOMAIN=DATACENTER.LOC
USERDOMAIN=DATACENTER
USERNAME=xxxx
USERPROFILE=C:\Users\xxxx
VISUALSVN_SERVER=C:\Program Files (x86)\VisualSVN Server\
VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
windir=C:\Windows
The current config:
IBM x3650
Windows 2008 Server Standard
Apache 2.2.4
PHP 5.2.10
Oracle Client
Thanks in advance.