ascalotoru

Member
Nov 16, 2016
8
2
3
Bilbao
cPanel Access Level
DataCenter Provider
Hello,

I have SuPHP activated and it works fine but I have a problem. If I place in the .htaccess file
"suPHP_ConfigPath" I lost all php extensions loaded by default.
Is there any way to load some php extensions by default without placing it in the user's home php.ini?

Regards
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Howdy,

If you set suPHP_ConfigPath in the htaccess file, you will need to provide a *full* php.ini, including all modules you need loaded. If you don't set that directive in the htaccess, the modules will be loaded, but your directives will be picked up from php.ini / .user.ini.

I hope this helps!