php找不到dll怎么办
2022-12-02 09:01:16
188
{{single.collect_count}}

php找不到dll的解决办法:首先找到并打开对应的“php.ini”文件;然后添加对应的扩展文件路径,语句为“extension_dir="D:\app\phpstudys\PHPTutorial\php\php-7.4\ext"”。

php入门到就业线上直播课:进入学习
Apipost = Postman + Swagger + Mock + Jmeter 超好用的API调试工具:点击使用

安装php一直提示找不到.dll文件

场景

下载一个php7.4的版本。把对应的路径配置到path环境变量下

使用php -m 查看安装的模块,一直提示 openssl找不到库文件

解决办法

打开对应php.ini 文件 ,添加对应的扩展文件路径,例如

#default_socket_timeout = 60extension_dir="D:\app\phpstudys\PHPTutorial\php\php-7.4\ext"
登录后复制

更多相关知识,请访问PHP中文网

以上就是php找不到dll怎么办的详细内容,更多请关注php中文网其它相关文章!

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}