GoDaddy Support

PHP

1 2 3

What filename does my PHP initialization file need to use?

PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging. You can look at the directives these files can control in PHP’s documentation.

The file name your PHP initialization must use depends on the type of hosting account you [...]

View or Change Your PHP Version

Posted: in PHP

Your PHP version displays in the Server section of the Hosting Control Center Dashboard.

Disabling APC on Your Hosting Account

If you want to disable Alternative PHP Cache (APC), you can do so by modifying your PHP initialization file file.

Using your hosting account’s editor (Web & Classic / cPanel / Plesk), open your website’s PHP initialization file.NOTE: We recommend backing up your PHP initialization file file before modifying it. You [...]

php.ini/user.ini: Not Taking Effect

A PHP initialization file is not always immediately recognized by shared hosting accounts’ servers. Here are tips for making sure it does take effect.

table {border-collapse: collapse; color: #333; margin: 1.2rem 0;}

tr:nth-child(odd) {background-color: #f7f7f7;}

tr:nth-child(1) {background-color:#ddd;}

th{ border-right: 1px solid #ddd; padding: 5px; text-align:left;}

td{border: 1px solid #b2b2b2;padding: 5px;vertical-align:top;}

td:nth-child(1) {font-weight:bold;}

Make sure you’re using the [...]

PHP Upload Limits on Shared Hosting

Your default PHP upload limit depends on the type of hosting account you have (more info):

table {border-collapse: collapse; color: #333; margin: 1.2rem 0;}

tr:nth-child(odd) {background-color: #f7f7f7;}

tr:nth-child(1) {background-color:#ddd;}

th{ border-right: 1px solid #ddd; padding: 5px; text-align:left;}

td{border: 1px solid #b2b2b2;padding: 5px;vertical-align:top;}

td:nth-child(1) {font-weight:bold;}

Type
Default upload limit
Max

cPanel
32 MB
No limit

Plesk
10MB
2GB

Web
32 MB
128 MB

Classic
32 MB
64 MB

Change your PHP upload limit
To [...]

Enable Custom PHP Modules

If you want to use custom PHP modules, you can manage them through a PHP initialization file (more info).

To enable a PHP module, add the following line:
extension = extension name.so
You’ll need to add a version of this line for each module you want to enable. For a list of some [...]

Installing PEAR on Linux Web Hosting

Posted: 11/5/15 in PHP

This article only applies to Web & Classic Hosting. For more information, see What type of hosting account do I have?

The file PEAR provides (go-pear.php) currently has a bug that prevents its default implementation from working. We have steps to correct it outlined in this article, but it requires manually [...]

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 What filename does my PHP initialization file need to [...]

PHP Compatibility and Hosting Quick-Install Applications

PHP is a popular and simple server scripting language that enables Web developers to embed dynamic content into Web pages. PHP 5 is enabled for all Linux hosting accounts. PHP 5 is enabled for Windows hosting accounts running IIS 7, only.

For information on migrating an existing hosting account, [...]

Finding Your Account's PHP Version Using Phpinfo

If you need to see exactly what PHP version you use, you can find out with a PHP info script.

1 2 3
NEED HELP? Call our award-winning support team 24/7 at (480) 505-8877
Submit

United States - English
Traffic Log Image