calcio22 Posted May 20, 2006 Share Posted May 20, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/10084-solved-configure-php-with-mysql/ Share on other sites More sharing options...
wildteen88 Posted May 21, 2006 Share Posted May 21, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/10084-solved-configure-php-with-mysql/#findComment-37652 Share on other sites More sharing options...
calcio22 Posted May 23, 2006 Author Share Posted May 23, 2006 Thanks! This worked! Quote Link to comment https://forums.phpfreaks.com/topic/10084-solved-configure-php-with-mysql/#findComment-38331 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.