How to configure PHP module to Apache server

Source: Internet
Author: User
How to configure the PHP module to Apache server, this article mainly share with you to configure the PHP module to Apache server method, hope to help everyone.

in the The following configuration is done in apache24/conf/httpd.conf :

Add the following code at the end of the file (note modifying the path):

LoadModule php5_module d:/softwere/php/php5apache2_4.dlladdtype application/x-httpd-php. Phploadmodule php5_module Modules/libphp5.sophpinidir d:/softwere/php

Then reboot Apche appears

D:\softwere\apache24\bin>httpd.exe-k started

Httpd.exe:Syntax error on line 536 of D:/softwere/apache24/conf/httpd.conf:cannot load D:/softwere/php/php5apache2_4. DLL into server:%1 \xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 Win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3

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.