Apache|window Windowsxp+apache2.0.39+php-4.2.3-dev
source File Download:
1. http://www.apache.org/dist/httpd/binaries/win32/
The apache_2.0.39-win32-x86-no_ssl.msi below
or Apache_2.0.39-win32-x86-no_ssl.exe.
(A full setup package (. exe) containing the WIN9X/WINNT
Microsoft System Installer Installer is available.
If the Microsoft System Installer is already on the machine,
There is no need to download the. exe, save yourself 3MB and
Download the. msi package.)
Install Server and PHP:
1. Select the download Apache MSI file, right-click to select installation, the default method can be
2. Decompression Php4-win32-stable-snapshotnumber.zip, get
Php4-win32-stable-snapshotnumber folder, renamed to PHP, and
Copy to C:.
3. Copy the Php4ts.dll under C:php to C:wondowssystem32 (that is, the PATH environment variable
First path name)
(4. Copy all. dll files under C:phpdll to C:wondowssystem32.) See below
Configure PHP.ini and http.conf
1. Copy C:phpphp.ini-dist to C:windows, renamed PHP.ini
2. Open the php.ini file and find the ' doc_root= ' item, set to
doc_root= "C:Program Filesapache groupapache2htdocs"
That is, the PHP file under this directory (the Apache server main document directory) can be executed.
Find the ' extension_dir= ' item, set to
Extension_dir = "C:phpsapi" This has the extension Library's. dll file (note,
When a Web page cannot be executed, and an error cannot be found, the. dll file is C:PHPSAPI under all
. dll is copied to c:windowssystem32.
Save PHP.ini and Exit edit.
3. Open C:progame Filesapache groupapache2confhttpd.conf
Make sure the servername is set (at least localhost),
Find a series of loadmodule that begin with, and add the following at the end:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.