Customizing php values

Expertise level: Easy

You can easily display and customize php values for a Managed Cloud server. 

Display default php values

Before customizing the php values, you can display the default values by first creating a phpinfo page in your website directory:

  1. Create a phpinfo.php file containing the following code: <?php phpinfo(); ?>
  2. Upload it to your server in the /var/www/vhosts/ directory
  3. Browse to visualize the current php values

Customize php values

      1. Create a file named '.htaccess' in your website directory (/var/www/vhosts/

# Format

php_value value_name setting_value

# Example

php_value memory_limit 256M


Article is closed for comments.
Powered by Zendesk