New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major problems with latest php package update, php files being served as plain text #266
Comments
|
Got it. It's of course not possible to enable the php5.6 and php7.0 modules at the same time. Therefore, only one will ever be enabled. Now, 2 files have been added to apaches
One of these By default the SetHandler directive does not work (in my system atleast), resulting in the raw source being served. A major security issue. Seriously, when a user installs php-fpm, they will always use a SetHandler directive or ProxyPassMatch or similar in their site config. Doing this in a global config and enabling it by default(!!). (I may also disabled mod_php5 & mod_php7 - it still shouldn't be expected that a rogue package sets a SetHandler directive itself to serve from the www.conf-pool - this may be a big security issue in itself. I have been a linux sysadmin for a long time and lived through a lot of bugs, never have I seen something so horrendous. Thoroughly disappointed. |
|
Right, it shouldn't be enabled by default. |
|
Hi @oerdnj, |
|
This exact issue was caused by the need for FPM autopkgtests. Neal has added autopkgtest for fpm. Anyway the testing surely needs more improvements, so feel free to add any other autopkgtests and send a |
|
@oerdnj |
|
I think the repo is at: http://anonscm.debian.org/cgit/pkg-php/php.git I proposed a solution at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820282#25. I need to write a patch. |
|
My proposed patch is at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820282#35 |
Hi,
after updating
libapache2-mod-php5.6:amd64from5.6.18+dfsg-4+deb.sury.org~trusty+1to5.6.18+dfsg-8+deb.sury.org~trusty+2, apache2 is serving php files as plain text and not interpreting them as php. With the previous version this worked flawlessly.Only php5.6 is enabled:
Nothing can be found in apaches errorlog, even with
LogLevel debug.I did purge all php packages and libapache2-mod-php* and reinstall them, same issue.
Any ideas what's the culprit on this?
The text was updated successfully, but these errors were encountered: