Configure LoadModulephp5 in php and apache

Source: Internet
Author: User
1. the path must be an English symbolic online tutorial. Apache is installed first and php is installed. However, php is still in the green version and httpd is being modified. in the conf file, most people are: LoadModulephp5_modulec: ProgramFilesphpphp5apache2. dll, all are apacherestart errors. Add the correction method to the path

1. the path must be an English symbolic online tutorial. Apache is installed first and php is installed. However, php is still in the green version and httpd is being modified. in the conf file, most people are: LoadModule php5_module c: \ Program Files \ php \ php5apache2. dll, apache restart error. Add the correct method to the path

1. The path must be an English symbol.


In the online tutorial, Apache is installed first, but php is still in the green version. When modifying the httpd. conf file, most people

Yes: LoadModule php5_module c: \ Program Files \ php \ php5apache2. dll, all of which have apache restart errors. Correction Method on the road

Add "" (double quotation marks) to the path, that is, LoadModule php5_module "c: \ Program Files \ php \ php5apache2. dll ".

Haha. However, the php5apache2. dll configuration file depends on the apache version you have installed ..


2. DLL missing



When configuring php for apache, if php5apache2_2.dll is not found in the php installation directory, the downloaded php version is incorrect.
On the php 5 official website, you can download several PHP versions, including v9 and v6.


The php official website has the following text on the left:


Which PHP version do I need to choose?


If you use php on apaceh1 or apache2, you need to use php of vc6.

Vc6 has the following two versions:

Vc6 x86 non thread safe non-thread security
Vc6 x86 thread safe thread security

In the above two versions, non-thread safe php does not have the apache option during installation, while thread safe has the apache 2.2.x module option during installation.

So you can choose to replace another version of PHP, you can download the version of php vc6 x86 thread safe to try.

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.