Dear Godaddy,
I use PHP 5.4 and I want to set PHP Time Limit "max_execution_time = 300" and PHP Max Input Vars "max_input_vars = 3000" and WP Memory Limit to 64M. How to do that? Thanks
Solved! Go to Solution.
I chatted with GoDaddy Support and got the following solution when using cPanel:
1 - Connect to and login to cPanel.
2 - Choose "Select PHP Versions" from the "Software" section.
3 - Click on "Switch to PHP Options" on the right side of the page.
4 - Select each number for desired PHP parameters that you want
to change then choose the largest size in the drop down menu.
5 - Apply each change.
6 - Save the changes.
The following parameters are available:
allow_url_fopen On
display_errors Off
error_reporting E_ALL
file_uploads On
include_path .:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php
log_errors On
mail.force_extra_parameters no value
max_execution_time 120
max_input_time -1
memory_limit 128M
open_basedir no value
post_max_size 32M
session.save_path /tmp
short_open_tag On
upload_max_filesize 32M
Hi, I saw this thread and want to add this for those looking -
You don't need the ; symbol - it is designed for comments. I added all the commands, one on each line pressing enter each time. It worked first time on Godaddy Managed Wordpress product by uploading .user.ini to the html folder.
Hey @engchimmeng
Welcome to the community!
This is usually done through modifying a custom .ini file. The most common file name used in our cPanel shared hosting plans would be '.user.ini' which you'll need to create with your modified PHP settings and upload into the root directory of your hosting plan to take effect.
Best Support. Problem solved. Thanks
have EXACTLY same problem with that link. Unfortunately, it does not solve my problem.
I put user.ini at root of the folder, with:
max_input_vars = 10000;
max_execution_time = 36000;
memory_limit = 64M;
What I really need is the max_input_vars.
Thanks for kind reply.
Ok this was solved by CG!
Thank you CG!
Is this the same for Wordpress managed hosting?
As I do not have an .ini file present.
Hi, I saw this thread and want to add this for those looking -
You don't need the ; symbol - it is designed for comments. I added all the commands, one on each line pressing enter each time. It worked first time on Godaddy Managed Wordpress product by uploading .user.ini to the html folder.
Worked
This solution is not working for us...
any one can help for modify the php limits.
i try all and still the max file and post not changing.
am using word press theme and not working.
Hello,
I have a problem with translation, I have maximum allowed 1000, but I need atleast 1500.
I already tried to add php.ini with this code: max_input_vars = 5000
Also I tried to add .user.ini with the same code but it is not working. The last thing I tried was to follow this video: https://www.youtube.com/watch?v=tdUlIkZcOe0
None of these tips helped me. I have Prestashop and Cpanel.
Thanks in advance for help
I chatted with GoDaddy Support and got the following solution when using cPanel:
1 - Connect to and login to cPanel.
2 - Choose "Select PHP Versions" from the "Software" section.
3 - Click on "Switch to PHP Options" on the right side of the page.
4 - Select each number for desired PHP parameters that you want
to change then choose the largest size in the drop down menu.
5 - Apply each change.
6 - Save the changes.
The following parameters are available:
allow_url_fopen On
display_errors Off
error_reporting E_ALL
file_uploads On
include_path .:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php
log_errors On
mail.force_extra_parameters no value
max_execution_time 120
max_input_time -1
memory_limit 128M
open_basedir no value
post_max_size 32M
session.save_path /tmp
short_open_tag On
upload_max_filesize 32M
Solved the issue following the solution provided by DBL1955
Didn't know about this features available within the "Select PHP version" section.
Regards!