[suspicious - maybe spam] PHP + Oracle + ODBC + IIS + Win2K
| From: | Internet Marketing | Date: | Sat, 20 Aug 2005 14:59:42 +0000 |
| Subject: | [suspicious - maybe spam] PHP + Oracle + ODBC + IIS + Win2K | ||
| Groups: | php.db php.smarty.dev | ||
| Request: | Send a blank email to php-db+get-40113@lists.php.net to get a copy of this message | ||
Hi,
I am running Oracle 10g, PHP (4 or 5), Oracle's ODBC driver, IIS, on Win2K and keep encountering the error:
Fatal error: Call to undefined function ocilogon() in c:\Inetpub\wwwroot\include\db.php on line 19
So, to fix this I understand you have to uncomment out the appropriate extensions from the PHP.ini file. When I do uncomment php-oci8.dll, save the file, the web server seems to hang. If i comment it back out, webserver fine, no connection to oracle.
Sqlplus connects to oracle fine, so do various other non-oracle programs via the correctly installed/configed ODBC drivers. Both user and system ODBC had been set up.
I have also changed the extension_dir from "./" to "C:/PHP/EXT" to variants on this, which is where PHP is installed. I have tried both PHP 4 and 5.
I have read a lot of posts on this issue, but there does not seem to be a response that solves this issue.
Any help appreciated. Thanks.
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/