sashi34u Posted January 23, 2009 Share Posted January 23, 2009 Hello everyone, I have installed WAMP server on my PC. Then I have installed the MySQL and PHP software by downloading them from the site. The PHP programs I have written used to work fine but when I tried to connect to the MySQL database or create a new database using the PHP programming nothing happens in the browser. I do not know what happened. After several attempts I finally uninstalled the MySQL and PHP programs and then when I tried to connect to the MySQL usin PHP it worked fine I do not know the reason for this. Can anyone tell me what the reason is? Further more I would like to install PHP and MySQL along with a server like APACHE. But I do not know where to download the APACHE server from. Also When I install PHP and MySQL how do I link PHP and MySQL so that they work in tandem. Would be great if anyone can clear these doubts. I know that these are very basic questions but I am a starter. Thanks, Sashi Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/ Share on other sites More sharing options...
Maq Posted January 23, 2009 Share Posted January 23, 2009 Further more I would like to install PHP and MySQL along with a server like APACHE. But I do not know where to download the APACHE server from. Also When I install PHP and MySQL how do I link PHP and MySQL so that they work in tandem. I'm not sure what exactly you mean... WAMP comes with all of this... WAMP - Apache, MySQL, PHP on Windows Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/#findComment-744646 Share on other sites More sharing options...
sashi34u Posted January 23, 2009 Author Share Posted January 23, 2009 Yes you are right....but if I want to install (I will uninstall the WAMP first) the software separately ie., PHP and MySQL separately how do I go about linking them? How can I get the PHP work with MySQL in sync.....like if I write a command in PHP asking to connect to the MySQL server it should be able to connect to the server. Also I have tried to download the APACHE server from the website but I do not know how to download it...can you please guide me through it Thanks, Sashi Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/#findComment-744666 Share on other sites More sharing options...
Maq Posted January 23, 2009 Share Posted January 23, 2009 Also I have tried to download the APACHE server from the website but I do not know how to download it...can you please guide me through it There are plenty of tutorials online to guide you through, even on this forum. PHP and MySQL separately how do I go about linking them? You have to install PHP on your server to use PHP. You can connect to any database on any server (given the credentials) with PHP. If I were you I would just install WAMP, but if you want to install each component individually: -Get Apache working -install PHP -install MySQL That's what I would do maybe someone else has a better way. Good luck. Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/#findComment-744673 Share on other sites More sharing options...
sashi34u Posted January 23, 2009 Author Share Posted January 23, 2009 Hey Mac, Thank you so much.... Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/#findComment-744679 Share on other sites More sharing options...
Maq Posted January 23, 2009 Share Posted January 23, 2009 If you have more trouble you may have more success on this forum, as it relates to your question better. There are child boards (linux/windows) for mysql, apache and php installations. PHP Installation Quote Link to comment https://forums.phpfreaks.com/topic/142145-solved-wamp-server-problem-and-correct-way-to-install-php-and-mysql/#findComment-744694 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.