Re: Compiling PHP with MS SQL Server Driver for PHP support

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
On 29 April 2010 16:59, Venkat Raman Don <[email protected]> wrote:
> Hi,
>
> My guess is that SQL team may be linking with VC9 required libraries statically and you are not. It works because you have VC9 runtime on your machine.
>
> Thanks,
> Don.
>
> -----Original Message-----
> From: Richard Quadling [mailto:[email protected]]
> Sent: Thursday, April 29, 2010 8:16 AM
> To: php-windows
> Subject: [PHP-WIN] Compiling PHP with MS SQL Server Driver for PHP support
>
> Hi.
>
> Compiling using VC9 Express Edition.
>
> I'm ending up with a php_sqlsrv.dll of 88KB
>
> The VC9 x86 nts version supplied by MS (php_sqlsrv_53_nts_vc9.dll) is 227KB.
>
> If it had been just a few bytes, then OK, but to be over 40% smaller
> is a significant difference.
>
> Any ideas?
>
> As far as I can tell, it all works just fine too!
>
> Richard.
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


Aha! Yes. Confirmed this by using Dependency Checker. Mine is
requiring MCVCR90.DLL and MS's isn't.

So, the next question is, considering all I've done to my build is
added --enable-sqlsrv=shared  (as per the README.TXT in the SVN
repository) to my configure command, what is the "right" output?

configure --disable-zts --enable-win32service=shared
--enable-debug-pack --enable-wincache=shared --without-mysql
--without-mysqli --enable-sqlsrv=shared



-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.