Page 1 of 1

help, dont know what to do now, PHP, MS SQL Server 2005,

Posted: Mon Mar 06, 2006 6:51 pm
by RichardTaft
cant connect to database, if needed i can suply copy of php.ini file

msql and mssql dlls have been added to file holding php.exe
ini file has ben modified

anyone have time to help me with this

Posted: Mon Mar 06, 2006 6:53 pm
by feyd
does running phpinfo() show that the mssql extension is loaded?

Posted: Mon Mar 06, 2006 6:58 pm
by RichardTaft
wish i knew, here is a link to my web site,the phpinfo file

http://portlandz24.dyndns.org/info.php

Posted: Mon Mar 06, 2006 7:06 pm
by feyd

Code: Select all

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_mssql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_msql.dll' - The specified module could not be found. in Unknown on line 0
Seems like your extension directory directive isn't set right or you wrote the extension load line wrong. You have C:\php set as the extension directory, is this where the extensions are? (Normally, they are in C:\php\ext)

Posted: Mon Mar 06, 2006 7:23 pm
by RichardTaft
made the changes, ensured that the ext file was in the php\ext zone with all dlls available
still no go, any config suggestions

link to php.ini file
in winzip file
http://portlandz24.dyndns.org/portlandz24/php.zip

am using php 5

Posted: Mon Mar 06, 2006 7:26 pm
by feyd
Did you happen to use the installer version of PHP? If so, download the zip version which includes a bunch of "common" extensions that the installer does not.

Posted: Mon Mar 06, 2006 7:27 pm
by RichardTaft
grabbed both placed installer within the file then ran installer

verifyed that the required dlls are there

Posted: Mon Mar 06, 2006 7:33 pm
by feyd
So the file is at C:\php\ext\php_mssql.dll? Because the error you're getting on the phpinfo page says otherwise.

Posted: Mon Mar 06, 2006 7:37 pm
by RichardTaft
absolutely, only problem, in services i dont see anything that is php related

last ditch effort i will restart my server

Posted: Mon Mar 06, 2006 7:44 pm
by feyd
..and you've installed the Client Tools from the SQL Server CD?

Posted: Mon Mar 06, 2006 7:49 pm
by RichardTaft
as far as i could tell i have done a complete install