[prev in list] [next in list] [prev in thread] [next in thread]
List: php-windows
Subject: [PHP-WIN] Re: Having problems connection PHP to MSSQL2000
From: 195.97.162.7
Date: 2003-02-28 8:08:34
[Download RAW message or body]
Thanks
I got it to work after I copied the DLL file to c:\PHP4
And added the extensions til the php.ini file.
//Anders
"Michael Power" <michaelpower@concentrix.co.uk> wrote in message
news:20030227142723.68469.qmail@pb1.pair.com...
> Did you enable the appropriate extension?
>
> If so have to given the IUSR_XXX (PHP) user permission to access/execute?
>
> Do phpinfo() to see if MSSQL is enabled...
>
> Cheers
> Mike
>
> --
> Michael Power
> Software Developer
> Concentrix Limited
> _______________________________________
>
> Helping you strengthen your customer relationships
>
> To find out more about how we can help you visit our website
> http://www.concentrix.co.uk
>
> The Technology Centre, Epinal Way,
> Loughborough, Leicestershire, LE11 3GE
> T: +44 (0)1509 235000 F: +44 (0)1509 221740
> _______________________________________
>
> > "A. Mikkelsen"
> >
> > Hi.
> >
> > I'm just installed the last PHP version on a WIN2k server with
MSSQL2000.
> > And i tried to connect to MSSQL with the following code:
> >
> > <?
> > $dbhost = "localhost";
> > $username = "sa";
> > $password = "";
> > $dbName = "license";
> > MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED
> TO
> > RESPOND."); mssql_select_db($dbName) or DIE("Table unavailable");
> > ?>
> >
> > But I keep getting the same error.
> >
> > Fatal error: Call to undefined function: mssql_connect() in
> > D:\Licens\php\main.php on line 6
> >
> > Can anybody help me ????
> >
> > //Anders
> >
> >
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic