introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

PHP 2 on Vista error: Call to undefined function mysql_connect()



Posted by: Rhoel
March 20, 2009 06:03PM
Hi,

Big fan of Easyphp2, one of the best dev tools ever.

Just moved to Vista(32) (and yes ut sucks) and getting this odd message when opening [127.0.0.1].
n C:\Program Files\EasyPHP2\www\includes\dBase_modules\open_db.php on line 3


If I run phpMyAdmin, I get at the message:
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation


Follow the documentation help, and taht says
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

okay, run a check and php_mysql.dll is definitely in the php5/ext/ directory.

I have done a resinstall and the same thing is happening.

In task manager, Apache and mySQL are running. If I connect to the MySQL with phpmaker6, it opens fine. MySQL is running like a train on greased rails.


Any ideas why Fire fox 2 can't open?
Thanks

Rhoel
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.