Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:php:per-user-php-ini [2019/12/12 17:05]
Jackson Zhang [7. Override External Application Environment Variables]
litespeed_wiki:php:per-user-php-ini [2019/12/12 18:46]
Jackson Zhang
Line 221: Line 221:
 ===== 8. ''​disable_functions''​ can only be used in global php.ini and can not be overriden by additional user's local .user.ini/​php.ini,​ nor .htaccess ===== ===== 8. ''​disable_functions''​ can only be used in global php.ini and can not be overriden by additional user's local .user.ini/​php.ini,​ nor .htaccess =====
  
-Please be aware that ''​disable_functions''​ is unique and can not be used in .htaccess, 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''​.+Please be aware, for security reason, ​''​disable_functions''​ is unique and can not be used in .htaccess, 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 can modify it freely, hence it has been restricted by design from PHP itself, not from LiteSpeed 
 + 
 ===== Notes ===== ===== Notes =====
   * **PHP suEXEC MUST BE ENABLED IN LSWS.**   * **PHP suEXEC MUST BE ENABLED IN LSWS.**
  • Admin
  • Last modified: 2020/01/01 15:13
  • by George Wang