php.ini for website. — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

php.ini for website.

edited August 2018 in Web Server
Hi, it is necessary to set php.ini options by website, try to assign it in the vhost or rewrite rules no works,

Example:


vhost.conf:

phpIniOverride {
php_value display_errors "Off"
php_value upload_max_filesize "200M"
php_value post_max_size "250M"
php_value max_input_vars 5000
}

htaccess:

< IfModule litespeed>
php_value max_input_vars 5000
</ IfModule>

Comments

  • Yes you can use phpinioverride feature, but you are using it inside .filemanager context, there will be one more phpinioverride outside filemanager context

    phpIniOverride {
    }

    Put your customizations there.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

This Site is currently in maintenance mode.
Please check back here later.

→ Site Settings