Php_oci8.dll Apache Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers php_oci8_11g.dll download or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Php_oci8.dll Download
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; unable to load dynamic library php_oci8.dll not a valid win32 it only takes a minute: Sign up PHP 5.3.1 not loading php_oci8.dll on Windows up vote 5 down vote favorite I'm trying to load the oracle extension on php but im having the error: Warning: PHP Startup: Unable to load
Php_oci8.dll 64 Bit Download
dynamic library 'D:\Program Files\xampp\php\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0 I have done so far: Included on windows path the the fullpath of oracle instant client on php.ini, the extension_dir is pointing to the right place on php.ini extension=php_oci8.dll is ok restarted the apache, and nothing works. windows oracle php share|improve this question edited Apr 18 '13 at 16:12 hakre 134k26216390 asked Oct 10 '12 at 13:24 Thales Pereira 1,38851540 Did php_oci8_11g.dll 64 bits download you tried to set extention_dir absolutly? Did you tried to empty extention_dir and set extention=php.oci8.dll absolutly? Are you sure php_oci8.dll is for your machine (32/64bit?) –Eun Oct 10 '12 at 13:27 I belive extension dir is working , because i can successfully connect to a mysql and postgresql database. The php_oci8.dll im using was installed with xampp. The pc im using is 32 bits, so the dll. –Thales Pereira Oct 10 '12 at 13:32 PHP 5.3.1? Why are you using such an out-of-date version? The current version is 5.3.17. There have been a lot of patches in between those versions, including a lot of security patches. –Spudley Oct 10 '12 at 20:42 1 Because i just it for personal book/dvd's database. No need to upgrade anything :) –Thales Pereira Oct 11 '12 at 9:12 add a comment| 6 Answers 6 active oldest votes up vote 7 down vote accepted Problem solved by copying the files orannzsbb11.dll , oci.dll and oraociei11.dll to c:\windows\system32 share|improve this answer answered Oct 10 '12 at 14:47 Thales Pereira 1,38851540 add a comment| up vote 2 down vote I solved this problem by adding "C:\Program Files (x86)\PHP\v5.3\ext" to my Windows PATH environment variable. You'll just have to remember to change the path if you upgrade PHP. I think this is better than copying dlls which could lead to issues down the road if you end up with multip
to load Posted by: noximo (---.upce.cz)Date: November 04, 2009 10:39PMHi,I'm trying to connect to the remote Oracle server, but I'm unable to load php_oci8.dll. All I've
Php_oci8.dll 32 Bit Download
got is this message:"PHP Startup: Unable to load dynamic
Unable To Load Dynamic Library Php_oci8.dll Xampp
library 'c:/wamp/bin/php/php5.3.0/ext/php_oci8.dll' - Uvedený modul nebyl nalezen"('Module not found' is the translation of the php_oci8 dll the specified module could not be found last sentence)or similar messages if I try to load php_oci8_11g.dll or php_pdo_oci. Files are in the specified folder. Other extensions load properly.I've got http://stackoverflow.com/questions/12820429/php-5-3-1-not-loading-php-oci8-dll-on-windows PHP 5.3.0 but if I try the same with 5.2.11 it wouldn't load at all.If i try execute this code:$db = "oci:dbname=//schoolserver.com:1521/oracle10";$conn = new PDO($db,$db_username, $db_password);i've get this error: Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'so I think that problem could be http://forum.wampserver.com/read.php?2,56274,75694 in the Oracle client, but I've downloaded instantclient-basic-win32-11.1.0.7.0.zip and add a PATH into the Windows properly (at least i think i did)Do you know the solution? Please help!Options:Reply•QuoteRe: php_oci8.dll unable to load Posted by: noximo (---.85.broadband4.iol.cz)Date: November 04, 2009 11:22PMOk, nevermind, problem solved. Computer restart do the trick. It's one of these days y'know...Options:Reply•QuoteRe: php_oci8.dll unable to load Posted by: bugmenot1 (---.252-81.static-ip.oleane.fr)Date: July 07, 2011 12:33PMTo solve the problem"PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_oci8.dll'"I had to install WampServer 32-bits on my 64-bit machine.FrostyOptions:Reply•QuoteRe: php_oci8.dll unable to load Posted by: bugmenot1 (---.252-81.static-ip.oleane.fr)Date: July 07, 2011 12:33PM-Edited 1 time(s). Last edit at 07/07/2011 12:33PM by bugmenot1.Options:Reply•QuoteRe: php_oci8.dll unable to load Posted by: GnuDoyng (---.51.204.121.board.fz.fj.dynamic.163data.com.cn)Date: July 16, 2011 12:56PMI was experiencing the same issue for the past days and my sollution was to copy oci.dll to Windows/system32 folde
Windows version of XAMPP, questions, comments, and anything related. Forum rules Topic locked 5 posts • Page 1 of 1 php_oci8.dll is "not a valid Win32 app" [SOLVED] by markelliot114 » 27. January 2012 00:54 I just downloaded Xampp for Windows 7. I https://www.apachefriends.org/f/viewtopic.php?p=191624&sid=c5c32f156a80ebcdc6ee9b1ee777f1c9 have a 64 bit machine. I need to run PHP with Oracle. I uncomment the line in php.ini with php_oci8.dll. When Apache starts it complains that the DLL is not a valid Win32 application. I have also installed the latest Oracle drivers too. Can you please help? markelliot114 Posts: 2Joined: 27. January 2012 00:46 Operating System: Windows 7 Top Re: php_oci8.dll is "not a valid Win32 app" by hackattack142 » 27. January 2012 02:40 First, I would suggest unable to always looking at the requirements for any non-default php extensions if you have not already because the additional oracle library you need is dependent on the PHP version: http://www.php.net/manual/en/oci8.requirements.phpNext, I suspect that you are trying to mix a 64 bit oracle dll with the 32 bit Apache/PHP that is part of XAMPP. I do not want to sign up for an Oracle account to test that theory. If you have any SideBySide errors in your Windows Event Log (Start > unable to load Run > eventvwr) that is typically the cause. XAMPP Control Panel DeveloperLatest CP: viewtopic.php?f=16&t=48932 hackattack142 Posts: 703Joined: 20. May 2011 23:29 Operating System: Windows 7 Ultimate SP1 64-Bit Top Re: php_oci8.dll is "not a valid Win32 app" by Sharley » 27. January 2012 04:09 As pointed out above make sure your Oracle is compatible with the 32 bit VC9 compiled Apache/PHP in 1.7.7.Also would you please edit your profile to reflect that you are using a 64 bit Windows version as it is important for correct support - thanks. viewtopic.php?f=16&t=48626I did see a work around for your issue where the solution was to copy the oci.dll from your compatible Oracle installation into the C:\xampp\apache\bin and the C:\xampp\php folders.In the much older 1.7.1 version this oci.dll was found in the php and the apache\bin folders of xampp.I tried using the oci.dll found in the 1.7.1 version in the 1.7.7 version but as far as I can tell it was looking for the Oracle installation by giving an error:The procedure entry point OCIPing could not be found in the dynamic link library oci.dllwhich leads me to believe I would have to install Oracle and copy over the oci.dll found in Oracle to the apache\bin and the php folder in 1.7.7 (this may not be needed if Oracle made an entry in the Path of the System Environment Variables.I also believe you may need to uncomment theCode: Select all;extension=php_pdo_oci.d