note 20235 deleted from faq.build by sniper
| From: | sniper@php.net | Date: | Tue, 27 Aug 2002 20:24:11 +0000 |
| Subject: | note 20235 deleted from faq.build by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35780@lists.php.net to get a copy of this message | ||
I have needed to referer to this page several times during my recent 4.1.2 compiles, and I noticed
one thing in point 13 that is missing. If you need to find out what ./configure script was used to
compile your present php version, simply echo out phpinfo(). I keep a phpinfo.php page on each of
my webservers for refrence.
<?php echo phpinfo(); ?>
An additional note for PHP shell scripters: I also have a phpinfo_shell.php that does the same for
my "shell version" of php (/usr/bin/php):
<?php echo
echo "<?php echo phpinfo(); ?>" | /usr/bin/php -q; ?>
it looks a bit funny, but it works great! =)