« Zend Framework Preview 0.2.0 Released | Main | XCache 1.1.0 Released »

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.

php436.png

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.

Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):