在 Windows 10 上安装 PHP7 和 Apache2.4 - php7apache2_4.dll 错误 [英] Installing PHP7 and Apache2.4 - php7apache2_4.dll error on Windows 10

查看:34
本文介绍了在 Windows 10 上安装 PHP7 和 Apache2.4 - php7apache2_4.dll 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚使用 Windows 10,在我配置了 php.ini 和 http.conf 后,我进入命令行 httpd.exe 并收到此错误消息:

Just got on a Windows 10 and after I configured my php.ini and http.conf I went on the command line httpd.exe and got this error message:

httpd.exe: Syntax error on line 530 of C:/Apache/conf/httpd.conf: Cannot load C:/php/php7apache2_4.dll into server: The specified module could not be found.

我知道这个文件在那个文件夹中.我已经安装了 64 位版本的 PHP 和 Apache,但我不知道发生了什么.

I KNOW this file is in that folder. I've installed both 64 bits version of PHP and Apache and I don't know what's going on.

推荐答案

检查您是否安装了线程安全版本的 PHP.非线程安全版本会导致此错误.

Check whether you have installed Thread safe version of PHP. Non Thread safe version will cause this error.

您可以在此处

这篇关于在 Windows 10 上安装 PHP7 和 Apache2.4 - php7apache2_4.dll 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