Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows

[email protected] (Richard Quadling)
Newsgroups php.internals.win
Message-ID <[email protected]>
On 22 March 2011 20:10, Michael Ridinger <[email protected]> wrote:
> I had the yaz4.dll file in the path already, but the dialogue did display
> some errors that told me what was up ...
>
> PHP Startup:  yaz:  Unable to initialize module
> Module compiled with Build ID=API20090626,TS,VC9
> PHP compiled with build ID=API20090626,NTS,VC9
>
> As you can see, I need to build the extension as non-thread-safe which I'm
> not sure how to do.  I tried configuring the make with --disable-zts but
> that didn't work.  Very close now.
>
> Thank you!
>
> Mike
>
> On Tue, Mar 22, 2011 at 10:59 AM, Richard Quadling <[email protected]>
> wrote:
>>
>> On 22 March 2011 14:07, Michael Ridinger <[email protected]> wrote:
>> > Thank you for that explanation.  I did figure out the development files
>> > were
>> > missing and included the where they needed to be.
>> >
>> > I've been able to successfully build php_yaz.dll (thank you!!!) but it
>> > doesn't work yet.  I enable it in PHP but in the error log it says it
>> > cannot
>> > load the php_yaz dll file because it cannot find the specified module.
>> >  Not
>> > sure what that means, but I am closer.  I'm unsure which module it's
>> > refering to as the php_yaz module is present.  If I remove it entirely,
>> > I
>> > get a different error, so it's not the location of php_yaz.dll itself,
>> > but
>> > of something else.
>> >
>> > Thanks again
>> >
>> > Mike
>> >
>> > On Tue, Mar 22, 2011 at 6:53 AM, Richard Quadling
>> > <[email protected]>wrote:
>> >
>> >>  On 22 March 2011 04:24, Michael Ridinger <[email protected]> wrote:
>> >> > When I attempt to do a configure --with-yaz, I get the following
>> >> > error:
>> >> >
>> >> > Checking for yaz/yaz-version.h ...  <not found>
>> >> > Checking for yaz/yaz-version.h ...  <not found>
>> >> > WARNING: yaz not enabled; libraries and headers not found
>> >> >
>> >> > I have the yaz pecl extension downloaded and in the correct spot.
>> >> >  When I
>> >> do
>> >> > a configure --help I see the option to use --with-yaz but it's asking
>> >> > for
>> >> > header files.
>> >> >
>> >> > I checked the yaz.dsp script and found it does reference header files
>> >> > but
>> >> > I've not found them anywhere.  Anyone know what is going on?
>> >> >
>> >> > Thanks for the help.
>> >> >
>> >> > Mike
>> >> >
>> >> > On Mon, Mar 21, 2011 at 8:04 PM, Richard Quadling
>> >> > <[email protected]
>> >> >wrote:
>> >> >
>> >> >>  On 21 March 2011 19:26, Michael Ridinger <[email protected]>
>> >> >> wrote:
>> >> >> > Thank you!  So, my next big question is ...
>> >> >> >
>> >> >> > After I've done the nmake and the build is complete, where's the
>> >> build?
>> >> >>  Is
>> >> >> > a .dll created somewhere?  So far, I dont see one.
>> >> >> >
>> >> >> > I have found a "Release" directory that appears to have the build
>> >> >> > in
>> >> it,
>> >> >> but
>> >> >> > it doesn't have a YAZ ext listed.  Could it still be yaz-enabled?
>> >> >> >
>> >> >> > Things are so much easier on Linux.
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> > Mike
>> >> >> >
>> >> >> > On Mon, Mar 21, 2011 at 10:25 AM, Richard Quadling <
>> >> [email protected]
>> >> >> >wrote:
>> >> >> >
>> >> >> >>  On 21 March 2011 13:32, Michael Ridinger <[email protected]>
>> >> wrote:
>> >> >> >> > One thing I'm confused about is the compiling process itself.
>> >> >> >> >
>> >> >> >> > I can compile PHP successfully but I'm not sure how to compile
>> >> >> >> > a
>> >> PECL
>> >> >> >> > package.  I just don't understand how to do that?  I've read
>> >> literally
>> >> >> >> > dozens of tutorials on how to setup the environment to compile
>> >> >> >> > PHP,
>> >> >> which
>> >> >> >> > I've done successfully, but then they stop short ot describing
>> >> >> >> > how
>> >> to
>> >> >> >> > compile a PECL package.
>> >> >> >> >
>> >> >> >> > Can it be compiled into PHP 5.3.5 or can it be compiled into a
>> >> >> >> > DLL
>> >> I
>> >> >> can
>> >> >> >> use
>> >> >> >> > for an extension or can both be done?  I'm just not real
>> >> >> >> > familiar
>> >> with
>> >> >> >> doing
>> >> >> >> > these types of things.  I don't even know how the file
>> >> >> >> > structure
>> >> >> should
>> >> >> >> be
>> >> >> >> > setup.  And, it gets even more frustrating when I download the
>> >> win32
>> >> >> PECL
>> >> >> >> > packages and find that YAZ isnt there so I have to get it with
>> >> >> >> > CSV.
>> >> >>  I'm
>> >> >> >> > just missing some key pieces.
>> >> >> >> >
>> >> >> >> > I appreciate any way you can help.
>> >> >> >> >
>> >> >> >> > Mike
>> >> >> >> >
>> >> >> >> > On Sun, Mar 20, 2011 at 4:56 PM, Michael Ridinger <
>> >> >> [email protected]
>> >> >> >> >wrote:
>> >> >> >> >
>> >> >> >> >> I've been using php_yaz for a long time with PHP 5.1 and 5.2.
>> >>  I've
>> >> >> had
>> >> >> >> to
>> >> >> >> >> setup a new server for another reason and am now using Windows
>> >> 2008R2
>> >> >> >> and
>> >> >> >> >> PHP5.2.17 or PHP5.3.5 with IIS7 and am having absolutely no
>> >> >> >> >> luch
>> >> >> getting
>> >> >> >> the
>> >> >> >> >> php_yaz package to build.  In fact, I can't get any package to
>> >> build.
>> >> >>  I
>> >> >> >> can
>> >> >> >> >> build PHP, but not any PECL packages and am totally stumped.
>> >> >> >> >>  I
>> >> tried
>> >> >> >> >> following directions/docs everywhere I could find them and
>> >> >> >> >> still
>> >> have
>> >> >> >> not
>> >> >> >> >> been able to build this extension.
>> >> >> >> >>
>> >> >> >> >> In the past, I've been able to download the extension and use
>> >> >> >> >> it
>> >> but
>> >> >> >> it's
>> >> >> >> >> not part of the PHP distribution and PECL doesn't have it as a
>> >> >> binary...
>> >> >> >> so,
>> >> >> >> >> I have to the building myself.
>> >> >> >> >>
>> >> >> >> >> Anyone know how to do this effectively?  This is very
>> >> >> >> >> important to
>> >> >> me.
>> >> >> >>  I
>> >> >> >> >> need php_yaz for Windows2008 and from what I've read, I need
>> >> >> >> >> to
>> >> >> compile
>> >> >> >> it
>> >> >> >> >> using VC9, which I did.  The one issue that's really threw me
>> >> >> >> >> is
>> >> that
>> >> >> >> >> PHP5.3.5 doesn't run as an ISAPI module but with fast-cgi.
>> >> >> >> >>  That
>> >> >> makes
>> >> >> >> the
>> >> >> >> >> package a little funky to deal with as it requires PHP5ts.dll,
>> >> which
>> >> >> >> isn't
>> >> >> >> >> part of PHP5.3.5 or PHP5.2.17.
>> >> >> >> >>
>> >> >> >> >> Obviously I'm a novice at building such things... I'm a
>> >> >> >> >> developer,
>> >> >> but
>> >> >> >> not
>> >> >> >> >> a package builder.  Can anyone help or show me how to do this
>> >> >> >> >> ...
>> >> or
>> >> >> at
>> >> >> >> the
>> >> >> >> >> very least point me in the right direction?
>> >> >> >> >>
>> >> >> >> >> Thank you
>> >> >> >> >>
>> >> >> >> >> Mike
>> >> >> >> >>
>> >> >> >> >
>> >> >> >>
>> >> >> >> Create a directory that is parallel to your php code.
>> >> >> >>
>> >> >> >> I have
>> >> >> >>
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86
>> >> >> >>  deps
>> >> >> >>  Patches
>> >> >> >>  pecl
>> >> >> >>  PHP_5_3
>> >> >> >>
>> >> >> >> In pecl, create a directory for the extension. It will need to
>> >> contain
>> >> >> >> the code from trunk, the branch or the tag that you want to
>> >> >> >> compile.
>> >> >> >>
>> >> >> >> e.g.
>> >> >> >>
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\CREDITS
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\README
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\php_yaz.c
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\yaz.dsp
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\php_yaz.h
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\config.m4
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\config.w32
>> >> >> >> L:\BuildPHP\php53dev\vc9\x86\pecl\yaz\package.xml
>> >> >> >> etc.
>> >> >> >>
>> >> >> >> When you run buildconf, the configuration of the extensions in
>> >> >> >> pecl
>> >> >> >> will be found.
>> >> >> >>
>> >> >> >> You can then include/exclude them via the configure.js script.
>> >> >> >>
>> >> >> >> If you run ...
>> >> >> >>
>> >> >> >> configure --help
>> >> >> >>
>> >> >> >> you'll see (for yaz) ...
>> >> >> >>
>> >> >> >>  --with-yaz                        YAZ support (ANSI/NISO Z39.50)
>> >> >> >>
>> >> >> >> So, you can now say ...
>> >> >> >>
>> >> >> >> configure --with-yaz=shared
>> >> >> >>
>> >> >> >> (for example - missing out a lot of other options).
>> >> >> >>
>> >> >> >> And when you then run nmake, you'll get yaz compiled.
>> >> >> >>
>> >> >> >> I've not tried it (as I'm a bit slow on these things), but there
>> >> >> >> is a
>> >> >> >> mechanism called phpize which I think it a process to compile a
>> >> >> >> PHP
>> >> >> >> extension without the need to do a full build of PHP.
>> >> >> >>
>> >> >> >> Richard.
>> >> >> >>
>> >> >> >> --
>> >> >> >> Richard Quadling
>> >> >> >> Twitter : EE : Zend
>> >> >> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>> >> >> >>
>> >> >> >
>> >> >>
>> >> >> I'm at home at the moment and don't have a build environment for
>> >> >> PHP.
>> >> >>
>> >> >> But, I run nmake install to create a usable installation of php in
>> >> c:\php
>> >> >>
>> >> >> I think the extension is available in Release\pecl\yaz.
>> >> >>
>> >> >> Typing ...
>> >> >>
>> >> >> dir php_yaz.dll /s /b
>> >> >>
>> >> >> should help you find the extension very quickly.
>> >> >>
>> >> >>
>> >> >>
>> >> >> From a unix perspective ... I've no idea. I was of the understanding
>> >> >> that the process was the same...
>> >> >>
>> >> >> buildconf
>> >> >> configure xxxxxx
>> >> >> nmake
>> >> >>
>> >> >> (more or less).
>> >>
>> >> The pecl extensions are, in the main, just a glue/layer between PHP
>> >> and the corresponding library. PHP is NOT responsible for maintaining
>> >> Yaz, just the php <-> yaz extension.
>> >>
>> >> To get the extension compilable from source, you need to include
>> >> appropriate header files from the yaz project (nothing to do with
>> >> PHP).
>> >>
>> >> I got mine from http://ftp.indexdata.dk/pub/yaz/win32/. I'd used the
>> >> 4.1.2, but I see that this is now upgraded to 4.1.7.
>> >>
>> >> Download the package you want and install it. You'll need to make sure
>> >> you install the YAZ Development element as this contains the headers
>> >> and library files required by PHP to build the php_yaz extension.
>> >> Again, just to be clear, PHP is not going to be compiling/building
>> >> YAZ. You install that as normal. PHP is only building the php_yaz
>> >> extension which requires headers and libraries to be able to interact
>> >> with the yaz application.
>> >>
>> >> Once you've installed Yaz, copy C:\Program Files\Yaz\include and
>> >> C:\Program Files\Yaz\lib to the deps directory (Mine is on a different
>> >> server L:\BuildPHP\php53dev\vc9\x86\deps).
>> >>
>> >> Now, you run ...
>> >>
>> >> buildconf
>> >> config.nice
>> >> nmake
>> >>
>> >>
>> >> config.nice is just a shortcut to all the configure options you last
>> >> used (except when using configure --help). It saves you having to type
>> >> configure --abc --def --xyz every time you want to run configure.
>> >>
>> >> See how you get on with this.
>> >>
>> >>
>> >>
>> >> Richard.
>> >>
>> >>
>> >> --
>> >> Richard Quadling
>> >> Twitter : EE : Zend
>> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>> >>
>> >
>>
>> He he.
>>
>> Getting there...
>>
>> OK. So now that we have built php_yaz.dll, do you remember that I said
>> that php_yaz.dll is the glue between PHP and YAZ?
>>
>> One of the dependencies of php_yaz.dll is the actual yaz runtime
>> library (yaz4.dll).
>>
>> The fact that PHP (via php_yaz.dll) isn't finding the library suggests
>> that C:\Program Files\YAZ\bin isn't in the path.
>>
>> If you try ...
>>
>> php -ddisplay_startup_errors=1 -m
>>
>> You should see 2 dialogues. The first is the important one and
>> reflects the comments I've just made.
>>
>> "The application has failed to start because yaz4.dll was not found.
>> Re-installing the application may fix the problem."
>>
>> Actually, re-installing won't make any difference. Instead add
>> C:\Program Files\YAZ\bin to your path.
>>
>> SET PATH=%PATH%;C:\Program Files\YAZ\bin
>> PHP -ddisplay_startup_errors=1 -dextension=php_yaz.dll -m
>>
>> and I get output of ...
>>
>> [PHP Modules]
>> bcmath
>> calendar
>> com_dotnet
>> Core
>> ctype
>> curl
>> date
>> dom
>> ereg
>> filter
>> ftp
>> hash
>> iconv
>> json
>> libxml
>> mcrypt
>> mhash
>> mysqlnd
>> odbc
>> openssl
>> pcre
>> PDO
>> pdo_mysql
>> Phar
>> Reflection
>> session
>> SimpleXML
>> SPL
>> standard
>> tokenizer
>> wddx
>> xml
>> xmlreader
>> xmlwriter
>> yaz
>> zip
>> zlib
>>
>> If you need notes on how to add a directory to the PATH, please take a
>> look at
>> http://uk.php.net/manual/en/faq.installation.php#faq.installation.addtopath,
>> substituting C:\PHP for C:\Program Files\YAZ\bin
>>
>> Regards,
>>
>> Richard.
>>
>> --
>> Richard Quadling
>> Twitter : EE : Zend
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
>

