Windows 2000 PHP Server Installation Guide _php tutorial

Source: Internet
Author: User
First, pre-preparation situation Apache2 (WIN32) fully modular installation Perl,php,ssl
1. An installed WIN2000 server, note: If you have IIS installed on your machine, stop all Web sites in IIS or change the port to something else first.
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 installation will be used later (not all, 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: This is installed under the path of APACHE2 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 * (* is the email address you filled in when you installed Apache) to #ServerAdmin
Next add the following statement: # ... Is my comment, no need to add, look at it.

ServerAdmin webmaster@domain.com
e-mail address of the #主机管理员 (contact person)
ServerName domain.com
#主机名 (host header)
Serveralias domain.com www1.domain.com
#主机名 (host header names that can also be active)
Document.oot X:/virtualhost/domain.com/www.domain/wwwroot
#该虚拟主机的的www根目录.
Errorlog X:/virtualhost/domain.com/www.domain/logs/www.domain-error_log
#错误日志文档, it can also 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.

http://www.bkjia.com/PHPjc/629542.html www.bkjia.com true http://www.bkjia.com/PHPjc/629542.html techarticle first, the preparation of the situation Apache2 (WIN32) fully modular installation Perl,php,ssl 1, an installed WIN2000 server, note: If you have IIS installed on your machine, will IIS 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.