Auciou posted on October 08, 2009 at 06:41
The development environment of this article is Win XP. While the PHP runs with IIS, it is very slow. Run PHP with Apache, the speed will be faster for much. MiniApache (2.0.5.2) is a simplified Apache, it is just 308 K. As the introduction said, the functions that used frequently are not reduced.
After I installed and tested for many times, I've known well this installation of MiniApache. In order to avoid reinstalling Apache and PHP after reinstalling the system, please install them in the Disk D, for example, I install at D:\server. Create the development environmen of yourself first, the steps of installation are:
PHPIniDir D:/server/php5
LoadModule php5_module D:/server/php5/php5apache2.dll
AddType application/x-httpd-php .php
Explanation: the second line is "Load Module", if without the third line, PHP cannot run, it just can display the HTML page.
DirectoryIndex index.html this line is the default document of the directory, change to DirectoryIndex index.php index.html
Hereafer, after reinstall the system, just double click D:\server\apache\setup.cmd, choose 1, Enter, install, Apache and PHP will be installed for just one step.
As the preceding approach, after create the development environment of Apache, while reinstall the system, you may reinstall Apache and PHP for just one step.
All of my present development environments, are based on this background of Apache and PHP, need not to reinstall Apache and PHP after reinstall the system.
Category:
Program | Internet | Computer
Blog Research | PHP | Philosophy
Archives:
January 2011 | January 2010
December 2009 | October 2009 | September 2009 | April 2009
December 2008 | November 2008
May 2007 | April 2007
August 2005 | July 2005 | June 2005
May 2005 | April 2005 | March 2005
February 2005 | January 2005
Recent articles:
My Go Daddy hosting is fast
Create a house with your spouse on the interest
Pending time which add a domain of hosting, was more than 36 hours
Diary: 2010-01-15
Many Linux hostings do not support the mod_expires module
Figured out, there is still a way
About the delicated IP of IXWebHosting
About the QUERY_STRING parameter of URL
About the ping value and speed of site
The relation between program and .htaccess file
Saved a delicated IP
Judge that does a long-range file exist in PHP
How to call the Confederation of Planets and the high evolving beings of alien/pray/make a wish
Use Apache as the local virtual hosting to preview the Blog
Create the development environment of Apache
Reinstall Apache and PHP for one step
The elements of program of preventing the spam and closing IP
How to close the visit log of ixwebhosting
Happy Wedding to a friend
Make an easy Audio/Video converter