Post Info

Comments 4 Comments »
Tags Tags: ,

Technorati Tags

compiling, php

RSS Comments

Getting PHP installation to update

Thu, 2 Sep 2004 13:06 UTC

A while back I mentioned a problem I had with seeing the changes made to PHP after running a make and make install. I couldn’t see the new build date or the changes in phpinfo(), nor could I see the new build date with php -v. I was perplexed and frustrated.

Amazingly, after I rebooted my computer, the changes took effect. This was stupendously odd. I shouldn’t have had to reboot.

Yesterday and today I struggled with the same issue on two different machines. A reboot didn’t help, and advice given me in the comments of my previous post didn’t work, either. Finally, on a whim, I tried a make clean before running make; it worked!

I was stunned and shocked to find out that it was something so simple, but I was glad that my installation was now updated with my changes. :-)


4 Responses to “Getting PHP installation to update”

Just for the record, that is mentioned in the INSTALL file that comes with PHP. If you recompile to add or remove modules you need a make clean.

Comment by Luis
Fri, 3 Sep 2004 at 10:10 UTC | Permalink

INSTALL files are for nerds! ;-)

I’ve actually never looked at it. I guess it would do me well to check it out.

Comment by Ben Ramsey
Fri, 3 Sep 2004 at 10:23 UTC | Permalink

Yeh, make clean becomes part of the routine… I always do it when recompiling anything.

/me wonders when the last time he compiled something was…

Comment by Aaron Wormus
Mon, 6 Sep 2004 at 16:09 UTC | Permalink

I had the exact same issue and it’ll boiled down to not paying attention. Difference being I couldn’t start the httpd process in my case until I fixed it.

Comment by The Ranking Blog
Thu, 30 Sep 2004 at 10:54 UTC | Permalink