You guys have no idea how much of a noob I really am when it comes to the workings of windows. I just don't understand the path in those instructions that avoids compilation.
Section 2.1 of those instructions lists dependencies and says "In addition you need to have Microsoft Visual Studio installed on your system."
Section 2.2 Describes how to build the extension source code.
Section 2.3 Describes how to build with PHP WIN32 Build System
Section 2.4 (in very small print) says "You can get the binary pack by downloading and extracting the binary distribution as well." I did notice that on an early reading but only managed today to download the dependency DLLs -- at least I think so.
In my defense, there are several different versions of the installation instructions, some of which point me to websites that offer no windows dll version. Also, some versions of the installation instructions don't describe a PHP Extension install but rather some kind of server daemon thing. Complicating matters is that zlib1.dll is required and I had to rename some other DLL that name (which is not mentioned at all in those instructions I linked above).
Sometimes there's a readme.txt file and sometimes there is not. This particular one is not much help for a noob trying to install a PHP extension:
libxml2 2.6.32
This is libxml2, version 2.6.32, binary package for the native Win32/IA32
platform.
The files in this package do not require any special installation
steps. Extract the contents of the archive whereever you wish and
make sure that your tools which use libxml2 can find it.
For example, if you want to run the supplied utilities from the command
line, you can, if you wish, add the 'bin' subdirectory to the PATH
environment variable.
If you want to make programmes in C which use libxml2, you'll
likely know how to use the contents of this package. If you don't, please
refer to your compiler's documentation.
If there is something you cannot keep for yourself, such as a problem,
a cheer of joy, a comment or a suggestion, feel free to contact me using
the address below.
Igor Zlatkovic (igor@zlatkovic.com)
So I tried running an older MSI installer (version 1.2.0). It didn't get my script running. It started asking for zlib1.dll so I decided it was time to start looking for dependencies. Long story short, I started trying many things and now my system is a bit of a mess I think and I almost have it working but no joy.
When I run my script from the command line I get this:
C:\crs\d>php d3.php
Phase D3 commencing
creating new WSPolicy
PHP Fatal error: Class 'WSPolicy' not found in C:\crs\d\d3.php on line 119
As it turns out, that installer doesn't come with any PHP files. So I have uninstalled v1.2.0 and begun to look elsewhere. I'm not really sure where these dependency files should live.
I have looked at the phpinfo() results and it looks like I have:
iconv v 1.9
libxml2 version 2.6.26
zlib version 1.2.3
But NO wsf. There is a reference in the pathext stuff to WSF:
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
I'm not sure if this is due to the original v.1.2.0 installer or my subsequent efforts downloading the latest windows binary.
But I'm getting this error when I try to run a script using WSF stuff:
I am LOST in determining what the heck is going on here.
My phpinfo() results refer to WSFC_HOME which is a nonexistent directory:
C:\Program Files\WSO2\WSFC\
This appears to be left over from the original v1.2.0 installer I ran. The uninstall appears to have removed it.
Anyways, I worry that I might be doing irreparable damage here. Could use a little help.