pixeltrace Posted June 4, 2007 Share Posted June 4, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/ Share on other sites More sharing options...
per1os Posted June 4, 2007 Share Posted June 4, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-267576 Share on other sites More sharing options...
pixeltrace Posted June 4, 2007 Author Share Posted June 4, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-267604 Share on other sites More sharing options...
per1os Posted June 4, 2007 Share Posted June 4, 2007 http://us.php.net/soap You need to compile php with the --enable-soap command. I would read through the php manual posted above, that should give you all the information you need on how to install it. Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-267610 Share on other sites More sharing options...
pixeltrace Posted June 5, 2007 Author Share Posted June 5, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-268087 Share on other sites More sharing options...
per1os Posted June 5, 2007 Share Posted June 5, 2007 You need to compile php with the --enable-soap command. Quote Link to comment https://forums.phpfreaks.com/topic/54125-help-on-soap-php/#findComment-268446 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.