"Mission Analysis and Requirements"
This task is one of the key links to implement the Lamp Web architecture, which we use to resolve script support for dynamic Web sites, using PHP
Requirements to master the installation and configuration of the PHP parser method
A preliminary grasp of PHP language and PHP scripting code reading ability
"Hardware and Software Environment"
using virtual machines to integrate with real host environment
Install red Hat Enterprise Linux Server 5.0 in VMware Virtual machine systems
ISO file with Linux installation CD on hard drive
"Step Decomposition"
The installation and configuration of PHP parser
1. Install PHP Parser
Software that needs to be installed
2, using VI Editor, edit modify/etc/httpd/conf.d/php.conf configuration file
In the DirectoryIndex configuration item, set the home page file for index.php,index.htm and index.html
Edit modify/etc/httpd/conf/httpd.conf configuration file, comment out DirectoryIndex configuration item.
3, in the/var/www/html directory, create a test page index.php, the content of the page is as follows:
<?php
Phpinfo ();
?>
4, open the browser, the address bar for http://www.ithov.com, to see whether the success. If successful, as shown in the following figure,