Bug #12502 Updated: oci8.dll can't be loaded

From: Date: Thu, 02 Aug 2001 01:54:16 +0000
Subject: Bug #12502 Updated: oci8.dll can't be loaded
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61798@lists.php.net to get a copy of this message
ID: 12502 User updated by: jmgonzal@netred.cl Reported By: jmgonzal@netred.cl Status: Open Bug Type: OCI8 related Operating System: WinNT and Windows 2000 PHP Version: 4.0.6 New Comment: Sniper, I change my php.ini I comment php_oci8.dll and uncomment php_oracle.dll This work. But now I recieve the following problem: TNS:could not resolve service name I try with $db= ora_logon("demo_user/demo_password@demo",""); This TNS exist and the user and the password too. (this is the right place for this question?) thank you again. Previous Comments: ------------------------------------------------------------------------ [2001-08-01 15:58:57] jmgonzal@netred.cl I don't understand this program. Please check this image : http://www.netred.cl/php.jpg (image of my screen). ------------------------------------------------------------------------ [2001-08-01 10:20:42] sniper@php.net to look on which external dlls an exe or an dll is relying you can use the dependency walker - http://www.dependencywalker.com/ ------------------------------------------------------------------------ [2001-08-01 09:39:41] jmgonzal@netred.cl I put extension_dir = "c:\php\extensions\" and now the error is: Unable to load dynamic library 'c:\php\extensions\php_oci8.dll' the file php_oci8.dll exist in c:\php\extensions\ ------------------------------------------------------------------------ [2001-08-01 09:26:31] sniper@php.net For some putting "' around the path has helped.. And terminate it with a \ ------------------------------------------------------------------------ [2001-07-31 23:44:10] jmgonzal@netred.cl I try to configure 2 computers: 1 with NT with SP 6 with IIS 4.0 1 with Windows 2000 and IIS 5 all with PHP 4.0.6 for windows Oracle 8.1.5 is in NT and the windows 2000 will connect to the NT via OCI (client version of Oracle installed in Windows 2000) In Both computers I have the same problem: Unable to load dynamic library 'c:\php\extensions/php_oci8.dll' see the last slash in the path my php.ini: extension_dir = c:\php\extensions extension=php_oci8.dll Why? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12502&edit=1

« previous php.dev (#61798) next »