[php-maint] Bug#879739: libapache2-mod-php5: PHP mode Fast-CGI stopped working

System Manager tapio.lehtonen at satatuuli.fi
Wed Oct 25 08:34:56 UTC 2017


Package: libapache2-mod-php5
Version: 5.4.45-0+deb7u11
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

I suspect since upgrading on 15. October to new package Joomla 3.8.1 
started creating files with wrong permissions when installing 
Joomla components or plugins. Error message in error.log was

(13)Permission denied: file permissions deny server access:

The installed files were created with no permissions for group. 
This broke the installed component, it did not work. I could 
work around this bug by running

find . ! -perm /g+rx -exec chmod g+rx  {} \;

to fix the permissions. 

I made a php script to check, the script did create files following 
umask and script could alter file permissions. It took two days to find that 
changing php mode used for the website from Fast-CGI to PHP-FPM corrected
this problem. Fast-CGI has been used for ages and posed no problems
until now. 

-- System Information:
Debian Release: 7.11
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-php5 depends on:
ii  apache2-mpm-prefork  2.2.22-13+deb7u12
ii  apache2.2-common     2.2.22-13+deb7u12
ii  libbz2-1.0           1.0.6-4
ii  libc6                2.13-38+deb7u12
ii  libcomerr2           1.42.5-1.1+deb7u1
ii  libdb5.1             5.1.29-5+deb7u1
ii  libgssapi-krb5-2     1.10.1+dfsg-5+deb7u8
ii  libk5crypto3         1.10.1+dfsg-5+deb7u8
ii  libkrb5-3            1.10.1+dfsg-5+deb7u8
ii  libmagic1            5.11-2+deb7u9
ii  libonig2             5.9.1-1+deb7u1
ii  libpcre3             1:8.30-5
ii  libqdbm14            1.8.78-2
ii  libssl1.0.0          1.0.1t-1+deb7u2
ii  libstdc++6           4.7.2-5
ii  libxml2              2.8.0+dfsg1-7+wheezy9
ii  mime-support         3.52-1+deb7u1
ii  php5-common          5.4.45-0+deb7u11
ii  tzdata               2017b-0+deb7u1
ii  ucf                  3.0025+nmu3
ii  zlib1g               1:1.2.7.dfsg-13

Versions of packages libapache2-mod-php5 recommends:
ii  php5-cli  5.4.45-0+deb7u11

Versions of packages libapache2-mod-php5 suggests:
ii  php-pear  5.4.45-0+deb7u11

-- no debconf information



More information about the pkg-php-maint mailing list