Config.inc.php3 variable undefined ??
| From: | Ulrich Emmanuel | Date: | Mon, 23 Jul 2001 09:10:16 +0000 |
| Subject: | Config.inc.php3 variable undefined ?? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3671@lists.php.net to get a copy of this message | ||
Hello as i try to configure PHPmyadmin i get the following errors if someone
could have a look a it
Error starting PHPMyadmin
Here's my default config.inc.php3 file...
// The $cfgServers array starts with $cfgServers[1]. Do not use
$cfgServers[0].
// You can disable a server config entry by setting host to ''.
$cfgServers[1]['host'] = '10.68.10.16'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank
fordefault port
$cfgServers[1]['adv_auth'] = true; // Use advanced
authentication?
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only
needed with advanced auth)
$cfgServers[1]['stdpass'] = 'MYPASSWORD'; // MySQL standard
password (only needed with advanced auth)
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed
withbasic auth)
$cfgServers[1]['password'] = 'MYPASSWORD'; // MySQL password
(only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only
this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this
host -leave blank to show the hostname
And i get the following error on my brower after login prompt --> Fatal
error: Call to undefined function: mysql_connect() in
/var/www/html/phpMyAdmin/lib.inc.php3 on line 170
...while the line shows --> if(empty($cfgServer['port'])) $dbh =
$connect_func($cfgServer['host'],$cfgServer['stduser'],$cfgServer['stdpass']
) or mysql_die();
for sure i'm must change someting but what ? Any advices are welcome thanks
.
Ulrich Emmanuel, IT Group
Infogrames Entertainment, France
Tel: +33 (0)4 37 64 31 56 / Icq :50918682
http://www.infogrames.com