I had PHP installed on as CGI on a Window 2000 Server and connected to
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
more.
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
c:\Inetpub\wwwr oot\Application Dir\adodb\drive rs\adodb-mssql.inc.php on
line 327
Warning: error_log(c:/Application_tem p/errors.log): failed to open
stream: Permission denied in
c:\Inetpub\wwwr oot\Application Dir\adodb\adodb-errorhandler.in c.php on
line 68
Fatal error: mssql error: [: Connection error to server
'ServerName,SQL UserName,PWD,Da tabase' with user ''] in
PCONNECT(Server Name,SQLUserNam e,PWD,Database, '****', '****', ) in
c:\Inetpub\wwwr oot\Application Dir\adodb\adodb-errorhandler.in c.php on
line 75
Is there any changes I need to make in php.ini regarding ISAPI
installation.
I am working with PHP4
Thanks
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
more.
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
c:\Inetpub\wwwr oot\Application Dir\adodb\drive rs\adodb-mssql.inc.php on
line 327
Warning: error_log(c:/Application_tem p/errors.log): failed to open
stream: Permission denied in
c:\Inetpub\wwwr oot\Application Dir\adodb\adodb-errorhandler.in c.php on
line 68
Fatal error: mssql error: [: Connection error to server
'ServerName,SQL UserName,PWD,Da tabase' with user ''] in
PCONNECT(Server Name,SQLUserNam e,PWD,Database, '****', '****', ) in
c:\Inetpub\wwwr oot\Application Dir\adodb\adodb-errorhandler.in c.php on
line 75
Is there any changes I need to make in php.ini regarding ISAPI
installation.
I am working with PHP4
Thanks
Comment