Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:php:per-user-php-ini [2019/12/13 02:18] Lisa Clarke Copyediting |
litespeed_wiki:php:per-user-php-ini [2020/01/01 15:13] (current) George Wang [8. Use of ''disable_functions''] |
||
---|---|---|---|
Line 222: | Line 222: | ||
===== 8. Use of ''disable_functions'' ===== | ===== 8. Use of ''disable_functions'' ===== | ||
- | Please be aware, for security reasons, ''disable_functions'' is unique and cannot be used in .htaccess, or a user's local ''.user.ini/php.ini''. You should only apply ''disable_functions'' on global php.ini for LiteSpeed by modifying the value from ''/opt/cpanel/ea-phpxx/root/etc/php.ini'' on cPanel/WHM. It would be a security flaw if a user could modify it freely, hence it has been restricted by design in PHP itself, not by LiteSpeed. | + | Please be aware, for security and performance reasons, ''disable_functions'' is unique and can only be set in php.ini, cannot be used in .htaccess, nor be overridden via ''php_admin_value''. You can only apply ''disable_functions'' via global or per-user php.ini. It would be a security flaw if a user could modify it freely, hence it has been restricted by design in PHP itself, not by LiteSpeed. |