Bug #75314 [NEW]: apache2handler configure error, httpd.conf not found

From: Date: Thu, 05 Oct 2017 11:01:18 +0000
Subject: Bug #75314 [NEW]: apache2handler configure error, httpd.conf not found
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211525@lists.php.net to get a copy of this message
From: info-bugsphp at ch2o dot info Operating system: Linux PHP version: 7.0Git-2017-10-05 (Git) Package: Compile Failure Bug Type: Bug Bug description:apache2handler configure error, httpd.conf not found Description: ------------ when user configure script to configure apache2handler with apache 2.4 compiled mpm loadable... and the default httpd.conf are not existing... the configure script fail with this error: httpd: Could not open configuration file /product/apache/moteur/apache2-all-mpms-2.4.23/conf/httpd.conf: No such file or directory after reading the config.m4, is why you search if apache are compiled with an mpm multithread using the command httpd -V... is a bad thing... beceause in apache 2.4 you can choose mpm at runtime... you depend on httpd.conf... that load event, prefork, worker mpm... you cannot know in that way if mpm threaded are compiled... if the default httpd.conf compiled in httpd binary not load threaded mpm at configure time... you dont compile php in thread safe mode... i think the good way is to add configure directive to abel to overide this autoconfiguration. like --apache2-threaded=yes... or ndisable autoconfigure if configure script directive --enable-maintainer-zts is set... or the other way is to query EXTRA_CFLAGS to find "thread" flag but can be os dependent... or doing ldd on httpd binary to find thread library: # ldd /path/to/bin/httpd | grep thread or check presence in modules directory of mod_mpm_event.so or mod_mpm_worker.so, or other mpm thread module... but is dependant of the apache mpm module list... or to check if on of then modules are compiled with thread library (with ldd)... -- Edit bug report at https://bugs.php.net/bug.php?id=75314&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75314&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75314&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75314&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75314&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75314&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75314&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75314&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75314&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75314&r=support Expected behavior: https://bugs.php.net/fix.php?id=75314&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75314&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75314&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75314&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75314&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75314&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75314&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75314&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75314&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75314&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75314&r=mysqlcfg

« previous php.bugs (#211525) next »