[SOLVED] PHP5 and MySQL 4 not playing nice
Posted: Tue Jul 20, 2004 12:17 pm
Hello,
It's been a while. But, I have another question for all youse.
I just configured a new XP server box, installed Apache2, MySQL4, and PHP5.
My localhost shows the following;

On installing MySQL, there were no problems. I set it up as a service and used mysqld to initialize the root databases. Once again, no errors.
Then, I optimistically install phpmyadmin. When I try to access it, I get this;
I checked the PHP site, and it said that MySQL support is no longer "bundled". But, I thought I had it enabled it by loading the dll. nowhere can I find out how to load the libraries properly or even where to find them (isn't the dll the libraries?). Not even the installation docs mention this issue.
I would appreciate it if someone could point me to a good source on how I can solve this problem and get MySQL4 working with PHP5. I could always drop back to PHP4 I guess, but I want this server to be up-to-date as possible.
Thanks for anything you have on this subject.
It's been a while. But, I have another question for all youse.
I just configured a new XP server box, installed Apache2, MySQL4, and PHP5.
My localhost shows the following;
At least I know that Apache and PHP are working well enough to get this far.Apache/2.0.50 (Win32) PHP/5.0.0 Server at localhost Port 80
On installing MySQL, there were no problems. I set it up as a service and used mysqld to initialize the root databases. Once again, no errors.
Then, I optimistically install phpmyadmin. When I try to access it, I get this;
I check the documentation AND my PHP.ini for the problem. The file php_mysql.dll is exactly where the extensions directive says it is. I have played around until I'm blue in the face. And, I cannot clear this error.cannot load MySQL extension,
please check PHP Configuration.
I checked the PHP site, and it said that MySQL support is no longer "bundled". But, I thought I had it enabled it by loading the dll. nowhere can I find out how to load the libraries properly or even where to find them (isn't the dll the libraries?). Not even the installation docs mention this issue.
I would appreciate it if someone could point me to a good source on how I can solve this problem and get MySQL4 working with PHP5. I could always drop back to PHP4 I guess, but I want this server to be up-to-date as possible.
Thanks for anything you have on this subject.