[Solved] php.ini changes not reflected

#1
Hello,

So I have Cloudlinux + cPanel + Litespeed and I have made changes in the /usr/local/lib/php.ini file enable_dl = off yet if I do a phpinfo page it still shows it as on!

Even tried adding an additional ini file.

/usr/local/lsws/fcgi-bin/lsphp5 -i | grep enable_dl
Additional .ini files parsed => /usr/local/lib/php.ini.d/enable_dl.ini
enable_dl => Off => Off

Any ideas?
 
#2
Hello,

Found it, seems it was cagefs that was causing it.

Changed the php.ini in

/usr/share/cagefs-skeleton/usr/selector/php.ini

It works.
 
Top