General PHP Information
Can I add a PHP initialization file to my hosting account?
PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging.
What is the PHP upload limit on Linux Shared Hosting accounts?
By default, PHP limits scripts uploading files to 32 MB. To change the limitation, edit or add the following values in your php5.ini file:
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
The above settings changes your PHP upload limit, allowing you to upload files up to 10MB in size.
The maximum [...]
Viewing or Changing Your PHP Language Version
Your PHP version displays in the Server section of the Hosting Control Center Dashboard.
What do I do when I receive a PHP header error message?
Error Message(s):
Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/content/u/s/e/username/html/file.php:2) in /home/content/u/s/e/username/html/file.php on line 3
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/content/u/s/e/username/html/file.php:2) in /home/content/u/s/e/username/html/file.php on line 3
Warning: Cannot modify header information – headers already sent by (output [...]
Updating to PHP 5.3
Starting August 1, 2012 we are removing older versions of PHP from our servers and replacing them with the newer version of PHP 5.3.
Do you disable any PHP functions on your Linux hosting accounts?
The PHP 5 function register_globals is turned off by default.
To change the status of a function, you can use custom initialization (php5.ini) files. For more information, see Can I add a PHP initialization file to my hosting [...]
Can I use extensionless PHP files?
For security reasons, we run PHP as a CGI and not as a module. Because of this and the version of Apache we run (1.3.3), you cannot use extensionless PHP files on your website without employing a tool like mod_rewrite.
For more information, see What is [...]
Do you support fsockopen?
Yes, we do. You can use fsockopen on all of our PHP-enabled hosting plans for TCP ports 80 and 443.
How often do you empty the /tmp folder on your Linux hosting servers?
All “temp” files created in the /tmp directory on our Linux servers will be deleted if they have not been accessed for 168 hours (7 days).
Why did I receive a timezone error with my PHP website?
If you use a custom php.ini file with your Linux hosting account running PHP 5.3.x without setting the date.timezone or use the date_default_timezone_set() function, you might receive the following warning:
Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone [...]
0 min expected wait time