December 2007
Beginner to intermediate
310 pages
8h 8m
English
You want to verify that you have PHP correctly installed and configured.
Put the following in your test PHP file:
<?php phpinfo(); ?>
Place that text in a file called something.php in a directory where you believe you have enabled PHP script execution. Accessing that file should give you a list of all configured PHP system variables. The first screen of the output should look something like Figure 8-2.

Figure 8-2. Sample phpinfo( ) output
Read now
Unlock full access