HTML & CSS
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)
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 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%5Barticles%5D=1&simpleform_submit_marker=searchinput
EDIT: Good point Zurev. The settings do have '--with-xmlrpc'
They also have
json support enabled
json version 1.2.1
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
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.
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
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/
; Dynamic Extensions ;
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.
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:
; Enables or disables WSDL caching feature.
; Sets the directory name where SOAP extension will put cache files.
; (time to live) Sets the number of second while cached file will be used
; instead of original one.