note 20235 added to faq.build
| From: | bassmasters at largemouthbass dot com | Date: | Wed, 27 Mar 2002 09:04:33 +0000 |
| Subject: | note 20235 added to faq.build | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28265@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! =)
--
http://www.php.net/manual/en/faq.build.php
http://master.php.net/manage/user-notes.php?action=edit+20235
http://master.php.net/manage/user-notes.php?action=delete+20235
http://master.php.net/manage/user-notes.php?action=reject+20235