[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

phpwebquest



¿Alguien lo ha instalado en debian?
según dice necesita:
- Servidor Apache, 
- PHP 4.3.9 o superior 
- Librería GD para PHP activada y en versión 2.0.28 o superior
- MySQL 4 o superior 
- El SafeMode de PHP debe estar desactivado en el 
subdominio
en el que corre PHP Webquest.
he instalado lo siguiente:
puerta:~# dpkg -l |grep ii |grep mysql
ii  libapache-mod- 0.5-15         Accounting module for Apache, mysql version
ii  libdbd-mysql-p 3.0002-2       A Perl5 database interface to the MySQL data
ii  libmysqlclient 4.0.24-10sarge mysql database client library
ii  libmysqlclient 5.0.18-9       mysql database client library
ii  mysql-admin    1.1.6-1        GUI tool for intuitive MySQL administration
ii  mysql-admin-co 1.1.6-1        Architecture independent files for MySQL Adm
ii  mysql-client   5.0.18-9       mysql database client (current version)
ii  mysql-client-5 5.0.18-9       mysql database client binaries
ii  mysql-common   5.0.18-9       mysql database common files (e.g. /etc/mysql
ii  mysql-server-5 5.0.18-9       mysql database server binaries
ii  php5-mysql     5.1.2-1        MySQL module for php5
ii  usermin-mysql  1.110-3        a mysql module for the usermin web-based adm
ii  webmin-mysql   1.180-3        mysql-server control module for webmin
puerta:~# dpkg -l |grep ii |grep php
ii  php-pear       5.1.2-1        PEAR - PHP Extension and Application Reposit
ii  php4-cgi       4.3.10-16      server-side, HTML-embedded scripting languag
ii  php4-cli       4.3.10-16      command-line interpreter for the php4 script
ii  php4-common    4.3.10-16      Common files for packages built from the php
ii  php4-pear      4.3.10-16      PEAR - PHP Extension and Application Reposit
ii  php5           5.1.2-1        server-side, HTML-embedded scripting languag
ii  php5-cgi       5.1.2-1        server-side, HTML-embedded scripting languag
ii  php5-cli       5.1.2-1        command-line interpreter for the php5 script
ii  php5-common    5.1.2-1        Common files for packages built from the php
ii  php5-gd        5.1.2-1        GD module for php5
ii  php5-mysql     5.1.2-1        MySQL module for php5
he copiado el contenido del fichero http://www.phpwebquest.org/descargas/phpwebquest_2.2_espanol.zip en 
public_html para que este disponible en http://puerta/~elena 
pero siempre obtengo:
Fatal error: Call to undefined function mysql_connect() in /home/elena/public_html/index.php on line 5
las 5 primeras lineas son:
puerta:/home/elena/public_html# more index.php
<?
include("include/mysql.inc");
include("include/idioma.php");
$base=$mysql_db;
$c=mysql_connect($mysql_server,$mysql_login,$mysql_pass);
mysql_select_db ($base, $c);
?>

-- 
Antonio Trujillo Carmona <trujo@dti2.net>




Reply to: