Re: Ms SQL.
| From: | Bruno Gimenes Pereti | Date: | Thu, 22 Nov 2001 17:15:47 +0000 |
| Subject: | Re: Ms SQL. | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14543@lists.php.net to get a copy of this message | ||
Matt,
I've never worked with mandrake. Does it have rpm? if yes try this, in a
redhat I have php with mysql support I get this output:
# rpm -qa | grep php
php-4.0.4pl1-9
php-manual-4.0.4pl1-9
php-mysql-4.0.4pl1-9
probably there is a packet manager in mandrake, try it.
I think this is getting off-topic, let's continue in pvt. When we get the
solution you can send it back to the list.
Bruno.
----- Original Message -----
From: "Matt Lemon" <matthew.lemon@williamfry.ie>
To: <php-db@lists.php.net>
Sent: Thursday, November 22, 2001 2:30 PM
Subject: Re: [PHP-DB] Ms SQL.
> Bruno,
>
> I installed mandrake and the PHP support was built in so I guess that it's
> a recompile. How do I do that ?
>
> Matt
>
>
> Bruno Gimenes Pereti wrote:
>
> > Hi matthew,Bruno Gimenes Pereti wrote:
>
> > Hi matthew,
> >
> > you probably don't have the file php_mssql.so in your extension dir, do
> > you?
> >
> > 2 options:
> > - compile php with mssql support (might be ./configure --with-mssql ...)
> > or - if you installed from packet (rpm for example) you can install the
> > packet for mssql (it should be something like php_mssql.version.rpm)
> >
> > Bruno Gimenes Pereti.
> >
> > ----- Original Message -----
> > From: "Matt Lemon" <matthew.lemon@williamfry.ie>
> > To: <php-db@lists.php.net>
> > Sent: Thursday, November 22, 2001 3:08 PM
> > Subject: [PHP-DB] Ms SQL.
> >
> >
> >> I'm trying to get my linux server to connect to an MS SQL server via
php.
> >> If I run the same script on my windows laptop there is no problem but
on
> >> the Linux server I get the message :
> >>
> >> Fatal error: Call to undefined function: mssql_connect() in
> >> /var/www/html/stationary/index.php on line 49
> >>
> >> I edited /etc/php.ini and uncommented the line that loads the mssql
> > module,
> >> it reads :
> >>
> >> extension = php_mssql.so
> >>
> >> Phpinfo() doesn't say that the SQL support is enabled and I still get
the
> >> error.
> >>
> >> Please help !
> >>
> >> --
> >> PHP Database Mailing List (http://www.php.net/)
> >> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> >> For additional commands, e-mail: php-db-help@lists.php.net
> >> To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>
> >
> > you probably don't have the file php_mssql.so in your extension dir, do
> > you?
> >
> > 2 options:
> > - compile php with mssql support (might be ./configure --with-mssql ...)
> > or - if you installed from packet (rpm for example) you can install the
> > packet for mssql (it should be something like php_mssql.version.rpm)
> >
> > Bruno Gimenes Pereti.
> >
> > ----- Original Message -----
> > From: "Matt Lemon" <matthew.lemon@williamfry.ie>
> > To: <php-db@lists.php.net>
> > Sent: Thursday, November 22, 2001 3:08 PM
> > Subject: [PHP-DB] Ms SQL.
> >
> >
> >> I'm trying to get my linux server to connect to an MS SQL server via
php.
> >> If I run the same script on my windows laptop there is no problem but
on
> >> the Linux server I get the message :
> >>
> >> Fatal error: Call to undefined function: mssql_connect() in
> >> /var/www/html/stationary/index.php on line 49
> >>
> >> I edited /etc/php.ini and uncommented the line that loads the mssql
> > module,
> >> it reads :
> >>
> >> extension = php_mssql.so
> >>
> >> Phpinfo() doesn't say that the SQL support is enabled and I still get
the
> >> error.
> >>
> >> Please help !
> >>
> >> --
> >> PHP Database Mailing List (http://www.php.net/)
> >> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> >> For additional commands, e-mail: php-db-help@lists.php.net
> >> To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>