wampserver 2.2D + sql server ...no luck (tried all)
Posted by: earthdog (79.107.174.---)
Date: March 20, 2012 08:42PM

Hi!

Tried all versions of the ms dlls (vc6 , vc9 ,ts ,nts)..also tried v2.0 and v3.0 of the ms .dlls for SQL Server.

Every time i added the lines in the php.ini (the correct one in apache folder) and restarted the server..

apache error log always showd something like this:

====

PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\wamp\\bin\\php\\php5.3.10\\ext\\php_pdo_sqlsrv_53_ts_vc9.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:\wamp\bin\php\php5.3.10\ext\php_pdo_sqlsrv_53_ts_vc9.dll' - %1 is not a valid Win32 application.
in <b>Unknown</b> on line <b>0</b><br />
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\wamp\\bin\\php\\php5.3.10\\ext\\php_sqlsrv_53_ts_vc9.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:\wamp\bin\php\php5.3.10\ext\php_sqlsrv_53_ts_vc9.dll' - %1 is not a valid Win32 application.
======

any ideas please?

Elias

Options: ReplyQuote
Re: wampserver 2.2D + sql server ...no luck (tried all)
Posted by: stevenmartin99 (Moderator)
Date: March 20, 2012 08:44PM

Wamp 32 or 64?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: wampserver 2.2D + sql server ...no luck (tried all)
Posted by: earthdog (79.107.174.---)
Date: March 20, 2012 09:02PM

sorry didnt say..

windows server 2008 r2 64 bit, and i have installed the 64bit version....

i think that the ts vc9 version should work..but it doesnt...

reinstalled the vc_redist just now but still nothing...

Options: ReplyQuote
Re: wampserver 2.2D + sql server ...no luck (tried all)
Posted by: earthdog (79.107.174.---)
Date: March 20, 2012 09:09PM

maybe i should install 32bit wamp?

Options: ReplyQuote
Re: wampserver 2.2D + sql server ...no luck (tried all)
Posted by: stevenmartin99 (Moderator)
Date: March 20, 2012 09:11PM

of course you should.. all these extensions are 32bit.

and you need the ts vc9

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 03/20/2012 09:11PM by stevenmartin99.

Options: ReplyQuote
Re: wampserver 2.2D + sql server ...no luck (tried all)
Posted by: earthdog (79.107.174.---)
Date: March 21, 2012 05:16AM

I did install 32 bit and the drivers are loading..

I left it over night to go to sleep...

today i restarted wampserver and in phpinfo i am getting only the default extensions loading....not even mysql

extension_dir is ok and the php.ini is also ok (the one in apache folder).

No other php.ini are loading.

What can be wrong?

p.s. i even restarted the server itself.

Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.