How Do I Change My PHP Settings on Godaddy? Changing PHP Settings on GoDaddy

Log in to your GoDaddy account. Click on the “Site Settings” link. Click on “General Settings.” Change the “PHP” setting to “On." Select the PHP version you want to use. Click "Save Changes." Go to your CPanel. Select PHP version. Click "Switch to PHP Options." Edit your configuration. Click save.

Creating and Uploading a Custom PHP.ini File

You can’t edit the php.ini file of GoDaddy server, but you can upload your own php.ini file with your new settings. Go to your CPanel. Select PHP version. Click "Switch to PHP Options." Edit your configuration. Click save.

To increase the PHP memory limit in GoDaddy: In the cPanel PHP Selector | Options page, increase the upload_max_filesize and post_max_size values. Click Apply. You need to create your own php5.ini file and upload it to your root directory if using GoDaddy. Be sure to name it php5.ini or php.ini. Upload it, restart your page, and check phpinfo() to see the new php.ini path.

Updating Your GoDaddy Account Profile

To update your GoDaddy account profile:

  1. Go to your GoDaddy My Profile page.
  2. Select Edit.
  3. Update your information.
  4. Select Save.

Your changes will be saved. You should update your PHP version if needed for compatibility.

Where to Find PHP in GoDaddy?

GoDaddy servers use a special PHP configuration file that can’t be edited directly. You’ll need to access your Godaddy hosting panel and restart the system processes to load a custom php5.ini or php.ini file.

Creating a Custom PHP.ini File

To create a custom PHP configuration file in GoDaddy:

  1. Login to your hosting cpanel and open the file manager.
  2. Go to the root directory outside your document root.
  3. Create a text file named php5.ini or php.ini with your desired PHP settings.
  4. Upload this file to your root directory.
  5. Restart system processes in your GoDaddy administration tool to load the new php.ini file.

Check phpinfo() to confirm your php.ini file path and settings are updated. If still pointing to the default GoDaddy php.ini path, double check you named the file correctly and uploaded it to the root directory.

Increasing PHP Memory Limit

To increase PHP memory limit in GoDaddy:

  1. Login to your hosting cpanel and open the PHP version options.
  2. Increase the upload_max_filesize, post_max_size, and memory_limit values.
  3. Click apply to save changes.

Updating Personal Information

To update your GoDaddy account profile:

  1. Go to your account dashboard and select My Profile.
  2. Edit your personal information and contact details.
  3. Select Save to update your profile.

You may need to switch your PHP version for compatibility. GoDaddy provides options to change versions in your hosting cpanel.

Leave a Comment