Adding Rules to PHP.ini Through WHM

Yuval

Registered
Jun 24, 2016
1
0
1
Israel
cPanel Access Level
Root Administrator
Hello,

I've upgraded my hosting account from shared to VPS and now my PHP include statements are not working.
PHP info shows that allow_url_include = OFF.
I tried to login to my account on WHM and under PHP Configuration Editor couldn't find allow_url_include.
So I need a way to add a new rule to the PHP.ini file.
Can anyone help me?

Thank you :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Check to see if the entry exists in the global php.ini file:

Code:
grep allow_url_include /usr/local/lib/php.ini
If it doesn't, you can manually insert the entry into this file, and then restart Apache.

Thank you.