You are here: Re: PHP not supporting MySQL « PHP Programming Language « IT news, forums, messages
Re: PHP not supporting MySQL

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация