All Products 
Username / Customer#
Password
Log In
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Avatar Image

General PHP Information

1 2

What is the PHP upload limit on Linux hosting accounts?

Posted: 5-31-2013 in General PHP Information

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:

file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

The above settings change your PHP upload limit, allowing you to upload files up to 50MB in size.

The maximum upload value [...]

Can I add a PHP initialization file to my hosting account?

Posted: 5-9-2013 in General PHP Information

PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging.

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?

Posted: 9-18-2012 in General PHP Information

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

Posted: 9-12-2012 in General PHP Information

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?

Posted: 8-10-2012 in General PHP Information

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?

Posted: 6-29-2012 in General PHP Information

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?

Posted: 6-18-2012 in General PHP Information

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?

Posted: 6-18-2012 in General PHP Information

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?

Posted: 6-15-2012 in General PHP Information

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 [...]

1 2