View Issue Details

IDProjectCategoryView StatusLast Update
0007562CentOS-7phppublic2014-09-03 07:16
Reporterjb044 Assigned To 
PriorityhighSeveritytweakReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7.0
Product Version7.0-1406 
Summary0007562: php-fpm combined with apache 2.4 mod_proxy_fcgi doesnot correctly handle script arguments
DescriptionThere is a known bug with php-fpm not parsing certain arguments correctly with the default way of combining apache and php for the versions included with CentOS 7.

See:

https://bugs.php.net/bug.php?id=65641

At the moment this breaks lots of php software, for example the rather popular Owncloud.
Steps To Reproduce1 Create a script, say /var/www/html/info.php
2 Put this in it:
<?php
phpinfo();
?>
3 request the script like this:
http://localhost/info.php/some/argument?query=string
4 $_SERVER['SCRIPT_NAME'] will be "info.php/some/argument" instead of info.php
Additional InformationI rebuild latest php-fpm from your src.rpm with the last patch from above url and it seems to fix this issue just fine. Owncloud runs after this without any manually alterations. I do have some problems with the included gallary plugin, AP1070 invalid script headers, but this is afaikt unrelated.
TagsNo tags attached.
abrt_hash
URL

Activities

tigalch

tigalch

2014-09-03 07:16

manager   ~0020819

I would suggest to open a ticket at bugzilla.redhat.com -> RHEL -> 7. As soon as it gets fixed by RH, CentOS will inherit the fix. Please crosslink the report (via the External Bug Tracker field) with this bug.

Issue History

Date Modified Username Field Change
2014-09-03 07:13 jb044 New Issue
2014-09-03 07:16 tigalch Note Added: 0020819