I have the following in my yum.conf, besides the defaults
Code: Select all
[atomic]
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
I then installed Pear with YUM.
A problem came up related to PHP & Pear.
include_path .:/usr/share/pear
open_basedir /home/httpd/vhosts/mysite.com/httpdocs:/tmp
Now, as I understand it files can only be included under the httpdocs path and the tmp path which sounds good to me security wise. I started getting errors on my PHP pages about open_basedir.
After looking around I suspected that it was looking for PEAR includes in the include_path but that is outside the realm of access based on the open_basedir path.
I added /usr/share/pear to this file:
/home/httpd/vhosts/myside.com/httpd.include under two lines that reference open_basedir under sapi_apache2.c and mod_php5.c and that specific site seems to be back up and running.
The issues with this is is states not to make changes to that file as it can cause problems. Where can I made changes so they are perminent and affect all sites?