On our system we use a technology called mod_lsapi, based LiteSpeed Technologies API for PHP, to run PHP.
If your application is asking for certain PHP variable to be increased you may do this in one of two ways:
Via PHP Selector in cPanel:
Not only can the PHP Selector allow one to choose different PHP versions, when running one of those versions, one can change some of the more popular PHP variable values.
Via php_value and php_flag directives:
If you are using the native PHP version on the server, i.e. you haven't used PHP Selector, or if the variable you need isn't listed in PHP Selector then you can set variables using an .htaccess file.
php_value name value
Sets the value of the specified directive.
php_value upload_max_filesize 256M
php_flag name on|off
Used to set a boolean configuration directive
php_flag display_errors Off
Another typical way to set PHP variables is through a php.ini file. Due the technology involved, our system DOES NOT SUPPORT user made php.ini files.
Please sign in to leave a comment.