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 xe2x80x9cC:phpphp8apache2_4.dllxe2x80x9d 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
2
Answers
Look at the error message. Search for the bits that look weird.
See this page:
You need to use regular quote marks (i.e.
"
which isU+0022 : QUOTATION MARK {double quote}
) around strings.Don’t copy/paste code from blogs that use software designed for English and not code.
Remove the quotes from the line so instead of having:
you should have:-