Jump to content

help on SOAP PHP


pixeltrace

Recommended Posts

Hi,

 

i need help. how do i enable soap in my php?

 

i have installed soap 1.2 in my linux server already but i dont know

how to enable it.

i was informed that i need to enable soap in my php.ini file

but i dont know what the codes are.

 

this is the error i am currently getting from my site

http://mango.resonance.com.sg/myoochi/findit.php

Fatal error: Class 'SoapClient' not found in /var/www/html/myoochi/findit.php on line 2

 

 

hope you could help me fix this.

 

thanks so much!

Link to comment
Share on other sites

if you create a file with phpinfo(); in it and look for where the php.ini file is located and goto the directory and edit that file you will see an "Extension" part in there you should see something like php_soap.dll  you have to remove the ; from the beginning and it should enable to the soap functions, you may need to restart apache.

Link to comment
Share on other sites

Hi,

 

Thanks! i have installed the soap 1.2 already and i already saw soap.ini in my ppp.d directory

with the codes

soap.wsdl_cache_enabled "1" 
soap.wsdl_cache_dir "/tmp"
soap.wsdl_cache_ttl "86400" 

 

my problem now, i dont know if its already enabled.

 

i typed

> urpmi soap

this is the message that i got

The package(s) are already installed
The following package names were assumed: php-soap

 

however, i still dont know if its already enabled because

i am still getting this error

Fatal error: Class 'SoapClient' not found in /var/www/html/myoochi/findit.php on line 2

on one of the test page that i did.

 

is there anything that i need to add in my php.ini file?

 

need help on this please

thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.