search
HomeBackend DevelopmentPHP TutorialPHP server installation guide under Windows 2000_PHP tutorial

PHP server installation guide under Windows 2000_PHP tutorial

Jul 13, 2016 pm 05:11 PM
phpwin32windowsonePrepareInstallConditionStrategyservermodule

1. Preliminary preparations for Apache2 (Win32) fully modular installation of perl, php, ssl
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 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 also a few little things, very Important, it will be used in subsequent installations (not all will be used, some files are compiled and can be used directly)
Download address 1: http://www.xdiy.net/soft/serv.rar
Download address 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/ perldiver 1.1/ Chinese php.ini/editplus /php_gd_gif.dll, etc.
2. Installation starts
1. APACHE installation
1.1: Run apache_2.0.44-win32-x86-no_ssl.msi ,
Suppose the default path of my installation is X: , so it is installed under the path of APACHE2 under the x disk, and the default domain is domain.com.
 1.2: (Make a virtual host, this step is optional)
Edit X:apache2confhttpd.conf
Find #NameVirtualHost *
Modify to NameVirtualHost 192.168.0.1 #Note that this IP is your own host Set the IP
Find ServerName domain.com and change it to #ServerName domain.com
Find ServerAdmin * (* is the email address you filled in when installing apache) and change it to #ServerAdmin
Then add the following statement: #... is my comment, no need to add it, just take a look at it

ServerAdmin webmaster@domain.com
#The email address of the host administrator (contact person) Address
ServerName domain.com
#Host name (host header name)
ServerAlias ​​domain.com www1.domain.com
#Host name (host header name that can also be valid)
document .oot X:/VirtualHost/domain.com/www.domain/wwwroot
#The www root directory of the virtual host.
ErrorLog domain-error_log
#Error log document, 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
#Specify the perl script running directory. Of course, if not specified, the entire directory can be run
ScriptAlias ​​/php4/ "/php-bin"
#Specify php Script running directory, of course, if not specified, the entire directory can be run

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629542.htmlTechArticle1. Preliminary preparations Apache2 (Win32) completely modular installation of perl, php, ssl 1. An installed WIN2000 server, note: If IIS has been installed on your machine, change all the...
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
PHP Performance Tuning for High Traffic WebsitesPHP Performance Tuning for High Traffic WebsitesMay 14, 2025 am 12:13 AM

ThesecrettokeepingaPHP-poweredwebsiterunningsmoothlyunderheavyloadinvolvesseveralkeystrategies:1)ImplementopcodecachingwithOPcachetoreducescriptexecutiontime,2)UsedatabasequerycachingwithRedistolessendatabaseload,3)LeverageCDNslikeCloudflareforservin

Dependency Injection in PHP: Code Examples for BeginnersDependency Injection in PHP: Code Examples for BeginnersMay 14, 2025 am 12:08 AM

You should care about DependencyInjection(DI) because it makes your code clearer and easier to maintain. 1) DI makes it more modular by decoupling classes, 2) improves the convenience of testing and code flexibility, 3) Use DI containers to manage complex dependencies, but pay attention to performance impact and circular dependencies, 4) The best practice is to rely on abstract interfaces to achieve loose coupling.

PHP Performance: is it possible to optimize the application?PHP Performance: is it possible to optimize the application?May 14, 2025 am 12:04 AM

Yes,optimizingaPHPapplicationispossibleandessential.1)ImplementcachingusingAPCutoreducedatabaseload.2)Optimizedatabaseswithindexing,efficientqueries,andconnectionpooling.3)Enhancecodewithbuilt-infunctions,avoidingglobalvariables,andusingopcodecaching

PHP Performance Optimization: The Ultimate GuidePHP Performance Optimization: The Ultimate GuideMay 14, 2025 am 12:02 AM

ThekeystrategiestosignificantlyboostPHPapplicationperformanceare:1)UseopcodecachinglikeOPcachetoreduceexecutiontime,2)Optimizedatabaseinteractionswithpreparedstatementsandproperindexing,3)ConfigurewebserverslikeNginxwithPHP-FPMforbetterperformance,4)

PHP Dependency Injection Container: A Quick StartPHP Dependency Injection Container: A Quick StartMay 13, 2025 am 12:11 AM

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Dependency Injection vs. Service Locator in PHPDependency Injection vs. Service Locator in PHPMay 13, 2025 am 12:10 AM

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHP performance optimization strategies.PHP performance optimization strategies.May 13, 2025 am 12:06 AM

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHP Email Validation: Ensuring Emails Are Sent CorrectlyPHP Email Validation: Ensuring Emails Are Sent CorrectlyMay 13, 2025 am 12:06 AM

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools