Need help with phpinfo()

I wanna create web service and it dose not work on the localhost
The belw link shows the php info of the server, i want to know if this server is available for web services or not, and if not what is needed to add in (php.ini)

<snip/>

Best Regards

Well, WebService can mean many, many things.

Your server supports SOAP, if you want to go down that route.

Thank you Anthony,

Please tell me how did you know that my server supports SOAP,
so i can search now for how to create web service in SOAP using php (using php means create web service and send the value to it by php). If you know how to help for doing this, plz tell me.

thanks and best regards

Over halfway down you’ll see a section for soap then see soap client and soap server are enabled.

As AnthonySterling said, unsure of what you mean by web services, it does have soap and xmlrpc though from what I can see.

How to tell?

Configure Command … ‘–enable-soap’

soap
Soap Client enabled
Soap Server enabled

You could try a few of SitePoint articles for a “hello world” type of thing. http://search.sitepoint.com/?q=SOAP&submit=Search&refinements[articles]=1&simpleform_submit_marker=searchinput

EDIT: Good point Zurev. The settings do have ‘–with-xmlrpc’

They also have

json
json support enabled
json version 1.2.1

xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage http://xmlrpc-epi.sourceforge.net
open sourced by Epinions.com

*I removed the link. I know security by obscurity is not security, but no need to advertise. My info honeypot gets hit regularly.

thnx Mittineague,

i’m using PHP Version 5.3.0 on localhost and it dose no support SOAP, please anyone tell me how to enable SOAP on localhost

thnx

I see you’ve taken down the info page - smart move IMHO :tup:

The reason I was looking because I was wondering if REST might be an alternative too.

Anyway, for SOAP on your localhost, find the php.ini file(s)
Maybe in apache/bin/ and-or php/

Look for

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
.....
;extension=php_soap.dll

and either remove the semi-colon or add the same line after it without a semi-colon (semi-colons indicate the line is a comment) i.e.

;extension=php_soap.dll
extension=php_soap.dll

Then restart the server.

There should also be a section that you could check too if you want to deal with caching. eg. for xampplite it would look something like:

[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="\\xampplite\	mp"
; (time to live) Sets the number of second while cached file will be used 
; instead of original one.
soap.wsdl_cache_ttl=86400

thnx man