help compiling php4 w/oracle 8
| From: | Kenneth Lee | Date: | Thu, 10 Aug 2000 12:56:37 +0000 |
| Subject: | help compiling php4 w/oracle 8 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11128@lists.php.net to get a copy of this message | ||
hi all,
today i just recompiled an apache with php-4.0.2, with imap+oracle+mysql
enabled. then i created the test.php as usual, with this line only:
<? mysql_connect(1,2,3,4); OCILogon(1,2,3,4); phpinfo(); ?>
and here's the output:
Warning: Wrong parameter count for mysql_connect() in
/home/httpd/html/info.php on line 1
Fatal error: Call to undefined function: ocilogon() in
/home/httpd/html/info.php on line 1
the first error is expected, but not the second.
then i removed that two database calls, and the phpinfo showed up
successfully. it told me oracle support *is* enabled, with the correct
$ORACLE_HOME and correct oracle version (8.1.5).
before this i tried compile using 4.0RC1, but the result is the same.
can anyone explain the mystery to me? or is this a well-known problem?
pls kindly give me some pointer to this.
thanks in advance,
kenneth
(i'm on the digest so CC to me also when replying, thx)