Today I have fired up pacman and did the full upgrade as usual. Afterwards I was met with a nasty surprise:
[Wed Jul 23 15:19:05.829403 2014] [proxy_fcgi:error] [pid 6448:tid 3026172736] [client 83.71.40.25:60520] AH01071: Got error ‘PHP message: PHP Warning: Unknown: open_basedir restriction in effect. File(/var/www/html/RSS_Feed_Reader/backend.php) is not within the allowed path(s): (:/etc/webapps/roundcubemail:/usr/share/webapps/roundcubemail:/var/log/roundcubemail:/var/cache/roundcubemail) in Unknown on line 0nPHP message: PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0nUnable to open primary script: /var/www/html/RSS_Feed_Reader/backend.php (Permission denied)n’, referer: https://andrzejl.eu:30303/RSS_Feed_Reader/
After a longer investigation I have found the culprit… Newer package installs file /etc/php/conf.d/roundcubemail.ini
[root@icsserver andrzejl]# cat /etc/php/conf.d/roundcubemail.ini
open_basedir = :/etc/webapps/roundcubemail:/usr/share/webapps/roundcubemail:/var/log/roundcubemail:/var/cache/roundcubemail
[root@icsserver andrzejl]#
which does not exists in the previous version…
[root@icsserver andrzejl]# cat /etc/php/conf.d/roundcubemail.ini
cat: /etc/php/conf.d/roundcubemail.ini: No such file or directory
[root@icsserver andrzejl]#
So basically what I had to do to get it going was:
su -c "rm /etc/php/conf.d/roundcubemail.ini && systemctl restart httpd && systemctl restart php-fpm"
After that everything worked as expected.
Cheers.
Andrzej