by default php conect to localhost and not using port change it to the IP a nd restart apache
if (!empty($dbname)) {
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
if (empty($dbserver)) $dbserver = '5.149.226.16';
$cfg['Servers'][$i]['host'] = $dbserver;
if (!empty($dbport) || $dbserver != '5.149.226.16') {
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['port'] = $dbport;
}
/etc/init.d/apache2 restart
No hay comentarios:
Publicar un comentario