Re: No me conecta a la base mysql
| From: | Vladimir Hernandez | Date: | Wed, 08 Feb 2006 13:58:49 +0000 |
| Subject: | Re: No me conecta a la base mysql | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-57724@lists.php.net to get a copy of this message | ||
Quoting Fernando Gutierrez <fgutierrez@gmail.com>:
mira si tienes el php compilado con soporte de mysql .... miralo con un phpinfo() On 2/8/06, Gorka <gorkaphp@yahoo.es> wrote:Al instalar php en Debian necesitas especificar los paquetes. Esta es la lista de lo que tengo instalado, referente a php en Debian Sarge:Cuando lo programo con xampp en windows me funciona perfectamente, ... pero cuando llevo la base de datos y los php a linux (debian sarge) me da este error: "Call to undefined function: mysql_connect" El usuario y contraseña son correctos. El nombre de la base también. El phpinfo() me dice en "supported databases: mysql odbc postgresql ...", con lo que supongo que php tiene soporte para mysql. ¿Qué problema puedo tener? Gracias. ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com -- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- -- Fernando Gutierrez Perez -- gmeileando un poco :)
ii php-date 1.4.3-1 PHP PEARmodule for Date and Time Zone Classes
ii php-file 1.0.3-1 PHP Pearmodules for common file and directory routines
ii php-fpdf 1.53.dfsg-1 PHPclass to generate PDF files
ii php-mail-mime 1.2.1-1 PHP PEARmodule for creating and decoding MIME messages
ii php4 4.3.10-16 server-side, HTML-embedded scripting language (meta-package) ii php4-cli 4.3.10-16 command-line interpreter for the php4 scripting language ii php4-common 4.3.10-16 Commonfiles for packages built from the php4 source
ii php4-domxml 4.3.10-16 XMLv2module for php4
ii php4-gd 4.3.10-16 GDmodule for php4
ii php4-imagick 0.9.11-0.2 ImageMagick module for php4 ii php4-imap 4.3.10-16 IMAPmodule for php4
ii php4-mcrypt 4.3.10-1 MCryptmodule for php4
ii php4-mysql 4.3.10-16 MySQLmodule for php4
ii php4-pear 4.3.10-16 PEAR -PHP Extension and Application Repository
ii php4-pear-log 1.6.0-1.1 Logmodule for PEAR Muchas veces uno instala únicamente php4, php4-cli y php4-common. Hay que instalar específicamente los demás. Esto incluye el php4-mysql. -- Vladimir Hernández http://linuxbaja.org/ Linux user #374079