Check your "php.ini" file in your C:\WINNT directory.  Make sure that you
have php_mssql.dll extension uncommented in your php.ini file.  Then check
to see where the php.ini is looking for the extensions.  If you installed
PHP in C:\PHP, then the line for extension_dir in your php.ini file would
be: extension_dir = C:/PHP/extensions

Once you have all that checked, then I would go to a command prompt and get
into the PHP directory.  From the PHP directory, run the command: php -i and
see if any error dialog boxes appear.  If you get errors, then it's most
likely telling you that it can't find the appropriate dll files used to
connect to SQL Server.  To remedy this you can add the following to your
Windows PATH variable: C:\PHP\dlls;   This, again, is assuming you have PHP
installed on C:\

Hope that gets you pointed in the right direction.

Joshua Hoover

----- Original Message -----
From: "pong-TC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 5:17 PM
Subject: [PHP] Problem with MSSQL


> Hello All
>
> I just reinstalled PHP 4.1.1 on IIS5 (win2000) over the old version by
> using the installer.  I installed as a cgi.  Then, I got problems with
> mssql_connect function.  It doesn't work as it did before.  Here is the
> error message:
>
> Fatal error: Call to undefined function: mssql_connect() in
> d:\inetpub\wwwroot\cgi-bin\Submitted.php on line 25
>
> It is my mistake that I reinstalled without realization.  So, I got a
> trouble.  Anyone, please help.
>
> Thank you.
> Pong
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to