Mike Herte wrote:

I'm trying to learn to use PHP and have installed Apache, MySQL and PHP on my system. The problem is that I can't seem to get the programs to work together.
I have Win2k sp4, Apache 2.0 running as a service, MySQL running as a service, and PHP 5.0 installed. All three programs seem to be working: Apache starts without any error messages and serves my html files, phpinfo.php comes up when requested indicates that PHP is running, and I can access MySQL through it's console and execute queries that way (so it's "up" too).
However, the phpinfo screen does not show MySQL at all. This tells me that PHP isn't finding MySQL and that I'm not going to have much success learning the language in conjunction with MySQL! Any tips or ideas would be helpful. I am somewhat familiar with Apache, but PHP and MySQL are new territory for me.

I should suggest you try a better database ;)
But the answer is probably - MySQL is no longer automatically installed in PHP5 since the licence changes to MySQL.
You need to uncomment the relevant line in php.ini to enable that module, and you will find modules for all the other databases as well.


--
Lester Caine
-----------------------------
L.S.Caine Electronic Services

Reply via email to