简体   繁体   中英

errors while installing php for apache

i'm installing php so that i can use it with the apache software and i've followed the guide here: https://www.geeksforgeeks.org/how-to-install-php-on-apache-in-windows/ but when i do the command : httpd -t i get the error :

httpd: Syntax error on line 538 of C:/Apache24/conf/httpd.conf: Cannot load \xe2\x80\x9cC:\php\php8apache2_4.dll\xe2\x80\x9d into server: The specified module could not be found.

i know there is some people with similar problem but i didn't find a solution that suit the problem. i'm using Apache 2.4 VS16 and php 8.1.6 VS16 x64 Thread Safe

Look at the error message. Search for the bits that look weird.

See this page :

 U+201C “ \xe2\x80\x9c LEFT DOUBLE QUOTATION MARK U+201D ” \xe2\x80\x9d RIGHT DOUBLE QUOTATION MARK

You need to use regular quote marks (ie " which is U+0022 : QUOTATION MARK {double quote} ) around strings.

Don't copy/paste code from blogs that use software designed for English and not code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM