GoDaddy Support


Enabling PHP Modules on Your Shared Hosting Account

Posted: in PHP

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
You’ll need to add a version of this line for each module you want to enable. For a list of some [...]

What filename does my PHP initialization file need to use?

Posted: 9/7/14 in PHP

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

The file name your PHP initialization must use depends on the type of hosting account you have (more info).


Too many files in one folder? Try a dirtree.

Posted: in PHP

Too many files in a single folder/directory – 1,000 or more – causes severe performance problems on most file systems. If the files are already linked to in your HTML, simply moving them can be a hassle. Here’s a solution that moves your files and uses mod_rewrite to let you [...]

Why isn't my PHP initialization file taking effect?

Posted: in PHP

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

Things to Check

Make sure you’re using the correct filename (more info).

Understand your PHP initialization file’s refresh rate:


Setting up Custom-Defined PHP Error Logs in cPanel

Posted: 8/5/14 in cPanel

cPanel offers built-in error logging, but it doesn’t catch errors generated from PHP and doesn’t keep error logs for extended periods of time. To remedy this, you can have PHP store errors it encounters in your own error log file.

To Set up Custom-Defined Error Logs in cPanel

Create a file called [...]

Finding Your Account's PHP Version Using Phpinfo

Posted: 1/4/14 in General

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

Disabling APC on Your Hosting Account

Posted: in PHP

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

To Disable APC

Using your hosting account’s editor, open your website’s PHP initialization file. For more information, see What filename does my PHP initialization file need to use?
On [...]

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

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

About GoDaddy


United States - English
Traffic Log Image