How to install PHP servers in Windows _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
Tags install perl
How to install PHP servers in Windows. I. preparations Apache2 (Win32) fully modular installation of perl, php, ssl1, and an installed WIN2000 server. note: if IIS is already installed on your machine, install perl, php, and ssl in full modules of Apache2 (Win32) in IIS.
1. an installed WIN2000 server. note: if IIS is already installed on your machine, stop all web sites in IIS or change the port to another one.
2. Download Software
APACHE 2.0.48
Perl 4.3.1
PHP 4.3.1
MYSQL 4.0.12
ZendOptimizer
There are several other things that are very important. they will be used in later installation (not all of them are used. some files are compiled and can be used directly)
1: http://www.xdiy.net/soft/serv.rar
1: http://www.techxy.com/xdiy/serv.zip
The package contains mod_perl 1.9/mod_ssl 2.0.43/OpenSSL 0.9.6h/mod_jk/ApacheModuleGzip. dll.
Gd 2.0.9/gdpm/perlper 1.1/Chinese php. ini/editplus/php_gd_gif.dll
II. start installation
1. install APACHE
1.1: run apache_2.0.44-win32-x86-no_ssl.msi,
Assume that the default installation path is X:. in this way, it is installed in the path of APACHE2 on disk x, and the default domain is domain.com.
1.2: (as a virtual host, this step can be left blank)
Edit X: apache2confhttpd. conf
Find # NameVirtualHost *
Change to NameVirtualHost 192.168.0.1 # note that this IP address is the IP address of your host.
Find ServerName domain.com and change it to # ServerName domain.com
Find ServerAdmin * (* the email address you entered when installing apache) and change it to # ServerAdmin
Next, add the following statement :#...... It's my comment. you don't need to add it. just check it out.

ServerAdmin webmaster@domain.com
# Host administrator (contact) email address
ServerName domain.com
# Host name (host header name)
ServerAlias domain.com www1.domain.com
# Host name (host header names that can also take effect)
Document. oot X:/VirtualHost/domain.com/www.domain/wwwroot
# Www root directory of the VM.
ErrorLog X:/VirtualHost/domain.com/www.domain/logs/www.domain-error_log
# Error log document, can also be ../logs/www. domain-error_log
CustomLog X:/VirtualHost/domain.com/www.domain/logs/www.domain-access_log common
ScriptAlias/cgi-bin
# Specify the perl script running Directory. If this parameter is not specified, the entire directory can be run.
ScriptAlias/php4/"/php-bin"
# Specify the php script running Directory. If this parameter is not specified, the entire directory can be run.

Apache2 (Win32) fully modular installation of perl, php, ssl 1, an installed WIN2000 server, note: If your machine has IIS installed, set all...

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.