简体   繁体   English

php paypal sdk安装

[英]php paypal sdk installation

i am installing th paypal sdk kit and getting an error 我正在安装paypal sdk工具包并收到错误

INSTALLATION ERROR: Missing required PHP extention(s) for WPS Toolkit: curl 安装错误:缺少WPS Toolkit所需的PHP扩展:curl

you have to enable CURL with php. 你必须用PHP启用CURL。

uncomment the line ;extension=php_curl.dll in php.ini and restart apache 取消注释行;extension=php_curl.dll在php.ini中取消;extension=php_curl.dll并重启apache

Looks like you might not have CURL. 看起来你可能没有CURL。 Check your php.ini file and make sure this line is present 检查您的php.ini文件,确保该行存在

extension=php_curl.dll

Make sure there is no semicolon before it. 确保之前没有分号。 Then restart Apache 然后重启Apache

EDIT 编辑

Create a new file and put it in your webroot. 创建一个新文件并将其放在您的webroot中。 Put the following command in that file and load it 将以下命令放在该文件中并加载它

<?php
   phpinfo();

This will show all the modules that are loaded for your installation. 这将显示为您的安装加载的所有模块。 Search for the section curl . 搜索部分curl If it doesn't show up then you're editing the wrong php.ini . 如果它没有显示,那么你正在编辑错误的php.ini

The php.ini path is listed at the top. php.ini路径列在顶部。 Open that up and do the needful. 打开它并做必要的事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM