Reply to Re: PHP MSSQL connection problem.

Your name:

Reply:


Posted by Jerry Stuckle on 06/06/05 00:13

mj@lightfootarts.com wrote:
> Thanks for the reply Jerry. Yes I have readed ALL the user notes, and
> every group I can find on this issue. I believe that other people have
> had the same problem, and I followed the steps they tool to fix it ...
> but still no luck :(
>
> I don't get any kind of error message. For example when I run this
> code:
>
> <?php
>
> ...
>
> $connt = mssql_connect($host,$user,$password);
>
> if(!$connt)
> {
> $msg = mssql_get_last_message();
> echo $msg;
> }
>
> ...
> ?>
>
> $msg if NULL.
>
> Is there any way to tell if my mssql_connect() function is actual going
> out to the remote sever and trying to connect? OR if the function is
> failing on the local end?
>
> also, these are my MSSQL setting in my php.ini file
>
> mssql.allow_persistent = On
> mssql.max_persistent = -1
> mssql.max_links = -1
> mssql.min_error_severity = 10
> mssql.min_message_severity = 10
> mssql.compatability_mode = On
> ;mssql.connect_timeout = 5
> ;mssql.timeout = 60
> ;mssql.textlimit = 4096
> ;mssql.textsize = 4096
> ;mssql.batchsize = 0
> ;mssql.datetimeconvert = On
> mssql.secure_connection = On
> mssql.max_procs = 25
>
> Now, I don't know, but could there be something I need to setup in my
> Apache 2's httpd.conf ?
>
> Also I have ZoneAlarm allowing TCP on port 80, and 1433.
>
> I would LOVE any help on this anyone can give me, even if it is only a
> GOOD guess. I'm willing to try anything at this point.
>
> Cheers;
>
> VanMAn
>

VanMAn,

What about your php.log? And what's your error reporting? For
debugging like this you should have error_reporting=E_ALL.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация