Re: acerca de extensiones SQL Server
| From: | Paul Scott | Date: | Sun, 15 Jul 2007 05:30:25 +0000 |
| Subject: | Re: acerca de extensiones SQL Server | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258875@lists.php.net to get a copy of this message | ||
On Sat, 2007-07-14 at 19:57 +0200, M. Sokolewicz wrote:
> That's assuming he wanted specifically MySQL. The OP's post did not
> actually state _which_ extension he wants to use, nor to which RDBMS he
> wants to connect (at all). To the OP: SQL is simply a language, what you
> want is a database-system which works with that language. There are a
> lot of good DataBase Management Systems, of which MySQL is a commonly
> available one.
>
What you want to do on debian is to aptitude install either:
php5-mysql OR php5-pgsql OR oci8 or something else for a different
RDBMS. If your db server is a separate machine, you will want the client
code as well, which will mean an install of, say, libmysqlclient as well
for mysql.
If you want both php and db on the same box, simply do an aptitude
install mysql-server-5.0 and mysql-client-5.0 as these meta packages
will install what you need as well as php5-mysql and/or php5-mysqli
--Paul