and? is this correct? the dll in question is not in the folder specified there? maybe it is not named correctly?
OR could it be that there is a problem with access rights to that folder or file?
and? is this correct? the dll in question is not in the folder specified there? maybe it is not named correctly?
OR could it be that there is a problem with access rights to that folder or file?
The file exists, the path is correct, it's named correctly and it can access all the other .dll in that folder (this is also a windows system as mentioned above).
you need at least a second file called libmssql.dll or something
I just dug up this it's for mysql but I believe it might apply to your problem all the same:
Thanks but the libmysql.dll exisits and the php_mysql loads so I assumed it wasn't that but it was worth double checking and still no joy.
libmssql.dll exists also?
Bjom;10936143 wrote:libmssql.dll exists also?
Sorry I misread that however I cant find libmssql.dll on my machine or google.
Wouldn't that be shipped with MS SQL Server?
http://www.php.net/manual/en/mssql.requirements.php
Requirements for Win32 platforms.
The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the server to \winnt\system32 on the PHP box. Copying ntwdblib.dll will only provide access through named pipes. Configuration of the client will require installation of all the tools.
Requirements for Unix/Linux platforms.
To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: » http://www.freetds.org/
If you are running Apache, run a configtest to see what other errors you may get (versioning etc)
Hey,
Thanks, I found ntwdblib.dll but now I get this error;
php startup mssql unable to initialize module Module compiled with module API=20060613 PHP complied with module API=20090226
These options need to match
So I'm not sure which version I need or how to fins it tbh
In my setup i use the DLL from SQL Server 2005 for PHP 5.2.x
PHP 5.3.x and MSSQL is a HUGE PITA since they didn't provide a binary but this helped me:
http://jimmyli.net/2009/07/installing-php-53-on-microsoft-iis/
Thanks for the help everyone.
I ended up using: http://www.codeplex.com/SQLSRVPHP
After a little messing about it's working very well, the queries seem to be different but I'm getting there!
FYI: http://msdn.microsoft.com/en-us/library/cc296174%28SQL.90%29.aspx