Getting PHP installation to update
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 Comments
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.
INSTALL files are for nerds! ;-)
I've actually never looked at it. I guess it would do me well to check it out.
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...
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.