Additional php.ini Not Working with LiteSpeed in CageFS Mode

nemezis

New member
Joined
Sep 18, 2024
Messages
1
I'm using CloudLinux 8 with DirectAdmin and LiteSpeed. I've defined the following environment variable in LiteSpeed's PHP environment:

PHP_INI_SCAN_DIR=/usr/local/chosting/data/users/$VH_USER/php/

The issue I'm encountering is that when CageFS is enabled for the user, the php.ini file is not recognized. However, when I disable CageFS, LiteSpeed successfully recognizes and reads the php.ini file without any issues.

Could someone help me resolve this problem? Any guidance would be greatly appreciated!
 

Attachments

  • cagefs_php.ini.png
    cagefs_php.ini.png
    24 KB · Views: 1
Back
Top