|
Posted by denis on 02/07/07 22:04
"Siegfreed" <sieg@freed.org> wrote in message
news:45c98787$0$11603$afc38c87@news.optusnet.com.au...
> My PHP version is obviously not compiled with MySQL support, consequently
> I get the following message:-
>
> Fatal error: Call to undefined function mysql_connect() in
> C:\http-dir\board\connect.php on line 3
>
> Question:- How do I instruct PHP to support MySQL?
>
> Please note:-
>
> extension=php_mysql.dll
> extension=php_pdo_mysql.dll
>
> in php.ini are enabled, and php.ini is located in the php root directory.
>
> Thank you.
Along with the previous advice to add PHP dir to your system path, from the
top of my head
1) Run phpinfo() and see if the report displays the correct path to your
php.ini
2) Uncomment extension_dir in php.ini and set it to the appropriate folder
Something along the lines of
extension_dir = "C:\PHP\ext\"
p.s I do hope you installed PHP from the binary zip, not the installer, as
the second one doesn't include mysql support to my knowledge
Denis Gerina
Navigation:
[Reply to this message]
|