Apache2.4 + php5.6 cannot load php5apache2_4.dll

Source: Internet
Author: User
Apache2.4 + php5.6 cannot load php5apache2_4.dll httpd.exe: Syntax error on line 530 of C:/workspace/work/Apache24/conf/httpd. con
F: Cannot load C:/workspace/work/php564/php5apache2_4.dll into server: \ xd5 \ xd2 \
Xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xb3 \ xcc \ xd0 \ xf2 \ xa1 \ xa3

My php path C:/workspace/work/php564/
The dll file also exists.
Vcredist_x64 also tried various versions 08 12 13
Always report this error.

Remove the PHP module:
# Php5 support
# LoadModule php5_module "C:/workspace/work/php564/php5apache2_4.dll"
# AddHandler application/x-httpd-php. php
# Configure the path to php. ini
# PHPIniDir "C:/workspace/work/php564 /"


Reply to discussion (solution)

Httpd.exe: Syntax error on line 530 of C:/workspace/work/Apache24/conf/httpd. con
F: Cannot load C:/workspace/work/php564/php5apache2_4.dll into server: \ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xb3 \ xcc \ xd0 \ xf2 \ xa1 \ xa3
Httpd.exe: The C syntax error in row 530 is: C:/workspace/work/Apache24/conf/httpd. conf.
: Unable to load C:/workspace/work/Apache24/php5apache2_4.dll to the server: the specified program cannot be found.

Open comments of rows one by one
The setting in php. ini is incorrect.

Httpd.exe: Syntax error on line 530 of C:/workspace/work/Apache24/conf/httpd. con
F: Cannot load C:/workspace/work/php564/php5apache2_4.dll into server: \ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xb3 \ xcc \ xd0 \ xf2 \ xa1 \ xa3
Httpd.exe: The C syntax error in row 530 is: C:/workspace/work/Apache24/conf/httpd. conf.
: Unable to load C:/workspace/work/Apache24/php5apache2_4.dll to the server: the specified program cannot be found.

Open comments of rows one by one
The setting in php. ini is incorrect.


Php. ini is configured according to the official documentation, and all the necessary options are preceded by semicolons.

Php. ini does not have a required option. do not use php. ini php to work as usual.

Php. ini does not have a required option. do not use php. ini php to work as usual.


The same error is reported. it's strange that my apache2.4.10, php5.6.4, and windows2003 64-bit.

Can someone help me?

Windows2003 ???
Php 5.5 is not supported at the beginning

Windows2003 ???
Php 5.5 is not supported at the beginning


I also found a problem this morning and now upgraded to 2008. thank you very much!

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.