Create a phpinfo.php to view your PHP settings

Back

Using a text editor create a file called phpinfo.php and add the following lines:

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

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

?>

 

Save and upload the file to your public_html directory and then in your browser view the file eg. http:/yourdomainname/php.info.php

Was this article helpful?
Dislike0 Like0

Views: 4575