|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9490 removing config.cache but still getting same install as before
Submitted: 2001-02-27 19:18 UTC Modified: 2001-03-01 17:12 UTC
From: giluxxx at hotmail dot com Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 4.0.4pl1 OS: linux redhat6.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.
Block user comment
Status: Assign to:
Bug Type:
From: giluxxx at hotmail dot com
New email:
PHP Version: OS:


 [2001-02-27 19:18 UTC] giluxxx at hotmail dot com
i compiled php with gd and all was well.
a few days later on i upgraded gd and restarted apache,
Starting httpd: Syntax error on line 250 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/ into server: /usr/lib/ undefined symbol: png_set_dither

make output: could not find libgd.(a|so) anywhere in /usr/lib (although its there for sure)

to get php up and running again without any loss of time i decided to do a recompile without gd.
so i recompiled php: 
rm config.cache
./configure --with-apxs
make install

but apache still gives the same error when starting although gd isnt even compiled into php this time!!

this made me think.
so i decided to to try a few different versions of gd and kept getting exactly the same apache error everytime although gd was working fine for webalizer..

delete the whole source dir.
untar src again and compile again.

now it works.

so removing the config.cache doesnt give you a clean install at all, it seems to repeat the first install exactly everytime, although the INSTALL file says that removing the config.cache file should get you a fresh install.

maybe this isnt a bug but a feature, but i dont seem to remember php did this in previous versions....?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-01 17:12 UTC]
Correct way to do reconfigures:

# rm config.cache
# ./configure (+ the options wanted)
# make clean ; make depend ; make ; make install

'make clean' might have been enough in your case.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 13:01:29 2024 UTC