Viewing your current php configurations

Categories Web HostingScriptingPHP Tags php

PHP Runtime Configuration for Cloud

You can check what the current PHP runtime settings are. You will need to create a PHP file such as info.php and in the file enter the below code to do this:

<?php

phpinfo();

?>

To visit this file in your browser (ie: mydomain.com.au/info.php). Here, you’ll be able to see the PHP configurations you currently have on your web hosting.

PHP Runtime Configuration for cPanel

On our cPanel hosting servers, PHP runtime configuration changes can be made following these instructions:

  1. Log into cPanel
  2. Scroll down and click on 'Select PHP Version' link under the 'Software/Services' heading
  3. Then, in the top right hand corner click Show PHP Settings

Within the Show PHP Settings page you can change your PHP configurations, these include:

  • PHP memory limit
  • Max Upload File Size
  • Error Checking
  • Increasing the maximum post form size
  • Increasing the maximum file upload size
  • Turning on/off Magic Quotes

In the top left hand corner you also have the option to change the PHP version using the drop down menu. These are the versions available:

  • 5.2
  • 5.3
  • 5.4
  • 5.5
  • Native
Rate this article