php-windows Digest 21 Dec 2008 16:33:12 -0000 Issue 3550
Topics (messages 29109 through 29112):
Re: ntwdblib.dll not found in any of the 5.2.8 zip files
29109 by: Niel Archer
Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
29110 by: Fred Silsbee
mbstring
29111 by: M. Bolton
29112 by: Elizabeth M Smith
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
> ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect not
> found
>
> I used the ntwdblib.dll file from a 5.2.6 zip file
>
> I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I
> still get the following error:
>
> Warning: mssql_connect() [function.mssql-connect]: Unable to connect to
> server: .\SQLEXPRESSLMKIII in C:\Inetpub\wwwroot\trymssql.php on line 8
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> C:\Inetpub\wwwroot\trymssql.php on line 8
Like many people I have an aversion to any software starting "MS", but
it took me less than 2 minutes to find the answer to your problem.
http://uk3.php.net/manual/en/mssql.setup.php
"Copying ntwdblib.dll will only provide access through named pipes.
Configuration of the client will require installation of all the tools."
...
"The Client Tools can be installed from the MS SQL Server CD"
--
Niel Archer
--- End Message ---
--- Begin Message ---
--- On Sat, 12/20/08, Fergus Gibson <fgibso...@gmail.com> wrote:
> From: Fergus Gibson <fgibso...@gmail.com>
> Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
> To: fredsils...@yahoo.com
> Date: Saturday, December 20, 2008, 6:06 PM
> On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
> <fredsils...@yahoo.com> wrote:
> > ntwdblib.dll proves to be necessary...otherwise
> I'll get a mssql_connect not found
> > I used the ntwdblib.dll file from a 5.2.6 zip file
>
> This resource might help:
>
> http://www.userscape.com/helpdesk/index.php?pg=kb.page&id=13
>
> According to the information there and on the forum thread
> they link,
> the problem you have is likely that the ntwdblib.dll is the
> wrong
> version. They say you can find the correct DLL in the
> system32
> directory on the SQL Server. If you copy that to your
> extension dir,
> you should be good.
YOU ARE THE MAIN MAN! THAT WORKED! THE CORRECT VERSION SHOULD BE
INCLUDED IN THE 5.2.8 ZIP FILE
--- End Message ---
--- Begin Message ---
I am using php 5.2 with mysql 5 and I would like to initiate mbstring with
gd2 for use with webasyst.
I have added c:\php to windows path and in the php.ini the session_mbstring
and session_gd is activated. the php_gd2.dll is in the right place. But when
I let the webasyst install script check, I get the answer that there is no
mbstring and no gd support installed. Anny ideas?
Thanks in advance.
--- End Message ---
--- Begin Message ---
M. Bolton wrote:
I am using php 5.2 with mysql 5 and I would like to initiate mbstring
with gd2 for use with webasyst.
I have added c:\php to windows path and in the php.ini the
session_mbstring and session_gd is activated. the php_gd2.dll is in the
right place. But when I let the webasyst install script check, I get the
answer that there is no mbstring and no gd support installed. Anny ideas?
Thanks in advance.
to active extensions you need to have
extension=php_gd2.dll
extension-php_mbstring.dll
In your php.ini - I have no idea what "session_mbstring" but it has
nothing to do with loading extensions.
thanks
Elizabeth Smith
p.s. - make sure you check phpinfo(); and check the php.ini file that is
being loaded
--- End Message ---