Bonjour,
C'est un peu nouveau pour moi, j'espere que je suis au bon endroit du forum, je galère un peu
J'ai un serveur dédié ou j'ai mis debian 10,
installé LAMP
phpmyadmin
webmin/virtualmin
et je sais pas si c'est suite à l'instal de webmin que quand je me connecte à phpmy admin (https://mon-ip/phpmyadmin) le php n'est apparement plus interprété, du coup je me retrouve avec du texte brut qui s'affiche sur mon navigateur :
setUserValue( null, 'FontSize', $_POST['set_fontsize'], '82%' ); header('Location: index.php' . Url::getCommonRaw()); exit(); } // if user selected a theme if (isset($_POST['set_theme'])) { $tmanager = ThemeManager::getInstance(); $tmanager->setActiveTheme($_POST['set_theme']); $tmanager->setThemeCookie(); $userPreferences = new UserPreferences(); $prefs = $userPreferences->load(); $prefs["config_data"]["ThemeDefault"] = $_POST['set_theme']; $userPreferences->save($prefs["config_data"]); header('Location: index.php' . Url::getCommonRaw()); exit(); } // Change collation connection if (isset($_POST['collation_connection'])) { $GLOBALS['PMA_Config']->setUserValue( null, 'DefaultConnectionCollation', $_POST['collation_connection'], 'utf8mb4_unicode_ci' ); header('Location: index.php' . Url::getCommonRaw()); exit(); } // See FAQ 1.34 if (! empty($_REQUEST['db'])) { $page = null; if (! empty($_REQUEST['table'])) { $page = Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabTable'], 'table' ); } else { $page = Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabDatabase'], 'database' ); } include $page; exit; } $response = Response::getInstance(); /** * Check if it is an ajax request to reload the recent tables list. */ if ($response->isAjax() && ! empty($_REQUEST['recent_table'])) { $response->addJSON( 'list', RecentFavoriteTable::getInstance('recent')->getHtmlList() ); exit; } if ($GLOBALS['PMA_Config']->isGitRevision()) { // If ajax request to get revision if (isset($_REQUEST['git_revision']) && $response->isAjax()) { GitRevision::display(); exit; } // Else show empty html echo '
'; } // Handles some variables that may have been sent by the calling script $GLOBALS['db'] = ''; $GLOBALS['table'] = ''; $show_query = '1'; // Any message to display? if (! empty($message)) { echo Util::getMessage($message); unset($message); } if (isset($_SESSION['partial_logout'])) { Message::success( __('You were logged out from one server, to logout completely from phpMyAdmin, you need to logout from all servers.') )->display(); unset($_SESSION['partial_logout']); } $common_url_query = Url::getCommon(); $mysql_cur_user_and_host = ''; // when $server > 0, a server has been chosen so we can display // all MySQL-related information if ($server > 0) { include 'libraries/server_common.inc.php'; // Use the verbose name of the server instead of the hostname // if a value is set $server_info = ''; if (! empty($cfg['Server']['verbose'])) { $server_info .= htmlspecialchars($cfg['Server']['verbose']); if ($GLOBALS['cfg']['ShowServerInfo']) { $server_info .= ' ('; } } if ($GLOBALS['cfg']['ShowServerInfo'] || empty($cfg['Server']['verbose'])) { $server_info .= $GLOBALS['dbi']->getHostInfo(); } if (! empty($cfg['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) { $server_info .= ')'; } $mysql_cur_user_and_host = $GLOBALS['dbi']->fetchValue('SELECT USER();'); // should we add the port info here? $short_server_info = (!empty($GLOBALS['cfg']['Server']['verbose']) ? $GLOBALS['cfg']['Server']['verbose'] : $GLOBALS['cfg']['Server']['host']); } echo '
' , "\n"; // Anchor for favorite tables synchronization. echo RecentFavoriteTable::getInstance('favorite')->getHtmlSyncFavoriteTables(); echo '
'; if ($server > 0 || count($cfg['Servers']) > 1 ) { if ($cfg['DBG']['demo']) { echo '
'; echo '
' , __('phpMyAdmin Demo Server') , '
'; echo '
'; printf( __( 'You are using the demo server. You can do anything here, but ' . 'please do not change root, debian-sys-maint and pma users. ' . 'More information is available at %s.' ), 'demo.phpmyadmin.net' ); echo '
'; echo '
'; } echo '
'; echo '
' , __('General settings') , '
'; echo '
'; /** * Displays the MySQL servers choice form */ if ($cfg['ServerDefault'] == 0 || (! $cfg['NavigationDisplayServers'] && (count($cfg['Servers']) > 1 || ($server == 0 && count($cfg['Servers']) == 1))) ) { echo '
'; echo Util::getImage('s_host') , " " , Select::render(true, true); echo '
'; } /** * Displays the mysql server related links */ if ($server > 0) { include_once 'libraries/check_user_privileges.inc.php'; // Logout for advanced authentication if ($cfg['Server']['auth_type'] != 'config') { if ($cfg['ShowChgPassword']) { $conditional_class = 'ajax'; Core::printListItem( Util::getImage('s_passwd') . " " . __( 'Change password' ), 'li_change_password', 'user_password.php' . $common_url_query, null, null, 'change_password_anchor', "no_bullets", $conditional_class ); } } // end if echo '
'; echo '
' , "\n" . Url::getHiddenInputs(null, null, 4, 'collation_connection') . ' ' . "\n" . ' ' . Util::getImage('s_asci') . " " . __('Server connection collation') . "\n" // put the doc link in the form so that it appears on the same line . Util::showMySQLDocu('Charset-connection') . ': ' . "\n" . ' ' . "\n" . Charsets::getCollationDropdownBox( $GLOBALS['dbi'], $GLOBALS['cfg']['Server']['DisableIS'], 'collation_connection', 'select_collation_connection', $collation_connection, true, true ) . '
' . "\n" . '
' . "\n"; } // end of if ($server > 0) echo '
'; echo '
etc etc
Par contre quand j'installe phpmyadmin par le bien de webmin sur un domaine, la ça fonctionne et je peux gérer la base de données du site en question.
j'ai réessayé de réinstaller phpmyadmin mais rien à faire
impossible de trouver une réponse à mon problème.
Merci par avance
Al