How PHPinfo Can Save Your Time
Yesterday I had to recompile PHP on one of our servers, the only thing that I don't like is the fact that it was a Solaris box. The server is used for intranet web applications, that's why it still using PHP4, and seriously compiling extensions separately on Solaris is really annoying especially that phpize was buggy : "/usr/local/bin/phpize: aclocal: not found", that's one of the reasons that I make me bundle just the necessary extensions with PHP.

Something great in PHP, that I didn't notice its importance before is that the configure command is shown with the PHPinfo(); ! Since the last build was two years old, I can't remember which configuration I used, in the same time I don't want to broke the applications currently running. I simply grabbed the configure command from phpinfo(); change it and then recompiled PHP with the new extensions. Happily, everything worked fine, almost without interruption.


