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.
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.
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.
Is this the same for Wordpress managed hosting?
As I do not have an .ini file present.
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.
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:
mail.force_extra_parameters no value
open_basedir no value
Solved the issue following the solution provided by DBL1955
Didn't know about this features available within the "Select PHP version" section.
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.