Confirming PHP Changes
Use a phpinfo file to confirm the changes are complete. Navigate to the ‘Web Hosting’ section in your cPanel hosting. Select ‘Select PHP Version’ and then switch to PHP Options. Change your PHP Settings. Remember to create a phprc file to raise the memory limit above the default of 256M. Similarly, the default WordPress memory limit is 32MB, with some hosting providers increasing this to 64MB. Contact your Host to increase memory limit if needed.
Increasing PHP Upload Limits on GoDaddy
Method 1: PHP.ini File
First, locate the php.ini file and open it. Increase the values of ‘upload_max_filesize’ and ‘post_max_size’. Save your changes and restart the Apache web server.
Method 2: cPanel Admin
GoDaddy hosting users can log in to their account and select their hosting plan. Click on ‘cPanel Admin’, go to the root directory to change File upload limits, allowing files up to 512MB.
For Managed WordPress GoDaddy hosting, open “My Products”, select your site, choose "Settings" then "PHP Settings". Modify “upload_max_filesize” as needed.
For non-Managed hosting, change the .htaccess file. Your hosting provider sets upload limits from 2MB to 500MB. In some cases, these need to be increased for large uploads.
Changing PHP Settings on GoDaddy
Log in to your GoDaddy account and access “Site Settings” then “General Settings.” Under “Server Settings,” set the “PHP” option to “On.”
Under the “PHP Version” heading, select your desired PHP version and click “Save Changes.”
If you have a shared hosting account, and your PHP settings are overridden by your host, contact them to make necessary changes.