Click to See Complete Forum and Search --> : PHP and SQL server not working


Anon
09-07-2001, 05:42 AM
Hi

I have two Servers:

1. Windows Backoffice SBS
2. Windows NT Server

PHP works perfectly fine on both servers, however when u try to run PHP with SQL on SBS, it fails to run.

PHP however runs successfully on the NT server.

The installation and configuration has been done perfectly.The php extension of php_mssql.dll is also stored in the Winnt/system32 folder.

BUT ... The Windows Backoffice SBS has its folder called Winnt.SBS\system32.Is it because of this that its crashing.

The following error occurs.
"PHP Warning: Unable to load dynamic library './php_mssql.dll' - The specified module could not be found.
in Unknown on line 0 "

Please advise

kapil

sevenmenkes
09-07-2001, 05:48 PM
That directory name may be causing a problem. To test if that is the case, move php_mssql.dll to another directory, like c:\mysqlext. Then edit your php.ini file -- find the line for extension_dir. Change the value from ./ (the default) to c:\mysqlext\

scott Menke

Anon
09-08-2001, 05:10 AM
Hi

I checked out .. doesnt work.Do you know where the default path where pho hunts for.

I tried various things but doesnt seem to work.

Kapil

Anon
09-10-2001, 06:29 AM
there is a message
"Browser error
your browser sent a malformed request you may need to configure your browser to use proxies, or you may need to change the port that your webserver is using"
my prosses system is win2000 server

Anon
09-10-2001, 09:39 AM
This has got nothing to do with the browser.
Only the SQL server connectivity is not working.In short the extensions are not able to find out the path of the DLL files on the SBS.

kapil

ogge1
09-11-2001, 08:04 AM
Have you tried escaping the \ ? like with:

C:\\WINNT\SYSTEM32\\

Have you checked file permissions. If it's an out of the BOX installation of SBS it's possible it's using NTFS on C:\

Just my thoughts. Experienced same problems with my WIN2K installation untill i moved all DLL's to C:\WINNT\SYSTEM32

/Fredrik

Anon
09-11-2001, 03:32 PM
Il try what u say ..

Ya its using NTFS.But In SBS there is no Winnt folder, u have a folder called Winnt.sbs.

The main DLL which is causing problems is the php_mssql.dll.Ive copied it both places.

kapil

Anon
09-16-2001, 10:38 AM
I have PHP 4 with the sql 7 running. I had a similar issue. What I had to do was put the dll in the same directory as the php.exe or isapi file.