What error did you get for the --disable-zts build?

Here is my config.nice.bat file ...

cscript /nologo configure.js  "--disable-zts" "--with-prefix=C:\PHP5"
"--enable-cli-win32" "--enable-crt-debug" "--enable-debug-pack"
"--enable-lzf-better-compression=yes" "--enable-bbcode=shared"
"--enable-exif=shared" "--enable-fileinfo=shared"
"--enable-igbinary=shared" "--enable-inclued=shared"
"--enable-intl=shared" "--enable-jarowinkler=shared"
"--enable-lzf=shared" "--enable-mbstring=shared"
"--enable-mschart=shared" "--enable-pdo=shared"
"--enable-printer=shared" "--enable-rar=shared"
"--enable-shmop=shared" "--enable-soap=shared"
"--enable-sockets=shared" "--enable-spl_types=shared"
"--enable-sqlsrv=shared" "--enable-timezonedb=shared"
"--enable-win32service=shared" "--enable-wincache=shared"
"--with-bz2=shared" "--with-curl=shared" "--with-gd=shared"
"--with-gettext=shared" "--with-gmp=shared" "--with-imagick=shared"
"--with-imap=shared" "--with-ldap=shared" "--with-mcrypt"
"--with-mhash=shared" "--with-mp=auto" "--with-mysqli=shared"
"--with-openssl" "--with-pdo-mysql=mysqlnd" "--with-pdo-odbc=shared"
"--with-pdo-sqlite=shared" "--with-pdo-sqlsrv=shared"
"--with-snmp=shared" "--with-sqlite=shared" "--with-sqlite3=shared"
"--with-tidy=shared" "--with-xdebug=shared" "--with-xmlrpc=shared"
"--with-xsl=shared" "--with-yaz=shared" "--without-t1lib" %*

