PHP set_include_path not working

tomdchi

Well-Known Member
Feb 24, 2008
142
4
68
Atlanta, GA
cPanel Access Level
DataCenter Provider
I recently changed my server to use DSO and mod_ruid2. I just noticed that set_include_path is not working. Is this because of DOS/mod_ruid2? If so, is there any way around it?

I also tried setting a path in the .htaccess file but that didn't work either.
Using PHP 5.4.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello :)

Could you open a support ticket using the link in my signature so we can take a closer look and attempt to reproduce the issue? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

RWH Tech

Well-Known Member
Oct 1, 2015
86
16
8
Brazil
cPanel Access Level
Root Administrator
I'm having the same issue, on 11.52. What was the resolution?

EDIT: found entries set in /usr/local/apache/conf/userdata/std/x/user/cp_php_magic_include_path.conf

Where are those php_admin_value settings coming from?

EDIT: Comes from PEAR Magic Loader. Magically breaking sites when enabled.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello :)

The resolution to the original poster was to disable "PHP Extensions and Applications Package Magic User Loader" via "WHM Home » Software » Module Installers » PHP Extensions and Applications Package", as you were able to determine.

Thank you.