What’s happening with the PHP distribution on Windows?
I installed 4 different versions using default settings and none of them worked, at all.
Two of them complained about missing OCI.dll and the other one about missing zlib.dll.
This is a Windows 7 x64 machine and PHP directory was in PATH as requested – I double checked.
The fun part is that http://windows.php.net even have a qa section but none of the builds that are on the front-page is working and they are supposed to being passed the QA stage :p
PS. Please do not ask why I am trying to use it on Windows, is only for scientific purposes 😉
If i remember well the problem is that basically all extensions are enabled by default after the install if you do nothing, even theses needing proprietary dlls (like the pdo oracle one).
If you hand-pick the few extensions that you need most of the time it’s either working directly or the dlls to use are pretty simple to find.
On my win7 x64 the following extensions are commented in my php.ini and i commented only the one that didn’t want to load :
They are at the end of the file in lot of small ini sections.
Placing it in path is not necessary at all (and have never been necessary in fact, it’s just easier now), a correct install could be done properly in Program Files as most software.
Or as you said in your comment you could use a version of php working with IIS directly pre-packaged like the one from microsoft. But i personally prefer to keep apache even on windows to be able to use mod_rewrite and
.htaccessfiles (as my final target is an apache install under linux)