Re: PHP4 on Windows & using MSSQL
| From: | Kevin Gordon | Date: | Fri, 21 Feb 2003 16:17:26 +0000 |
| Subject: | Re: PHP4 on Windows & using MSSQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25831@lists.php.net to get a copy of this message | ||
Hi Coolio
Accessing the Windows NT server from Windows and Linux no longer causes
session errors (which were like: can not find session file, header
already sent and something about cookies).
Trying to access Linux Server (which previously worked 100%). now gives
errors (for example: Fatal error: Call to undefined function:
pg_connect() in E:\Inetpub\wwwroot\php\PgSQL_Driver.php on line 253).
Linux Server has now got the Windows path.
My attention is really trying to resolve: Warning: SQL error:
[Microsoft][ODBC SQL Server Driver][Named Pipes]Specified SQL server not
found., SQL state 08001 in SQLConnect in
E:\Inetpub\wwwroot\php\ODBC_Driver.php on line 174
Error: failed to name the tables.
If someone is using MSSQL database and could comment on PHP.ini, perhaps
that is the area I need to work on.
Cheers for now,
Kevin Gordon
New Zealand
On Fri, 2003-02-21 at 16:23, l coolio wrote:
> Hi Kevin,
>
> Could you tell me what's wrong with the session, maybe I can help, I met
> really headache problem with session cuz my server is windows, and all my
> script working with session works fine in non-windows server, I work it out
> finally, but still not figure out what really went wrong.
>
> Coolio
>
>
>
>
>
>
> >From: Kevin Gordon <kgordon@paradise.net.nz>
> >To: php-db@lists.php.net
> >Subject: [PHP-DB] PHP4 on Windows & using MSSQL
> >Date: 20 Feb 2003 20:10:44 +1300
> >
> >I have written PHP which runs 100% on Linux & Postgresql. I have been
> >successful installing PHP4 on windows as an ISAPI MODULE. My PHP code
> >runs ok on Windows NT4 ok except:
> >(a) Session functions produce errors
> >
> >(b) I am unable to connect to MSSQL (using ODBC). The System ODBC Driver
> >tests ok.
> >
> >Any Suggestions please?
> >
> >Kevin Gordon
> >
> >
> >
> >--
> >PHP Database Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。
> http://www.hotmail.com
>
>