SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the SharePoint 2010 server. As far as I know PHP does not support NTLM. If I cache the WSDL XML how can I connect to SP2010? Would OAuth work?

Has anyone successfully used PHP to connect to the SharePoint server?

share|improve this question

I have only seen user/password been used to connect to the services.

share|improve this answer

You have 2 options : the REST API and the old WebServices. Personnaly, I've never use PHP to connect to SharePoint, only Java, and it works like a charm.

share|improve this answer

Here is a very nice post by Vadim Gremyachev about connecting from PHP to SharePoint Online, for those that may be looking for it:

Works like a charm.

share|improve this answer
Well the blog post is great, but it is for SP 2013 Online, not SP 2010 ON premise as in this example – Robert Lindgren Jul 1 '14 at 9:37

There are 3rd party scripts to use with NTLM, plenty on google. Take a look at nusoap.

nuSoap with NTLM example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.