The output from config.nice.bat is ...


cscript /nologo configure.js  "--disable-zts" "--with-prefix=C:\PHP5"
"--enable-cli-win32" "--enable-crt-debug" "--enable-debug-pack"
"--enable-lzf-better-compression=yes" "--enable-bbcode=shared"
"--enable-exif=shared" "--enable-fileinfo=shared"
"--enable-igbinary=shared" "--enable-inclued=shared"
"--enable-intl=shared" "--enable-jarowinkler=shared"
"--enable-lzf=shared" "--enable-mbstring=shared"
"--enable-mschart=shared" "--enable-pdo=shared"
"--enable-printer=shared" "--enable-rar=shared"
"--enable-shmop=shared" "--enable-soap=shared"
"--enable-sockets=shared" "--enable-spl_types=shared"
"--enable-sqlsrv=shared" "--enable-timezonedb=shared"
"--enable-win32service=shared" "--enable-wincache=shared"
"--with-bz2=shared" "--with-curl=shared" "--with-gd=shared"
"--with-gettext=shared" "--with-gmp=shared" "--with-imagick=shared"
"--with-imap=shared" "--with-ldap=shared" "--with-mcrypt"
"--with-mhash=shared" "--with-mp=auto" "--with-mysqli=shared"
"--with-openssl" "--with-pdo-mysql=mysqlnd" "--with-pdo-odbc=shared"
"--with-pdo-sqlite=shared" "--with-pdo-sqlsrv=shared"
"--with-snmp=shared" "--with-sqlite=shared" "--with-sqlite3=shared"
"--with-tidy=shared" "--with-xdebug=shared" "--with-xmlrpc=shared"
"--with-xsl=shared" "--with-yaz=shared" "--without-t1lib"
Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
  Detected compiler MSVC9 (Visual C++ 2008)
  Detected 32-bit compiler
