Apache2.4 cannot load SegmentFault

Source: Internet
Author: User
According to langzhiwang888.iteye. comblog1859399, php is installed again. apache and mysql are all OK. but loading php fails. httpd: Failed: apacheApache24confhttpd. conf: Cannotloadd: phpextp...

Httpd: Syntax error on line 176 of D:/apache/Apache24/conf/httpd. conf: Cannot lo
Ad d:/php/ext/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

Is it a version issue or ps: win7 64-bit system?

Reply content:

Follow

Httpd: Syntax error on line 176 of D:/apache/Apache24/conf/httpd. conf: Cannot lo
Ad d:/php/ext/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

Is it a version issue or ps: win7 64-bit system?

Your php is installed with win32
We recommend that you install an integrated environment.
Xmapp
Or
Wampserver
There is no need to make these things happen in windows.

Php projects must havephp5ts.dll
The following configuration is required for httpd. conf of apache. You can see that php. ini points to httpd. conf in the configuration.
I use a windows License. It should be simpler in linux.

# Add export PHPLoadModule php5_module "D:/ENVIRONMENT/php_54/php5apache2_2.dll" AddType application/x-httpd-php. php. phtml. php5AddType application/x-httpd-php-source. phpsPHPIniDir "D:/ENVIRONMENT/php_54 /"

Users can directly use php-cgi.exe

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.