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

Posted by Vincent on 02/07/07 08:23

be sure libmysql.dll is available to the systems PATH.

from php.net:

Go to Control Panel and open the System icon (Start -> Settings ->
Control Panel -> System, or just Start -> Control Panel -> System for
Windows XP/2003)

Go to the Advanced tab

Click on the 'Environment Variables' button

Look into the 'System Variables' pane

Find the Path entry (you may need to scroll to find it)

Double click on the Path entry

Enter your PHP directory at the end, including ';' before (e.g. ;C:\php)

Press OK and restart your computer




hope this helps

Siegfreed schreef:
> 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.

 

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

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