|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7211 APXS CFlags not set
Submitted: 2000-10-14 17:32 UTC Modified: 2000-12-04 11:09 UTC
From: sailor at sailorfrag dot net Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.3 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sailor at sailorfrag dot net
New email:
PHP Version: OS:


 [2000-10-14 17:32 UTC] sailor at sailorfrag dot net
If apache was compiled with different CFLAGS than php (specifically in my case, perl had largefile support, so mod_perl compiled apache with it... and then php didn't realize that), then it could segfault upon attempting to fulfill a request

Though it may have been easier just to recompile perl without largefile support, I decided to get to the source of the problem instead.

Here is a short patch to the config script that should solve the problem (works for me)

diff -u php-4.0.3/sapi/apache/config.m4 php/sapi/apache/config.m4
--- php-4.0.3/sapi/apache/config.m4	Mon Sep 11 09:01:07 2000
+++ php/sapi/apache/config.m4	Sat Oct 14 17:02:24 2000
@@ -55,6 +55,9 @@


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-14 17:57 UTC] sailor at sailorfrag dot net
btw since it might not be obvious from the patch, $APXS_CFLAGS is set above in the script while it checks for apxs's existance
 [2000-12-04 11:09 UTC]
Fixed in CVS. Thanks for your report.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 18:01:28 2024 UTC