|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45243 "configure" script fails with apxs2
Submitted: 2008-06-12 06:17 UTC Modified: 2020-11-29 04:22 UTC
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: talltony at breakthru dot com Assigned: cmb (profile)
Status: No Feedback Package: *Configuration Issues
PHP Version: 5.2.6 OS: AIX 5.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: talltony at breakthru dot com
New email:
PHP Version: OS:


 [2008-06-12 06:17 UTC] talltony at breakthru dot com
I'm trying to compile PHP 5.2.6 on AIX 5.3 with IBM HTTP Server (which is basically Apache/2.0.47).

When I run the supplied configure script as follows, I get the error below:
> ./configure --with-apxs2=/usr/ihs/bin/apxs
expr: syntax error
configure: error: You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)

Basically, there seems to be a error in line 6707 where the script tries this:
APACHE_VERSION=`expr $4 \* 1000000 + $5 \* 1000 + $6`
($4, $5 and $6 have no values.)

I have tried using autoconfig to generate a new configuration file and which seems to work. However, when I try ' buildconf --force' it fails so I'm not comfortable using my version of configure in case buldconf performs any other magic.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:22 UTC]
-Package: Feature/Change Request +Package: *Configuration Issues
 [2020-11-19 17:47 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-11-19 17:47 UTC]
Is that still an issue with any of the actively supported PHP

[1] <>
 [2020-11-29 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 13:03:49 2021 UTC