[BlueOnyx:10218] Re: 5106R/5107R/5108R YUM updates - Fixed, sorry!
Yvan Roger
yvan at oceanet.com
Fri Apr 20 04:56:35 -05 2012
RE: [BlueOnyx:10206] Re: 5106R/5107R/5108R YUM updates - Fixed, sorry!
-----Message d'origine-----
De : blueonyx-bounces at mail.blueonyx.it [
mailto:blueonyx-bounces at mail.blueonyx.it<blueonyx-bounces at mail.blueonyx.it>]
De la part de Christoph Schneeberger
Envoyé : vendredi 20 avril 2012 10:13
À : BlueOnyx General Mailing List
Objet : [BlueOnyx:10206] Re: 5106R/5107R/5108R YUM updates - Fixed,
sorry!
Hi Michael,
Thanks for your quick reaction.
I confirm this fixes the problems on sites (I have currently tested 4
different hosts). I haven't tested in-depth but previously dead sites are
reappearing now and the errors in error_log went away.
However it seems, it doesn't fix the squirrelmail problems, I still get
PHP Warning: Unknown: open_basedir restriction in effect.
File(/usr/sausalito/configs/php/set_php_headers.php) is not within the
allowed path(s):
(/home/:/tmp/:/var/lib/php/session/:/usr/share/squirrelmail/:/etc/squirrelmail/:/var/spool/squirrelmail/:/var/lib/squirrelmail/prefs/)
in Unknown on line 0
PHP Warning: Unknown: failed to open stream: Operation not permitted in
Unknown on line 0 PHP Warning: Unknown: Failed opening
'/usr/sausalito/configs/php/set_php_headers.php' for inclusion
(include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
This happens on all boxes, independent if with stock PHP or with
Solarspeed upgrade. It can be fixed by adding /usr/sausalito/configs/php/
to the line with php_admin_value open_basedir in
/etc/httpd/conf.d/squirrelmail.conf
Cheers,
Christoph
Michael Stauber wrote:
> Hi all,
>
> Just a quick message now and more details later:
>
> yum clean all ; yum update -y
>
> That will fix the problems. I just pushed out updated base-vsite RPMs
> that will solve the problems.
>
> Aplogies for this screw up. More details in a few minutes.
>
>
Hi,
Just Modify file /etc/httpd/conf.d/squierrelmail.conf
Older :
#
# SquirrelMail is a webmail package written in PHP.
#
Alias /webmail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail/>
php_admin_value safe_mode off
php_admin_value open_basedir
/home/:/tmp/:/var/lib/php/session/:/usr/share/squirrelmail/:/etc/squirrelmail/:/var/spool/squirrelmail/:/var/lib/squirrelmail/prefs/
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/lib/squirrelmail/prefs/>
php_admin_value safe_mode off
php_admin_value open_basedir
/home/:/tmp/:/var/lib/php/session/:/usr/share/squirrelmail/:/etc/squirrelmail/:/var/spool/squirrelmail/:/var/lib/squirrelmail/prefs/
Options FollowSymLinks
AllowOverride All
</Directory>
New :
#
# SquirrelMail is a webmail package written in PHP.
#
Alias /webmail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail/>
php_admin_value safe_mode off
php_admin_value open_basedir
/home/:/tmp/:/var/lib/php/session/:/usr/share/squirrelmail/:/etc/squirrelmail/:/var/spool/squirrelmail/:/var/lib/squirrelmail/prefs/
***** :/usr/sausalito/configs/php/*
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/lib/squirrelmail/prefs/>
php_admin_value safe_mode off
php_admin_value open_basedir
/home/:/tmp/:/var/lib/php/session/:/usr/share/squirrelmail/:/etc/squirrelmail/:/var/spool/squirrelmail/:/var/lib/squirrelmail/prefs/
***** :/usr/sausalito/configs/php/*
Options FollowSymLinks
AllowOverride All
</Directory>
It's enable access to folder /usr/sausalito/configs/php/ for squirrelmail
best regards,
Yvan ROGER
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120420/4c55d219/attachment.html>
More information about the Blueonyx
mailing list