RE: [PHP] Re: OCI8 under WINDOWS
| From: | Vincent DUPONT | Date: | Mon, 26 Feb 2007 13:49:36 +0000 |
| Subject: | RE: [PHP] Re: OCI8 under WINDOWS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249444@lists.php.net to get a copy of this message | ||
hello
is this not a problem of user rights?
With IIS under XP, the user is always something as IUSR_xxx, so , the c:\oracle folder must be
granted execute grants to IUSR_xx
try to figure out under what user Apache is executed (see the Taskt Manager to check the user
running the Apache process)
and change the windows security on the oci client directories to allow execute grants to that user
on all files.
Vincent Dupont
Principal Consultant OpenSource Competence Center
Ausy Belgium
http://www.ausy.be
-----Original Message-----
From: Fahad Pervaiz [mailto:fahad.pervaiz@gmail.com]
Sent: Mon 2/26/2007 14:41
To: MiguelJose.Jimenez@isotrol.com; php-general@lists.php.net
Subject: [PHP] Re: OCI8 under WINDOWS
#####ORIGINAL######
Hi, I am trying to use oci8.dll under PHP 5.2 and Apache 2 under Windows
XP... The system variables are all configured (TNS_ADMIN, SQLPATH,
LD_LIBRARY_PATH, etc...). I use ORACLE Instant Client and sqlplus works
OK ... PHP-CLI loads the extension without any problem but I cannot get
it load under APACHE (with the help of phpinfo()) ... Any idea why it
won't load?
####END ORINGINAL###
Uninstall oracle instant client
Restart your windows machine
Download complete oracle client from oracle website
http://www.oracle.com/technology/software/index.html
Restart your windows machine
Every oci8 should work fine now. If not you can try installing Zend
Core for Oracle.
--
Regards
Fahad Pervaiz
www.ecommerce-xperts.com
(Shopping Cart Applications, Framework
for Multilingual Web Sites, Web Designs)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php