Home Backend Development PHP Tutorial Install Apache + PHP3_PHP tutorial under Windows

Install Apache + PHP3_PHP tutorial under Windows

Jul 13, 2016 pm 05:08 PM
apache windows Down exist Install discuss

This article only discusses how to install Apache+PHP3 under Windows NT 4.0 or Windows 2000.
The Apache I use is apache_1_3_12_win32.exe.
Note that you need to install PHP3 first. You can install it according to the document I wrote: Install PHP3 under Windows. Note that you do not need to do this step: 2. Software installation->3->f).
1. Software download
You can download the Windows version of Apache Web Server software from the following site:
http://www.apache.org/dist/binaries/win32/
2. Install Apache
1. Double-click the downloaded Apache executable file (such as apache_1_3_12_win32.exe) to install. When installing
, you can choose the installation destination. The default is C:Program FilesApache GroupApache.
I use $ APACHE_ROOT instead of the installation destination;
2. Modify $APACHE_ROOTconfhttpd.conf:
Port 80
Set the port number used when Apache Web Server is running. Since my IIS here is also running
, IIS used port 80, so I changed it to Port 8080. At this time, I entered http://localhost:8080/ on the browser to access the Apache Web Server.
Enter http:/ /localhost/ can access IIS, so that both Web Servers can be used
Oh, I use $PORT identification
ServerAdmin you@your.address
Set up the administrator's mailbox when there is a problem with the server , it will send the problems to the administrator's mailbox
   I changed it here to ServerAdmin hhzqq@chinaweal.com
  DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
Set the document root directory. When you enter http://localhost:$PORT/ on the browser, the server will read data from the document root directory. I changed it to
DocumentRoot "D:HZQPHP3", I use $DocumentRoot to identify

Change this to , here I am
    index.php index.phtml




http://www.bkjia.com/PHPjc/629885.html

www.bkjia.com

truehttp: //www.bkjia.com/PHPjc/629885.htmlTechArticleThis article only discusses how to install Apache+PHP3 under Windows NT 4.0 or Windows 2000. The Apache I use is apache_1_3_12_win32.exe. Note that you need to install PHP3 first, you can follow the document I wrote...
Statement of this Website
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

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 Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Can vs code run in Windows 8 Can vs code run in Windows 8 Apr 15, 2025 pm 07:24 PM

VS Code can run on Windows 8, but the experience may not be great. First make sure the system has been updated to the latest patch, then download the VS Code installation package that matches the system architecture and install it as prompted. After installation, be aware that some extensions may be incompatible with Windows 8 and need to look for alternative extensions or use newer Windows systems in a virtual machine. Install the necessary extensions to check whether they work properly. Although VS Code is feasible on Windows 8, it is recommended to upgrade to a newer Windows system for a better development experience and security.

vscode cannot install extension vscode cannot install extension Apr 15, 2025 pm 07:18 PM

The reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

Zookeeper security configuration guide on CentOS Zookeeper security configuration guide on CentOS Apr 14, 2025 pm 06:24 PM

Detailed explanation of the installation and configuration of ApacheZooKeeper under CentOS system This article introduces in detail how to configure ApacheZooKeeper on CentOS system, covering Java environment installation, ZooKeeper download and decompression, configuration, booting and security configuration. 1. Preparation to install the Java environment: ZooKeeper relies on the Java Runtime Environment (JRE) or Java Development Toolkit (JDK). Recommended to install OpenJDK8 or higher: sudoyumininstalljava-1.8.0-openjdk-devel to download and decompress ZooKeeper: from

Can vscode be used for mac Can vscode be used for mac Apr 15, 2025 pm 07:36 PM

VS Code is available on Mac. It has powerful extensions, Git integration, terminal and debugger, and also offers a wealth of setup options. However, for particularly large projects or highly professional development, VS Code may have performance or functional limitations.

How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! Apr 17, 2025 pm 09:54 PM

In Laravel development, dealing with complex model relationships has always been a challenge, especially when it comes to multi-level BelongsToThrough relationships. Recently, I encountered this problem in a project dealing with a multi-level model relationship, where traditional HasManyThrough relationships fail to meet the needs, resulting in data queries becoming complex and inefficient. After some exploration, I found the library staudenmeir/belongs-to-through, which easily installed and solved my troubles through Composer.

How to quickly configure CentOS HDFS How to quickly configure CentOS HDFS Apr 14, 2025 pm 07:24 PM

Deploying Hadoop Distributed File System (HDFS) on a CentOS system requires several steps, and the following guide briefly describes the configuration process in stand-alone mode. Full cluster deployment is more complex. 1. Java environment configuration First, make sure that the system has Java installed. Install OpenJDK with the following command: yumininstall-yjava-1.8.0-openjdk-devel Configure Java environment variables: echo "exportJAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk">>/etc/profileecho"ex

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

Can vscode run in Windows 7 Can vscode run in Windows 7 Apr 15, 2025 pm 07:27 PM

VS Code is still available on Windows 7, but is highly not recommended. Windows 7 lacks security updates and patches, resulting in security risks and VS Code compatibility issues. Although simple code editing is barely competent, it is recommended to upgrade to Windows 10 or later for complex development or for extensions.

See all articles