php + apache installation configuration
Reprinted in: Click to open the link
php5.5 has made a lot of updates, and it is also very particular about how to choose when matching with apache. Here we take 64-bit php5.6 and Apache2.4 as an example Describes how to configure.
Tools/Materials
-
Win7/8 64-bit
-
php5.5.6 6-bit
-
Ap ache2.4 64-bit
1 System environment and software
-
1
php5.5.6 Download link: Click to open the link
Recommended V11 x64, which is 64bit.
-
2
apache2.4, download link: click to open the link
V11, 64-bit is also recommended.
-
3
The V11 mentioned earlier is a component of Microsoft. If it is not installed, it will prompt that msvcr110.dll is missing.
Download link: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679
Please download the 64bit version.
-
4
It is very simple to install V11 according to the boot. Finally, you need to restart once
END
2 php5.5.6 configuration
-
1
Unzip the downloaded php, create a new folder php on the D drive, and copy all the unzipped files to d:php.
+ Configuration -
1
Unzip the downloaded Apache compressed package and copy it to d:Apache24. 2
Enter the ServerRoot line Modify it to ServerRoot "D:Apache24". The one between the double quotes is the location where your apache is placed
-
3
Modify D:Apache24confhttpd.conf.
Modify DocumentRoot as follows:DocumentRoot "d:/Apache24/htdocs"
Change the Listen Port to: Listen 8080 -
4
Add the following lines to add support for php5 Support: # php5 support -
LoadModule php5_module D:/php/php5apache2_4.dll
AddType application/x-httpd-php .php .html .htm
# configure the path to php.iniPHPIniDir " D:/php"5
Save httpd.conf and restart the Apache service. -
Tips: d:apache24binhttpd.exe -k install, this sentence can add apache to the system service.
END 4 Harvest the fruits of victory -
Open 127.0.0.1:8080 in the browser, can you see it works? This means your apache is already working .
Modify D:Apache24htdocsindex.html, add , save.
-
END
Notes -
Don’t forget to install V11
Please pay attention to your php and apache paths and modify httpd.conf The content in php5.5 can only be used with apache version 2.4 or above. If you are using the mainstream version 2.2 or others, please upgrade to version 2.4
The above introduces the installation and configuration of php + apache, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

Validator can be created by adding the following two lines in the controller.
