|
Posted by Michael Vilain on 02/07/07 08:33
In article <45c98787$0$11603$afc38c87@news.optusnet.com.au>,
Siegfreed <sieg@freed.org> wrote:
> 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.
If it's not compiled to support MySQL, you're out of luck. Toss the
version you have and download the sources, compile, and link php for
your OS with the options that you need.
Or find a binary distribution of php compiled with the options you need
for your OS. Google may help you with that.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
Navigation:
[Reply to this message]
|