- Forums
- Windows Hosting
- Fatal error: Class 'SoapClient' not found in paypal_base.php on line 401
This Page Contains information about Fatal error: Class 'SoapClient' not found in paypal_base.php on line 401 By pacoman in category Windows Hosting with 6 Replies. [1447], Last Updated: Mon Jun 24, 2024
pacoman
Sat Dec 17, 2011
6 Comments
607 Visits
hey, i have a script i want to test my paypal API with and for some reason i got this error:
im not sure if i need to enable soap on my php or what, but this is the error i got:
Fatal error: Class 'SoapClient' not found in C:www scripts phppaypalpro php paypalpro-0.2.1 paypal_base.php on line 401
have you ever seen this?
using:
php5
apache 2
os: windows
UPDATE: i found a way to fix this error, just send this command:
yum install php-curl
then start your server:
/etc/init.d/httpd restart
Windows Only
it looks like you need to enable soap in your php.ini file. look for this line:
if it looks like this:
then remove the ; to look like this:
if you didn't have a ; then that means that your saop was already enabled.
save the changes and reboot your your apache server.