|
Posted by java on 03/09/07 16:29
Hi there!
After I overcame some short_open_tag (thanks, Rik!) I encounter
another strange php-behaviour. The script I just got to work on the
windows-commandline obviously does as php.ini tells php to do and
loads php_mysql.dll:
E:\ersDHCP>php ./extractLog.php
.... some mysql-stuff, some output, OK
The same script invoked by the webserver apache 2.2 entails an error:
http://localhost/extractLog.php
PHP Fatal error: Call to undefined function mysql_connect()
My configuration php.ini does contain the line extension=php_mysql.dll
and seems to be OK while I use the script from commandline. Is there
anybody who can give me a hint where to cope with this error?
Take care,
Christian
Navigation:
[Reply to this message]
|