How do I change my PHP version?

The default PHP version on our servers is PHP 5.4 (native). To switch to a different PHP version, simply follow these steps: Log into cPanel of the account that you want to change the PHP version for. If you are using the “x3” theme, scroll to the “Software / Services” section. If you are using […]

Read More

How can I view server configuration information for PHP?

To view the server configuration information for your website using PHP, insert the following code into a file (i.e. phpinfo.php): <?php phpinfo(); ?> Then open the file in your browser. For example if you had uploaded it in your public_html directory and your domain is yourdomain.com then you should be browsing yourdomain.com/phpinfo.php. If you had […]

Read More

How do I raise the limit of my PHP maximum post size?

Include this line in an .htaccess file in the same directory as the script: php_value post_max_size 128M The above line will modify the post_max_size to 128MB for all scripts in the same directory as the .htaccess file. Replace the number 128 with an appropriate megabyte value that your script requires. The default post_max_size value on […]

Read More

How do I raise the limit of my PHP maximum upload file size?

Include this line in an .htaccess file in the same directory as the script: php_value upload_max_filesize 128M The above line will modify the upload_max_filesize to 128MB for all scripts in the same directory as the .htaccess file. Replace the number 128 with an appropriate megabyte value that your script requires. The default upload_max_filesize value on […]

Read More

How do I raise my PHP memory_limit?

Include this line in an .htaccess file in the same directory as the script: php_value memory_limit 512M The above line will modify the memory_limit to 512MB for all scripts in the same directory as the .htaccess file. Replace the number 512 with an appropriate megabyte value that your script requires. The default memory_limit value on […]

Read More