Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP-SQL connection Failure.
September 9, 2004, 6:01 pm
rate this thread
an MSSQL 2000 on another server. Both server were upgraded to Windows
Server 2003 and problems developed that I could no longer run PHP any
What I did next was to uninstall PHP and re-installed it as ISAPI, and
make necessary configurations in Windows Server 2003. PHP seems to
work fine now on my applications are having problem connection to
MSSQL. One thing to note here is that I am using the old php.ini as it
has been adapted to the application.
The problem has to do with connection failure as shown below:
Warning: mssql_pconnect(): Unable to connect to server: ServerName in
Warning: error_log(c:/Application_temp/errors.log): failed to open
stream: Permission denied in
Fatal error: mssql error: [: Connection error to server
'ServerName,SQLUserName,PWD,Database' with user ''] in
PCONNECT(ServerName,SQLUserName,PWD,Database, '****', '****', ) in
Is there any changes I need to make in php.ini regarding ISAPI
I am working with PHP4
- Janwillem Borleffs
September 10, 2004, 3:20 am