|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2013-08-28 16:25 UTC] childers dot paula at epa dot gov
  [2021-08-09 14:14 UTC] cmb@php.net
 
-Status:      Open
+Status:      Feedback
-Assigned To:
+Assigned To: cmb
  [2021-08-09 14:14 UTC] cmb@php.net
  [2021-08-22 04:22 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 14:00:01 2025 UTC | 
Description: ------------ The INSTALL_IT target hardcodes apxs2 directories making it very difficult to install multiple versions of php or relocate php. This also causes unexpected over writing of system php files, causing Apache to segfault. Fixes are a bit complex because they involve configure + Makefile. Suggest the end result produce a Makefile which honors these setting in all cases. So Makefile should include... sysconfdir=argument_passed_to_configure || /usr/lib/apache2/modules libexecdir=${exec_prefix}/argument_passed_to_configure || /etc/apache2 INSTALL_IT target then changes to... INSTALL_IT = $(mkinstalldirs) '$(INSTALL_ROOT)/$libexecdir' && \ $(mkinstalldirs) '$(INSTALL_ROOT)/$sysconfdir' && \ /usr/bin/apxs2 -S LIBEXECDIR='$(INSTALL_ROOT)/$libexecdir' \ -S SYSCONFDIR='$(INSTALL_ROOT)/$sysconfdir' \ -i -a -n php5 libphp5.la