php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14675 ./configure line not properly reflected in phpinfo()
Submitted: 2001-12-23 15:38 UTC Modified: 2001-12-24 05:34 UTC
From: junk-php at aontic dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.0 OS: 2.4.7-10smp #1 SMP / RH 7.2
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: junk-php at aontic dot com
New email:
PHP Version: OS:

 

 [2001-12-23 15:38 UTC] junk-php at aontic dot com
When compiling PHP statically with Apache I've observed the following strange and very frustrating behavior. 

in /php
./configure OptionA

in /apache
./configure --activate...
make

then phpinfo() reports the proper ./configure line it was compiled with.

Then do something like
in /php
./configure --without-mysql

in /apache
make (using earlier ./configure)

now phpinfo() reports the old configuration line, but Mysql for example is now not present. 

removing config.cache between compiles in /php doesn't fix things, but a make clean does. Doesn't appear to depend on the /apache build process since make clean on the apache side changes nothing, not does a new /apache ./configure. 

The functionality changes properly in every case. A /php ./configure WITH mysql generates the mysql section in phpinfo(), but the phpinfo() configuration line might remain --without-mysql, even though the mysql extension is listed in the very same phpinfo.

Now I'd call this so much nitpicking if I wasn't going to building php a couple of hundred times. I'd obviously like to avoid doing a make clean between each slightly changed build.

Since the underlying functionality seems to change properly I'm assuming I either missed some obvious instruction, or that there is simple bug or documentation update that should happen to fix things up. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-24 05:34 UTC] sander@php.net
Run "make clean"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC