In my windows PHP installation i have to uncomment i line in the php.ini
file that has something like:

;extension=mssql.dll

you have to configure your php ini file.

Set extensions dir and uncomment the mssql.dll (you will probably have
mssql.so or something like that)

In my case the dll's where included by default in my installation.

I remeber that there was a section in the php.ini in which you could
configure some mssql params but i dont remeber if that was needed. it looks
like:

[mssql]
mssql.xxxxx=xxxx
mssql.xxxxx=xxxx

I didnt need to do any compilation to make it work, just uncommented some
lines and set the extensions dirs.

See your phpinfo() and look if the mssql was loadded (of curse it wasnt
because you had that error message.)

hope it helps.

----- Original Message -----
From: "Stanley Chan" <[EMAIL PROTECTED]>
To: "Robert Munteanu" <[EMAIL PROTECTED]>
Cc: "Lukas Smith" <[EMAIL PROTECTED]>; "PEAR general list"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 19, 2004 3:18 PM
Subject: [PHP-DB] Re: [PEAR] DB Module Extension Problem


> Hi Robert,
>
> Thanks for your information. Does it mean that PEAR:DB
> is not fully independent module? It still requires
> some special compilation in PHP compiler.
>
> -stan
>
>  --- Robert Munteanu <[EMAIL PROTECTED]>
> 的郵件內容:> On Mon, 2004-01-19 at 10:40, Stanley
> Chan wrote:
> > > Hi Lukas,
> > >
> > > Do you mean that there are some tricky steps I
> > should
> > > follow? Might I know where I can get the
> > information?
> > >
> > > Thanks,
> > > -stanley
> > >
> > The manual helps, as always:
> > http://www.php.net/manual/en/ref.mssql.php
> > >
> > >  --- Lukas Smith <[EMAIL PROTECTED]>
> > > ???隞嗅?摰對?> Stanley Chan wrote:
> > > >
> > > > > Hi friends,
> > > > >
> > > > > My program runs on a Linux Server (RH 7.3)
> > with
> > > > PHP
> > > > > 4.3.2. I also installed a package of PEAR::DB
> > > > > 1.5.0RC2.
> > > > >
> > > > > My program is supposed to connect to a remote
> > > > > Microsoft SQL Server 2000, so I make a DSN
> > like
> > > > this
> > > > >
> > > > > mssql://user:[EMAIL PROTECTED]/dbname
> > > > >
> > > > > When I try to connect, it prompts:
> > > > >
> > > > > DB Error: extension not found
> > > >
> > > > this error tries to tell you that you are
> > missing
> > > > the needed extensions
> > > > in your php installation.
> > > >
> > > > mssql installation is somewhat non trivial.
> > either
> > > > way its a question
> > > > best asked on php-general@ or php-db@
> > > >
> > > > regards,
> > > > Lukas Smith
> > > > [EMAIL PROTECTED]
> > > > _______________________________
> > > >   BackendMedia
> > > >   www.backendmedia.com
> > > >   [EMAIL PROTECTED]
> > > >
> > > >   Linn Zwoch Smith GbR
> > > >   Pariser Str. 44
> > > >   D-10707 Berlin
> > > >
> > > >   Tel +49 30 83 22 50 00
> > > >   Fax +49 30 83 22 50 07
> > > >
> > > > --
> > > > PEAR General Mailing List (http://pear.php.net/)
> > > > To unsubscribe, visit:
> > http://www.php.net/unsub.php
> > > >
> > >
> > >
> >
> _________________________________________________________
> > > Shining Friends??末敹?末?晞?革???甇?..
> > > 瘚芣憤?渲?  ?????鼠
> > > http://ringtone.yahoo.com.hk/
> > --
> > Robert Munteanu <[EMAIL PROTECTED]>
> >
>
> _________________________________________________________
> Shining Friends、好心好報、歲月如歌...
> 浪漫鈴聲  情心連繫
> http://ringtone.yahoo.com.hk/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to