FS#39260 - PHP breaks with apache 2.4

Attached to Project: Arch Linux
Opened by GI Jack (GI_Jack) - Monday, 10 March 2014, 02:02 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 10 March 2014, 02:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
apache 2.4 breaks with the default build PHP5. PHP is by default not compiled to be thread safe, and apache refuses to run, if the default configuration of PHP. In 2.2, the MPM threaded worker was an optional module for apache, and in 2.4 its now default, and part of apache's core.

Additional info:
* package version(s)
php 5.5.10-1
apache 2.4.7-1
* config and/or log files etc.
https://docs.newrelic.com/docs/php/php-and-the-apache-worker-mpm

Steps to reproduce:
install LAMP stack as described here:
https://wiki.archlinux.org/index.php/LAMP

watch as apache fails to start.

The Fix:

replace PHP with PHP_zts, which has the FPM patch, which allows PHP to work with apache, in default configuration, once more. Tested and confirmed to work as a drop in replacement for the standard PHP package.
https://aur.archlinux.org/packages/php_zts/
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 10 March 2014, 02:18 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#39228   FS#39214   FS#39107   FS#39218 
Comment by Doug Newgard (Scimmia) - Monday, 10 March 2014, 02:12 GMT
Please search all issues before posting a new one.

Loading...