Jump to content

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
https://forums.phpfreaks.com/topic/54125-help-on-soap-php/
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
https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-267576
Share on other sites

hi,

 

i actually went to the php.ini already and search for the word "soap"

but i cannot find it there.

 

assuming the codes for soap is not present,

what is/are the codes that i need to add?

the php info page is here

http://mango.resonance.com.sg/phpinfo.php

 

hope you could help me with this. thanks!

Link to comment
https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-267604
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
https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-268087
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.