MySQL Forums
Forum List  »  Newbie

Re: Fatal error: Call to undefined function mysql_connect()
Posted by: Janith Serasinghe
Date: June 12, 2008 10:59PM

I have solved this problem.

The way of solving-->

1. First you should run phpinfo(); method and the you can see "Configuration File (php.ini) Path " . Then you should open the file php.ini where there is a "Configuration File (php.ini) Path ".

2. After that you should change extention directory path and you shoul remove the front of semicolons(;) of ;extension=php_mysql.dll ;extension=php_mysqli.dll files.

3. Next save again and and your web server should be restarted and run your php file,absolutely it will be running without above error.


I am janith serasinghe from Sri Lanka.


===================================If you would like please add these link your blogs and site and gain a lot of chances==================================

If you would need to booking flight , Hotels, rooms car hire ,Travel Insuarance from around the world please click below links and gain discount from your great vacations.

Options: ReplyQuote

Written By
Re: Fatal error: Call to undefined function mysql_connect()
June 12, 2008 10:59PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.