Today, I am dizzy for a day. I have nothing to do. I have to do something before going to bed. Otherwise, one day will be unavailable.
As a side dish, you can see some script injection, ASP, PHP, and other things.
So it is necessary to build a web server.
Our options include IIS and Apache.
However, it's a little tricky to use the above stuff as we need it.
We can use a software called Xitami to configure the web server.
The following uses Xitami to build a Web + PHP server
Software required:
Xitami.rar
Php4.zip
First install PHP
This step is required. decompress the downloaded PHP file to a directory (such as C:/PHP /)
In this directory, copy the php. ini-Dist file in the decompressed directory to the Windows installation directory. For example, if Win2000 is (C:/WINNT), rename it PHP. ini.
Set the value of extension_dir to the directory of PHP, for example, extension_dir = C:/PHP.
Other projects can be configured by default in PHP.
Second, install Xitami
Run the installation file. You can select the installation path and enter the Administrator name and password for use during management. When the installation ends, select whether to start the Web server on your own.
You do not need to configure the Xitami. Enter http: // 127.0.0.1 in the address bar of the browser to view the default homepage of the Xitami. However, the directly installed Xitami does not support PHP, so you still need to configure it.
Enter http: // 127.0.0.1/admin in the browser and enter the installation password To Go To The Xitami Management page.
Select Configuration to go to the configuration page. Click filters to connect to the file extension (. XXX): Add the following. PHP, filter command or script on the right: add your PHP decompressed location, such as C:/PHP/php.exe. After saving all the steps, exit the management interface and restart the Xitami so that the server can take effect. After the Xitami is running, there is an "X" icon in the taskbar that can be set to restart and close.
Now we have finished all the work. Your system should support PHP. Let's try it.
Second testPHP server
We can write the following content: <? Phpinfo ()?> PHP files such as info. php
Put the info. php file in the webpages directory of the Xitami installation directory. Now you can view the PHP details by accessing http: // 127.0.0.1/info. php.
Last
In fact, Xitami is still a complete FTP server that can be remotely managed. Let's talk about it so much today. Let's take a look at Xitami and then give a detailed and comprehensive introduction to the use of Xitami.
Good... finished... rest .......