We can change PHP variables in cpanel by 3 steps and these all are easy:
1. Using PHP.ini file: In this you can change the limit of PHP directives from php.ini file. in this you can create file or if php.ini file already exist then you can add code.
Example you can add below line to increase execution time.
Code:
max_execution_time = 30
You can add below line to increase directive with .htaccess file.
Code:
php_value max_execution_time 300
- login to cpanel
- click on MultiPHP INI Editor
- Here you can change your directives.
Leave a comment: