php script problems since update

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
User avatar
webfeatus
Forum Regular
Forum Regular
Posts: 196
Joined: Wed Jan 13, 2010 9:11 am
Location: Bali

php script problems since update

Unread post by webfeatus »

Dec 14 07:12:00 Updated: php-mysql-5.2.15-1.el5.art.i386
Dec 14 07:12:00 Updated: php-devel-5.2.15-1.el5.art.i386
Dec 14 07:11:57 Updated: php-xml-5.2.15-1.el5.art.i386
Dec 14 07:11:57 Updated: mod_security-2.5.13-2.el5.art.i386
Dec 14 07:11:56 Updated: php-mbstring-5.2.15-1.el5.art.i386
Dec 14 07:11:56 Updated: php-imap-5.2.15-1.el5.art.i386
Dec 14 07:11:56 Updated: php-gd-5.2.15-1.el5.art.i386
Dec 14 07:11:55 Updated: apr-util-1.2.7-11.el5_5.2.i386
Dec 14 07:11:52 Updated: php-5.2.15-1.el5.art.i386
Dec 14 07:11:51 Updated: php-cli-5.2.15-1.el5.art.i386
Dec 14 07:11:51 Updated: php-pdo-5.2.15-1.el5.art.i386
Dec 14 07:11:50 Updated: php-common-5.2.15-1.el5.art.i386

Now Horde displays errors:

Code: Select all

Warning: Unknown: open_basedir restriction in effect. File(/usr/share/psa-horde/index.php) is not within the allowed path(s): (/usr/share/psa-horde:/etc/psa-webmail/horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/usr/share/psa-horde/index.php' (include_path='/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:.') in Unknown on line 0
In fact all hosted domains are experiencing this open base directory or safe mode issue:

Code: Select all

Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/easytees.com.au/httpdocs/index.php) is not within the allowed path(s): (/var/www/vhosts/easytees.com.au/httpdocs:/tmp) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/easytees.com.au/httpdocs/index.php) is not within the allowed path(s): (/var/www/vhosts/easytees.com.au/httpdocs:/tmp) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/var/www/vhosts/easytees.com.au/httpdocs/index.php' (include_path='.:') in Unknown on line 0
Any assistance appreciated.
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.
nachtmarkt
New Forum User
New Forum User
Posts: 4
Joined: Tue Dec 14, 2010 6:20 am
Location: Middelburg, Netherlands

Re: php script problems since update

Unread post by nachtmarkt »

User avatar
webfeatus
Forum Regular
Forum Regular
Posts: 196
Joined: Wed Jan 13, 2010 9:11 am
Location: Bali

Re: php script problems since update

Unread post by webfeatus »

These updates seemed to create the open_basedir restriction problem:
Dec 14 07:12:00 Updated: php-mysql-5.2.15-1.el5.art.i386
Dec 14 07:12:00 Updated: php-devel-5.2.15-1.el5.art.i386
Dec 14 07:11:57 Updated: php-xml-5.2.15-1.el5.art.i386
Dec 14 07:11:56 Updated: php-mbstring-5.2.15-1.el5.art.i386
Dec 14 07:11:56 Updated: php-imap-5.2.15-1.el5.art.i386
Dec 14 07:11:56 Updated: php-gd-5.2.15-1.el5.art.i386
Dec 14 07:11:52 Updated: php-5.2.15-1.el5.art.i386
Dec 14 07:11:51 Updated: php-cli-5.2.15-1.el5.art.i386
Dec 14 07:11:51 Updated: php-pdo-5.2.15-1.el5.art.i386
Dec 14 07:11:50 Updated: php-common-5.2.15-1.el5.art.i386

I updated again:
Dec 14 11:24:12 Updated: php-devel-5.2.15-2.el5.art.i386
Dec 14 11:24:10 Updated: php-mysql-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-imap-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-mbstring-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-gd-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-xml-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-5.2.15-2.el5.art.i386
Dec 14 11:24:09 Updated: php-cli-5.2.15-2.el5.art.i386
Dec 14 11:24:08 Updated: php-pdo-5.2.15-2.el5.art.i386
Dec 14 11:24:08 Updated: php-common-5.2.15-2.el5.art.i386

Second set seemed to fix the problem.

After reading: http://atomicorp.com/forums/viewtopic.php?p=26790
I checked...

# cat 'zend.ini' | less
zend_extension=/usr/lib/php/zend/ZendOptimizer-5.2.so
# cat 'ioncube.ini' | less
zend_extension=/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so

I can only assume that the second update has taken care of this.
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: php script problems since update

Unread post by scott »

I couldn't reproduce it myself, and as you might have noticed the zend & ioncube packages didn't change. Its not clear that there was ever really a problem there.
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: php script problems since update

Unread post by DerFalk »

All fine.. no problems with this on my CentOs5 i386

:D
Thanx to all :)

DerFalk
nachtmarkt
New Forum User
New Forum User
Posts: 4
Joined: Tue Dec 14, 2010 6:20 am
Location: Middelburg, Netherlands

Re: php script problems since update

Unread post by nachtmarkt »

I have this error into my system of CentOS. It should be not affect all the systems as i see.
Maybe the solution could be to check it by yourself after a upgrade of PHP.
Post Reply