Hi there,
I was wondering what the recommended work flow was to generate shared
modules compatible with the binary PHP .zip/installer for Win32.
Additionally, what software would I need to use to compile my module?
Regards,
Patrick
Patrick Barnes wrote:
Hi there,
I was wondering what the recommended work flow was to generate shared
modules compatible with the binary PHP .zip/installer for Win32.Additionally, what software would I need to use to compile my module?
If you want your module to work with the stock Win32 PHP release,
you'll need MSVC6. The rest is described in the manual.
Regards,
Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz
Patrick Barnes wrote:
Hi there,
I was wondering what the recommended work flow was to generate shared
modules compatible with the binary PHP .zip/installer for Win32.Additionally, what software would I need to use to compile my module?
If you want your module to work with the stock Win32 PHP release,
you'll need MSVC6. The rest is described in the manual.
VC6 or above... VC6 is really old now, and there are newer, free,
versions of the MS compiler available.
If you're targeting PHP 5, take a look at the
README.WIN32-BUILD-SYSTEM file in the PHP source.
--Wez.
Patrick Barnes wrote:
Hi there,
I was wondering what the recommended work flow was to generate shared
modules compatible with the binary PHP .zip/installer for Win32.Additionally, what software would I need to use to compile my module?
If you want your module to work with the stock Win32 PHP release,
you'll need MSVC6. The rest is described in the manual.VC6 or above... VC6 is really old now, and there are newer, free,
versions of the MS compiler available.If you're targeting PHP 5, take a look at the
README.WIN32-BUILD-SYSTEM file in the PHP source.--Wez.
The on-line manual has also been updated to reflect the PHP 5 build system:
http://php.net/install.windows.building (based on above file writen by Wez).
Nuno
Wez,
If you want your module to work with the stock Win32 PHP release,
you'll need MSVC6. The rest is described in the manual.VC6 or above... VC6 is really old now, and there are newer, free,
versions of the MS compiler available.If you're targeting PHP 5, take a look at the
README.WIN32-BUILD-SYSTEM file in the PHP source.
The reason I asked is that modules compiled with VS2005 don't seem to
work with the stock Win32 PHP release, even after copying all the
various DLLs into place. I forget the exact error, however.
Works fine with the compiled with VS2005 PHP, though.
--Wez.
Regards,
Patrick
Yeah, we should persuade Edin to upgrade his compiler :)
--Wez.
Wez,
If you want your module to work with the stock Win32 PHP release,
you'll need MSVC6. The rest is described in the manual.VC6 or above... VC6 is really old now, and there are newer, free,
versions of the MS compiler available.If you're targeting PHP 5, take a look at the
README.WIN32-BUILD-SYSTEM file in the PHP source.The reason I asked is that modules compiled with VS2005 don't seem to
work with the stock Win32 PHP release, even after copying all the
various DLLs into place. I forget the exact error, however.Works fine with the compiled with VS2005 PHP, though.
--Wez.
Regards,
Patrick