I am a fan of web page production, a lot of code needs to be tested and modified, uploading space test on the network is too cumbersome and too laborious, so I need to test it on this machine. But I am using a laptop, the genuine XP home version is installed, I can't use IIS, Apache is too much trouble, so I searched the world for a suitable server program and finally found the small and functional Abyss Web Server. But a lot of good things. Can support ASP`, PHP, CGI
Now, I will use PHP as an example to talk about my experience.
1, download Abyss Web Server, the address is
http://www.download.com/3001-2165_4-10283992.html
Download PHP, the address is < Br>
http://www.php.net
2, install Abyss Web Server, simple, all the way to the default, of course, in order to facilitate management, I built Abyss Web Server in E disk Folders and PHP Folders
After installation, the following will appear:
means to select the language, I chose English. The important thing to note here is that the port is 9999. Entering 127.0.0.1:9999 in the browser will enter the management of the server. This port can be changed, as will be mentioned later.
Then enter the administrator name, password, and password verification as I did.
The pop-up login dialog box, enter the user name and password to enter the management interface.
In fact, we have already started the server during the installation process of the server (there will be a step before asking if you want to start the server, choose YES), then enter http://localhost/
in the browser.
If you see
, the installation server is successful.
In the management interface, you will see
Click Configure to enter the configuration
Click General to enter the basic system configuration.
Port: Access port, generally do not change, basically 80 port access, huh, huh.
Documents Path: is the placement path of the program, the default is the htdocs folder under the server directory
Advanced Parameters: advanced options, including binding IP, etc.
Click index Files enters the default home page settings.
Add index.php
Of course, there is no PHP interpreter installed, now you can install the PHP interpreter.
All the way, I installed it in the PHP folder of the E drive. It is very important to have a step here.
Select the last one in this step. Other servers. Then all the way back to the car, complete.
Now click on Scripting Parameters
in the management interface to set the path to the interpreter.
Click ADD in Interpreters, enter,
Interpreter fill E:\\PHP\\php-cgi.exe (that is the address of the interpreter)
Associated Extensions add php As the extension of the file, tell the server to call the php interpreter when it encounters a file with a suffix of php.
Environment Variables
The above fills in REDIRECT_STATUS, the following fills in 200 is OK
Now you can basically test simple PHP programs, htdocs in the server folder Create index.php, which is written as follows:
Phpinfo();
?>
Enter http://localhost/in the browser to see the familiar PHP information.
The following is a brief description of each option and the next level of options
Server Configuration server configuration
Parameters server address and other
Console Configuration Some settings of the administrator, including
Parameters changes to the management port,
Access Credentials Change administrator username and password
Language Language Management
IP Address Control IP management, including allowing access to IP, disabling access to IP
Server Statistics Server Statistics
Help and Support Help File
This compact server has a lot of related settings. Settings, including 404 pages, etc., interested can study the server's help files, there are everything you want to know about this server.
I recently found openssl and found that the certificate is safe. Then on the Internet, I found out h
T100 G11 After removing 1 memory, the power-on self-test will report an error, prompting memory size
In the current Internet development, many unit users and even individual users ha
In the era of VMware ESX 3, many IT staff have reservations about the use of thin
IIS7 configuration maximum upload attachment size needs to pay attention to the steps and steps
ASP can't update ACCESS database solution
Solve the failure of the cwRsync server service startup
Win2003 load balancing setting method (more detailed)
IIS server site error how to solve
Government agencies server software full Raiders operating system articles
How to set up Hyper-V virtual machine NIC?
Server hard disk expansion storage mode selection suggestion
Serv-U version 6.1 ftp server software garbled problem
How to add Windows Media Center in Windows 8 Preview
Storm video and video version of the method of connecting to the TV
Retrieving the "Recently Used Project" in the "Start" menu of the Win7 system
Dnzg:Win8.1 9369 version added to MetroUI file manager
Linux server configuration scheme MySQL (on)
How to change the district of Win10? How to change the district of
WIN7 enables/disables wireless network card through batch processing