php5.3提示缺少curl_init()解决方法

操作方法

  • 01

    php5.3.5 (apache windows) 提示Cannot call to undefined function curl_init()解决方法 [ 其他版本类似 ] 我的php环境安装的位置 1.D:\wamp\php\php.ini 打开;extension=php_curl.dll 2.复制 D:\wamp\php\libeay32.dll 和 D:\wamp\php\ssleay32.dll 到C:\Windows\System32目录下3.Httpd.conf中(最底部),具体位置看你PHP的放置位置了:    增加:LoadFile D:\wamp\php\libeay32.dll    增加:LoadFile D:\wamp\php\ssleay32.dll    LoadModule php5_module D:\wamp\php\php5apache2_2.dll    AddType application/x-httpd-php .php .html .htm .jsp    # configure the path to php.ini PHPIniDir "D:\wamp\php"4.重启apache

(0)

相关推荐