Jump to content

*SOLVED* Configure PHP with MySQL


Recommended Posts

Hello,

I have installed Apache, PHP, and MySQL on a Windows 2003 Server in that order. Unfortunately, because I installed MySQL last, I do not know how to get PHP to realize it is there. PHP is current installed in C:\Program Files\Apache\PHP, while MySQL is installed in C:\MySQL, and the php.ini file is in C:\WinNT.

While, I cannot be the first person to ask this question, how do I get PHP to recognize the installation of MySQL?

I believe I am running the latest stable version of PHP and MySQL.

Thank you in advance.
Link to comment
https://forums.phpfreaks.com/topic/10084-solved-configure-php-with-mysql/
Share on other sites

You need to configure PHP to use the mysql extension once you have done that you should be able to use any mysql_* functions.

To configure PHP to use the mysql extension read my post [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=87276\" target=\"_blank\"]here[/a]. Note you will need to substitute any instance of C:\WINDOWS with C:\WinNT instead aswell as any instace of C:\PHP with C:\Program Files\Apache\PHP

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.