October 2005
Intermediate to advanced
372 pages
11h 35m
English
To test your configuration, create the file info.php in your HTML directory. Enter this text in there, and save it:
<?php
phpinfo()
;
?>That calls the phpinfo() function, which outputs basic configuration information about your PHP installation. To access this script, go to http://localhost/info.php in your web browser. All being well, you should see a lot of information printed out about your PHP configuration. This is actually a handy script to keep around for debugging purposes, as it tells you exactly what extensions you have installed and what their configuration options are. Of course, it also tells any hackers about your system configuration
, so don't advertise its existence!