There is a simple test for both PHP and MySQL. Open a text editor and type in the following:
and save it as phpinfo.php
and run in the browser...display the all information about php version, mysql version and other apache setting.
mainly the display file is information about php.ini file....