Checking for link.exe ...  C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
Checking for nmake.exe ...  <in default path>
Checking for lib.exe ...  <in default path>
Checking for bison.exe ...  <in default path>
Checking for re2c.exe ...  <in default path>
  Detected re2c version 0.13.5
Checking for zip.exe ...  <in default path>
Checking for lemon.exe ...  <in default path>
Checking for mc.exe ...  C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin
Checking for mt.exe ...  C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin

Build dir: Release
PHP Core:  php5.dll and php5.lib

Checking for wspiapi.h ...  <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Enabling SAPI sapi\cli
Enabling extension ext\bcmath
Checking for library libbz2_a.lib;libbz2.lib ... ..\deps\lib\libbz2_a.lib
Checking for bzlib.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\bz2 [shared]
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ...  <in default path>
Enabling extension ext\ctype
Checking for library libcurl_a.lib;libcurl.lib ... ..\deps\lib\libcurl_a.lib
Checking for curl/easy.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library ssleay32.lib ... ..\deps\lib\ssleay32.lib
Checking for library libeay32.lib ... ..\deps\lib\libeay32.lib
Checking for library winmm.lib ... <in LIB path> WinMM.Lib
Checking for library wldap32.lib ... <in LIB path> Wldap32.Lib
Enabling extension ext\curl [shared]
Enabling extension ext\date
Enabling extension ext\ereg
Checking for dirent.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library dirent_a.lib ... ..\deps\lib\dirent_a.lib
Enabling extension ext\fileinfo [shared]
Enabling extension ext\filter
Enabling extension ext\ftp
Checking for library libjpeg_a.lib;libjpeg.lib ... ..\deps\lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... ..\deps\lib\freetype_a.lib
Checking for library libpng_a.lib;libpng.lib ... ..\deps\lib\libpng_a.lib
Checking for gd.h ...  ext\gd\libgd
Checking for png.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include\libpng12
Checking for library libiconv_a.lib;libiconv.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Checking for library libintl_a.lib;libintl.lib ... ..\deps\lib\libintl_a.lib
Checking for libintl.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\gettext [shared]
Checking for library mpir_a.lib ... ..\deps\lib\mpir_a.lib
Checking for gmp.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include\mpir
Enabling extension ext\gmp [shared]
Enabling extension ext\hash
Checking for library libiconv_a.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\iconv
Checking for library cclient_a.lib;cclient.lib ... ..\deps\lib\cclient_a.lib
Checking for c-client.h ...  <not found>
Checking for c-client.h ...  <not found>
Checking for c-client/c-client.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library winmm.lib ... <in LIB path> WinMM.Lib
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Checking for library Secur32.lib ... <in LIB path> Secur32.Lib
Checking for library crypt32.lib ... <in LIB path> Crypt32.Lib
Enabling extension ext\imap [shared]
AC_DEFINE[HAVE_NEW_MIME2TEXT]=1: is already defined to 1
Checking for library icuuc.lib ... ..\deps\lib\icuuc.lib
Checking for unicode/utf.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\intl [shared]
Enabling extension ext\json
Checking for ldap.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include\openldap
Checking for lber.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include\openldap
Checking for library ssleay32.lib ... ..\deps\lib\ssleay32.lib
Checking for library libeay32.lib ... ..\deps\lib\libeay32.lib
Checking for library oldap32_a.lib ... ..\deps\lib\oldap32_a.lib
Checking for library olber32_a.lib ... ..\deps\lib\olber32_a.lib
Checking for library libsasl.lib ... <not found>
Enabling extension ext\ldap [shared]
Enabling extension ext\mbstring [shared]
Checking for mcrypt.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library libmcrypt_a.lib;libmcrypt.lib ...
..\deps\lib\libmcrypt_a.lib
Checking for library Advapi32.lib ... <in LIB path> AdvAPI32.Lib
Enabling extension ext\mcrypt
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib
Checking for sql.h ...  <in default path>
Checking for sqlext.h ...  <in default path>
Enabling extension ext\odbc
Checking for library ssleay32.lib ... ..\deps\lib\ssleay32.lib
Checking for library libeay32.lib ... ..\deps\lib\libeay32.lib
Checking for openssl/ssl.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\openssl
Enabling extension ext\pcre
Enabling extension ext\reflection
Enabling extension ext\session
Enabling extension ext\shmop [shared]
Checking for snmp.h ...  <in default path>
Checking for library netsnmp.lib ... ..\deps\lib\netsnmp.lib
Enabling extension ext\snmp [shared]
Checking for library libeay32.lib ... ..\deps\lib\libeay32.lib
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Checking for winsock.h ...  <in default path>
Enabling extension ext\sockets [shared]
Enabling extension ext\spl
Enabling extension ext\sqlite3 [shared]
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ext\standard
Checking for library libtidy_a.lib;libtidy.lib ... ..\deps\lib\libtidy_a.lib
Checking for tidy.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\tidy [shared]
Enabling extension ext\tokenizer
Checking for zlib.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\zip
Checking for library zlib_a.lib;zlib.lib ... ..\deps\lib\zlib_a.lib
Checking for zlib.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\zlib
Enabling extension ..\pecl\bbcode [shared]
Checking for wand/MagickWand.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library CORE_RL_wand_.lib ... ..\deps\lib\CORE_RL_wand_.lib
Checking for library CORE_RL_magick_.lib ... ..\deps\lib\CORE_RL_magick_.lib
Enabling extension ..\pecl\imagick [shared]
Enabling extension ..\pecl\inclued [shared]
Enabling extension ..\pecl\lzf [shared]
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for .Net 2 ... C:\WINDOWS\Microsoft.net\Framework\v2.0.50727
Checking for .Net 4 ... C:\WINDOWS\Microsoft.net\Framework\v4.0.30319
Enabling extension ..\pecl\mschart [shared]
Enabling extension ..\pecl\php_jarowinkler-0.1 [shared]
Checking for library winspool.lib ... <in LIB path> WinSpool.Lib
Checking for library gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ..\pecl\printer [shared]
Enabling extension ..\pecl\rar [shared]
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib
Checking for library version.lib ... <in LIB path> Version.Lib
Checking for library psapi.lib ... <in LIB path> Psapi.Lib
Enabling extension ..\pecl\sqlsrv [shared]
Checking for sql.h ...  <in default path>
Checking for sqlext.h ...  <in default path>
Checking for sqlncli.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ..\pecl\timezonedb [shared]
Enabling extension ..\pecl\win32service [shared]
Enabling extension ..\pecl\wincache [shared]
Enabling extension ..\pecl\xdebug [shared]
Checking for yaz/yaz-version.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for library yaz4.lib ... ..\deps\lib\yaz4.lib
Enabling extension ..\pecl\yaz [shared]
Checking for library libxml2_a_dll.lib;libxml2_a.lib ...
..\deps\lib\libxml2_a_dll.lib
Checking for library libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib
... ..\deps\lib\libiconv_a.lib
Checking for libxml/parser.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\libxml
Enabling extension ext\dom
Enabling extension ext\exif [shared]
Enabling extension ext\mysqli [shared]
	mysqlnd build
