Gaurav Srivastava
Gaurav Srivastava

Reputation: 151

php paypal sdk installation

i am installing th paypal sdk kit and getting an error

INSTALLATION ERROR: Missing required PHP extention(s) for WPS Toolkit: curl

Upvotes: 3

Views: 1143

Answers (2)

JohnP
JohnP

Reputation: 50009

Looks like you might not have CURL. Check your php.ini file and make sure this line is present

extension=php_curl.dll

Make sure there is no semicolon before it. Then restart Apache

EDIT

Create a new file and put it in your 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. If it doesn't show up then you're editing the wrong php.ini.

The php.ini path is listed at the top. Open that up and do the needful.

Upvotes: 1

Shakti Singh
Shakti Singh

Reputation: 86336

you have to enable CURL with php.

uncomment the line ;extension=php_curl.dll in php.ini and restart apache

Upvotes: 2

Related Questions