Knowledgebase: Programming Questions
How to get PHP/MySQL Information and Configuration
Posted by Tan Fang Wai (Import) on 04 November 2007 08:15 AM
|
|
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. | |
|
Comments (0)