Enabling extension ext\pdo
INFO: mysqlnd build
Enabling extension ext\pdo_mysql
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib
Checking for sql.h ...  <in default path>
Checking for sqlext.h ...  <in default path>
Enabling extension ext\pdo_odbc [shared]
Enabling extension ext\pdo_sqlite [shared]
Enabling extension ext\phar
        Native OpenSSL support in Phar enabled
Enabling extension ext\simplexml
Enabling extension ext\soap [shared]
Enabling extension ext\sqlite [shared]
Enabling extension ext\wddx
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ext\xml
Enabling extension ext\xmlreader
Checking for xmlrpc.h ...  ext\xmlrpc/libxmlrpc
Checking for iconv.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\xmlrpc [shared]
Checking for libxml/xmlwriter.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\xmlwriter
Checking for library libxslt_a.lib ... ..\deps\lib\libxslt_a.lib
Checking for library libexslt_a.lib ... ..\deps\lib\libexslt_a.lib
Checking for libxslt\xslt.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Checking for libexslt\exslt.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ext\xsl [shared]
Checking for apc_serializer.h ...  <not found>
Checking for apc_serializer.h ...  <not found>
Enabling extension ..\pecl\igbinary [shared]
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib
Checking for library version.lib ... <in LIB path> Version.Lib
Checking for library psapi.lib ... <in LIB path> Psapi.Lib
Enabling extension ..\pecl\pdo_sqlsrv [shared]
Checking for sql.h ...  <in default path>
Checking for sqlext.h ...  <in default path>
Checking for sqlncli.h ...  D:\BuildPHP\php53dev\vc9\x86\deps\include
Enabling extension ..\pecl\spl_types [shared]

Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
	[content unchanged; skipping]
