How can I view my current PHP configuration and version info?
Open a text editor such as vi or Notepad, and copy and paste the following:
- <?php
//Shows all PHP Configuration settings
phpinfo();
//Shows PHP Module Information
phpinfo(INFO_MODULES);
?>
Save the file as phpinfo.php and upload the file to a browseable location inside your web directory. Then open your web browser and go to the page you just created. You should see your current PHP configuration.
Comments
0 comments
Article is closed for comments.