Viewing your current PHP configurations

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
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO\_ALL);
?>

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

🚧

It is not recommended that you create an php.ini file or user.ini to alter your php settings if you plan to change the PHP settings in cPanel. This may conflict with what is set in cPanel and what your website may show. Please check with your web developer if you need to use a user.ini or php.ini for your site.