php_curl.dll libssh2.dll 始终无法加载的原因 及解决办法

简介: 在StackOverflow得到最终原因及解决办法 http://stackoverflow.com/questions/16424117/php-unable-to-load-php-curl-dll-extension libeay32.

 

在StackOverflow得到最终原因及解决办法

http://stackoverflow.com/questions/16424117/php-unable-to-load-php-curl-dll-extension

libeay32.dll and ssleay32.dll have to be path-accessible for php_curl.dll loading to succeed. Copying them into System32 (or even into the Windows main directory) is a bad hack and does not even work with newer PHP versions.

The right way to do it is to add the PHP path to the Windows Path variable. In Control Panel -> System click on Advanced System Settings and use the button Environment Variables. UnderSystem Variables you will find the Path variable. Edit it and append ;C:\PHP to it - or whatever the path to your PHP folder is. Then restart Apache.

 

就是在环境变量里面添加PHP的路径。

相关文章
|
3月前
|
运维 JavaScript Serverless
Serverless 应用引擎产品使用合集之php工程已经部署,可以正常访问数据库,静态资源样式无法正常加载,要怎么配置
阿里云Serverless 应用引擎(SAE)提供了完整的微服务应用生命周期管理能力,包括应用部署、服务治理、开发运维、资源管理等功能,并通过扩展功能支持多环境管理、API Gateway、事件驱动等高级应用场景,帮助企业快速构建、部署、运维和扩展微服务架构,实现Serverless化的应用部署与运维模式。以下是对SAE产品使用合集的概述,包括应用管理、服务治理、开发运维、资源管理等方面。
Serverless 应用引擎产品使用合集之php工程已经部署,可以正常访问数据库,静态资源样式无法正常加载,要怎么配置
|
12月前
|
PHP
PHP 文件加载简单使用
PHP 文件加载简单使用
53 0
|
12月前
|
Unix PHP
PHP 文件加载的四种方式
PHP 文件加载的四种方式
134 0
|
PHP 开发工具 计算机视觉
PHP SDK百度人脸识别遇见的坑,BASE64识别程度高但加载慢;URL加载快,但总image download fail
PHP SDK百度人脸识别遇见的坑,BASE64识别程度高但加载慢;URL加载快,但总image download fail
104 0
|
PHP 数据安全/隐私保护
php base64不能解码_PHP base64编码后解码乱码的解决办法
php base64不能解码_PHP base64编码后解码乱码的解决办法
411 0
|
安全 PHP Windows
Atom 编辑器 atom-beautify 美化 php 遇到的问题及解决办法
Atom 编辑器 atom-beautify 美化 php 遇到的问题及解决办法
|
关系型数据库 MySQL PHP
PHP连接MySQL 8.0报错的解决办法
PHP连接MySQL 8.0报错的解决办法
380 0
|
Shell PHP
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
|
关系型数据库 MySQL PHP
PHP连接MySQL 8.0报错的解决办法
PHP连接MySQL 8.0报错的解决办法
下一篇
云函数