Where do I get PHP/MySQL Information and Configuration

For those who are programming and needs some information on their PHP and MY SQL versions and information, you can open a text editor, key in

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?> 

Save as say yourinfo.php and upload it to your WWW or public_html folder, you can then access http://yourowndomain.xxx/yourinfo.php to get a list of the configuration and information.

Once done, it is advisable to delete this file, more to err on the security side.


Was this article helpful?

mood_bad Dislike 3
mood Like 2
visibility Views: 21727