Datasheet

<?php
echo “If this works, we <i>really</i> did it!”;
?>
</BODY>
</HTML>
Save this file as phptest.php. Open your browser and type http://localhost/phptest.php and you
should see the screen shown in Figure 1-2.
Customizing Your Installation
The configuration file that holds the key to how PHP runs on your computer is named php.ini; it can
be found in the root directory where you extracted your installation files. In Windows, this file was
saved to
c:\windows so Apache could find it.
The
php.ini file includes a brief explanation of each of the configuration settings, which are beyond the
scope of this discussion. However, you are encouraged to read through the entire introduction of the
php.ini file before you begin making changes. In the table that follows, we touch on some of the more
commonly changed settings.
Figure 1-2
14
Chapter 1
04_579665 ch01.qxd 12/30/04 8:09 PM Page 14