How to test if PHP connects to MySQL database?
There are numerous times when I have to setup Apache and PHP on a freshly installed Linux server. Considering that not only that Apache service should work, I also have to make sure that PHP and MySQL are working properly together.
Forgetful that I am, I always tend to forget what components should I have to make PHP and MySQL talk to each other. You need something like a ’special glue’ to connect the two together and I will discuss here how to make PHP and MySQL work together for both RPM and source installation.
Read the rest of this entry »
Popularity: 14% [?]
No Comments
Filed under:
Linux