Generating main/config.w32.h
Generating phpize
Done.



Enabled extensions:
-------------------------
| Extension    | Mode   |
-------------------------
| bbcode       | shared |
| bcmath       | static |
| bz2          | shared |
| calendar     | static |
| com_dotnet   | static |
| ctype        | static |
| curl         | shared |
| date         | static |
| dom          | static |
| ereg         | static |
| exif         | shared |
| fileinfo     | shared |
| filter       | static |
| ftp          | static |
| gd           | shared |
| gettext      | shared |
| gmp          | shared |
| hash         | static |
| iconv        | static |
| igbinary     | shared |
| imagick      | shared |
| imap         | shared |
| inclued      | shared |
| intl         | shared |
| jarowinkler  | shared |
| json         | static |
| ldap         | shared |
| libxml       | static |
| lzf          | shared |
| mbstring     | shared |
| mcrypt       | static |
| mschart      | shared |
| mysqli       | shared |
| mysqlnd      | static |
| odbc         | static |
| openssl      | static |
| pcre         | static |
| pdo          | static |
| pdo_mysql    | static |
| pdo_odbc     | shared |
| pdo_sqlite   | shared |
| pdo_sqlsrv   | shared |
| phar         | static |
| printer      | shared |
| rar          | shared |
| reflection   | static |
| session      | static |
| shmop        | shared |
| simplexml    | static |
| snmp         | shared |
| soap         | shared |
| sockets      | shared |
| spl          | static |
| spl_types    | shared |
| sqlite       | shared |
| sqlite3      | shared |
| sqlsrv       | shared |
| standard     | static |
| tidy         | shared |
| timezonedb   | shared |
| tokenizer    | static |
| wddx         | static |
| win32service | shared |
| wincache     | shared |
| xdebug       | shared |
| xml          | static |
| xmlreader    | static |
| xmlrpc       | shared |
| xmlwriter    | static |
| xsl          | shared |
| yaz          | shared |
| zip          | static |
| zlib         | static |
-------------------------


Enabled SAPI:
-------------
| Sapi Name |
-------------
| cgi       |
| cli       |
| cli_win32 |
-------------


-------------------------------------------
|               |                         |
-------------------------------------------
| Build type    | Release                 |
| Thread Safety | No                      |
| Compiler      | MSVC9 (Visual C++ 2008) |
| Architecture  | x86                     |
-------------------------------------------


Type 'nmake' to build PHP

When you built PHP with the disable-zts, did you copy the DLL from
Release? or from Release_TS?

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.