Re: [PHP] acerca de extensiones SQL Server
Lic. Eduardo R. Hernández Osorio wrote: Exactly, I use Microsoft SQL Server as db Server and it i son another machine. I need to configure my php to connect with that server. On Windows with appserv that work fine but on Linux the php code doesn't work. Could you help me to configure that? http://php.net/mssql has all of the info you need to get it going. Which part are you having problems with? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] acerca de extensiones SQL Server
Exactly, I use Microsoft SQL Server as db Server and it i son another machine. I need to configure my php to connect with that server. On Windows with appserv that work fine but on Linux the php code doesn't work. Could you help me to configure that? I don't have internet. Waiting for your help... Eduardo Ricardo Hernández Osorio Técnico Telecomunicaciones Aeronáuticas U.T.B Servicios Aeronáuticos, ECASA s.a. Aeropuerto Internacional "Frank País García" Tel: (53) (24) 474569 email: [EMAIL PROTECTED] "...de buenas intenciones está empedrado el camino al infierno..." -Mensaje original- De: Stut [mailto:[EMAIL PROTECTED] Enviado el: Saturday, July 14, 2007 7:01 PM Para: Robert Degen CC: php-general@lists.php.net Asunto: Re: [PHP] acerca de extensiones SQL Server Robert Degen wrote: > I think you should install at least > > php5-mysql > > and if you're using PEAR's db connection you'll need > > php-db > > too. "SQL Server" usually means "Microsoft SQL Server". There is plenty of documentation on the PHP website regarding getting the MSSQL extension installed. -Stut -- http://stut.net/ > On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: >> >> >> Hi: >> >> I need use the SQL extension on PHP to connect to any SQL Server database. >> How I configure PHP on Linux to use that extension? I use debian with >> apache2 and PHP5 installed on it. >> >> Waiting for your help, >> >> Richard >> >> >> >> >> >> Eduardo Ricardo Hernández Osorio >> >> Técnico Telecomunicaciones Aeronáuticas >> >> U.T.B Servicios Aeronáuticos, ECASA s.a. >> >> Aeropuerto Internacional "Frank País García" >> >> Tel: (53) (24) 474569 >> >> >> >> email: [EMAIL PROTECTED] >> >> >> >> "...de buenas intenciones está empedrado el camino al infierno..." >> >> >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] acerca de extensiones SQL Server
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 All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] acerca de extensiones SQL Server
Robert Degen wrote: I think you should install at least php5-mysql and if you're using PEAR's db connection you'll need php-db too. "SQL Server" usually means "Microsoft SQL Server". There is plenty of documentation on the PHP website regarding getting the MSSQL extension installed. -Stut -- http://stut.net/ On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: Hi: I need use the SQL extension on PHP to connect to any SQL Server database. How I configure PHP on Linux to use that extension? I use debian with apache2 and PHP5 installed on it. Waiting for your help, Richard Eduardo Ricardo Hernández Osorio Técnico Telecomunicaciones Aeronáuticas U.T.B Servicios Aeronáuticos, ECASA s.a. Aeropuerto Internacional "Frank País García" Tel: (53) (24) 474569 email: [EMAIL PROTECTED] "...de buenas intenciones está empedrado el camino al infierno..." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] acerca de extensiones SQL Server
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. - Tul Robert Degen wrote: Hi, I think you should install at least php5-mysql and if you're using PEAR's db connection you'll need php-db too. Robert On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: Hi: I need use the SQL extension on PHP to connect to any SQL Server database. How I configure PHP on Linux to use that extension? I use debian with apache2 and PHP5 installed on it. Waiting for your help, Richard Eduardo Ricardo Hernández Osorio Técnico Telecomunicaciones Aeronáuticas U.T.B Servicios Aeronáuticos, ECASA s.a. Aeropuerto Internacional "Frank País García" Tel: (53) (24) 474569 email: [EMAIL PROTECTED] "...de buenas intenciones está empedrado el camino al infierno..." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] acerca de extensiones SQL Server
Hi, I think you should install at least php5-mysql and if you're using PEAR's db connection you'll need php-db too. Robert On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: > > > Hi: > > I need use the SQL extension on PHP to connect to any SQL Server database. > How I configure PHP on Linux to use that extension? I use debian with > apache2 and PHP5 installed on it. > > Waiting for your help, > > Richard > > > > > > Eduardo Ricardo Hernández Osorio > > Técnico Telecomunicaciones Aeronáuticas > > U.T.B Servicios Aeronáuticos, ECASA s.a. > > Aeropuerto Internacional "Frank País García" > > Tel: (53) (24) 474569 > > > > email: [EMAIL PROTECTED] > > > > "...de buenas intenciones está empedrado el camino al infierno..." > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php