Modifying Global PHP Limits of PHP Selector

If you wish to modify the global PHP limits for PHP selector run the following command to modify the required file:

nano /etc/cl.selector/global_php.ini

Now put the lines at the end of the file and save changes by pressing CTRL + X and Y to confirm.

max_execution_time = 180
max_input_time = 180
max_input_vars = 3000
memory_limit = 128M
post_max_size = 64M
upload_max_filesize = 64M

Finally, run the command: /usr/bin/selectorctl --apply-global-php-ini to confirm the changes.

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server. Check for...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

CloudLinux installed, but still showing CentOS

Some of our clients face the issue, that's why we're writing the tutorial to fix it. First of...