First, preliminary preparation Apache2 (WIN32) fully modular installation Perl,php,ssl
1, a installed WIN2000 server, note: If you have IIS installed on the machine, all the Web sites in IIS are stopped or the port first changed to something else.
2, download software
APACHE 2.0.48
Perl 4.3.1
PHP 4.3.1
MYSQL 4.0.12
Zendoptimizer
There are a few small things, very important, the following installation will be used (not all use, some files are compiled, can be used directly)
Download Address 1:http://www.xdiy.net/soft/serv.rar
Download Address 1:http://www.techxy.com/xdiy/serv.zip
Inside the bag is: mod_perl 1.9/mod_ssl 2.0.43/openssl 0.9.6h/mod_jk/apachemodulegzip.dll
GD 2.0.9/gdpm/perldiver 1.1/Chinese Php.ini/editplus/php_gd_gif.dll etc
Second, the installation began
1, Apache Installation
1.1: Run Apache_2.0.44-win32-x86-no_ssl.msi,
Suppose the default path for my installation is x:, so that it is installed under the APACHE2 path under x disk and the default domain is domain.com.
1.2: (as a virtual host, this step can not do)
Edit x:apache2confhttpd.conf
Find #NameVirtualHost *
Modified to Namevirtualhost 192.168.0.1 #注意这个IP为你自己主机设的IP
Find ServerName domain.com modified to #ServerName domain.com
Find ServerAdmin * (* The email address you filled out when you installed Apache) and modify it to #ServerAdmin
Next add the following statement: # ... Is my comment, do not add, look at it can be
<virtualhost 192.168.0.1>
ServerAdmin webmaster@domain.com
#主机管理员 (Contact) 's e-mail address
ServerName domain.com
#主机名 (host header Names)
Serveralias domain.com www1.domain.com
#主机名 (same host header names that can be in effect)
Document.oot X:/virtualhost/domain.com/www.domain/wwwroot
#该虚拟主机的的www根目录.
ErrorLog X:/virtualhost/domain.com/www.domain/logs/www.domain-error_log
#错误日志文档, or it can be. /logs/www.domain-error_log
Customlog X:/virtualhost/domain.com/www.domain/logs/www.domain-access_log Common
Scriptalias/cgi-bin/cgi-bin
#指定perl脚本运行目录, of course, if not specified, the entire directory can be run
scriptalias/php4/"/php-bin"
#指定php脚本运行目录, of course, if not specified, the entire directory can be run
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