LDAP in PHP on IIS6
If you’re struggling to get the LDAP extension to work in PHP and IIS6 then you may want to read on. In my situation both the web server and PHP were confirmed to be working fine and reading the correct php.ini. But even with the correct line enabled in the php.ini file, LDAP would refuse to show in phpinfo() output.
After some searching of my own, it turns out that IIS6 on Windows Server 2003 (possibly XP too) will not properly read the PATH variable. So if you add the path to your PHP directory to the end of PATH, the DLLs required are still not found. This looks to affect IIS6 specifically as filesystem calls to the same DLLs did find them.
The solution – add the path to your PHP install to the start or earlier in the PATH variable and restart IIS. In my experience you will now see the LDAP options appear in your phpinfo() output.
Running WordPress & PHP Behind ISA Proxy
Some things work well on their own but when mixed make your life hard. Things like Linux and PHP work very well. Microsoft ISA proxy also does a good job in a corporate MS environment. But making the two work together in a controlled environment can be an exercise in frustration.
In this post I’ll pass on the methods I found to get PHP and your Linux boxes talking out through a corporate ISA proxy server. You can then bring in RSS feeds, updates and other things in WordPress and use apt-get to update Ubuntu. Read more >>
Blog Categories
Recent Stuff
Similar Posts
Twitter Updates
- RT @stevebiddle 'Why have a sign on your cafe saying "holiday surcharge applies"?' Or "we forgot holidays in our poorly planned business"
- Ahh that's right, this is the Harry Potter where the vampire gets killed at the end
- There's a problem being the social media guinea pig. Your friends aren't there when you sign up.
- @toxaq I thought he'd be taller. And be protected from people like you
- RT @timbray: âPiracy, copyright, profit, and kiss my ass.â http://t.co/Ky2Bi8n7 I think this one worth passing on.


