Partage
  • Partager sur Facebook
  • Partager sur Twitter

Phpmyadmin merde sous ubuntu

    1 mai 2006 à 22:29:16

    Salut à tous
    Je suis sous ubuntu dapper et sur la page d'accueil de phpmyadmin j'obtiens ce message
    phpMyAdmin n'a pu lire votre fichier de configuration!
    Il est possible qu'il contienne une erreur de syntaxe, ou que PHP soit incapable de le trouver
    À l'aide du lien suivant, vous pouvez vérifier le message d'erreur généré par PHP;
    la plupart du temps, un apostrophe ou un point-virgule sont manquants.
    Si vous recevez une page blanche, aucune erreur n'a été détectée.

    config.inc.php

    Même après réinstallation, rien ne change
    Que faire?
    • Partager sur Facebook
    • Partager sur Twitter
      1 mai 2006 à 23:04:53

      Je te rappelle que la Dapper Drake est la version instable du moment, si certain soft ne fonctionne pas, c'est normal... enfin je pense.
      • Partager sur Facebook
      • Partager sur Twitter
        2 mai 2006 à 11:51:11

        Ta installer comment phpmyadmin?

        Moi perso j'utilise les packets Synaptics et voilà ^^

        PS: essaie avec apt-get c'est le meilleur ;)
        • Partager sur Facebook
        • Partager sur Twitter
          2 mai 2006 à 16:16:32

          Oui, le mieux c'est toujours un petit
          $ sudo apt-get install phpmyadmin

          En plus il va récupérer toutes les dépendances.
          • Partager sur Facebook
          • Partager sur Twitter
            2 mai 2006 à 16:38:23

            Lydriel > Dapper est instable, mais je pense que phpmyadmin doit être assez indépendant du ubuntu
            Dthibault > via synaptics
            Dolerho > synaptics récupère aussi les dépendances, ce n'est qu'un gui de apt-get
            • Partager sur Facebook
            • Partager sur Twitter
              2 mai 2006 à 16:46:51

              Quand on connaît apt-get, on connaît Synaptic (et non Synaptics d'ailleurs), pas besoin donc de me signaler que Synaptic est un gui d'apt-get :p .

              Et si Apache, PHP et MySQL fonctionnent sous Dapper, PHPMyAdmin fonctionnera aussi sans aucun doute.

              Sinon, Dapper n'est pas si instable que ça, loin de là.
              Pas mal d'utilisateurs (avancés) d'Ubuntu ont migré lors de la sortie de la Beta 2 !
              • Partager sur Facebook
              • Partager sur Twitter
                2 mai 2006 à 18:26:06

                Dolerho > Dapper est plein de bugs, je connais personnellement un gars assez actif du côté de linux-fr qui reporte des bugs tous les jours, donc on peut pas vraiment dire que c'est totalement stable ^^

                PHPMyAdmin était interprêté par PHP, le problème ne peut pas venir de Ubuntu (sauf si t'as pas donné le droit en lecture sur le fichier de config pour l'utilisateur qui lance PHP :p). Par contre ouvre le fichier de config dans l'editeur de texte pour voir s'il ne serait pas vide ou erroné (ca m'est arrivé). Auquel cas tu devras le complèter manuellement :p
                • Partager sur Facebook
                • Partager sur Twitter
                  2 mai 2006 à 18:34:27

                  azmeuk@ubuntmeuk:~$ locate config.inc.php
                  /etc/phpmyadmin/config.inc.php
                  /var/lib/ucf/cache/:etc:phpmyadmin:config.inc.php
                  /usr/share/doc/phpmyadmin/examples/config.inc.php.gz
                  /usr/share/phpmyadmin/config.inc.php~
                  /usr/share/phpmyadmin/config.inc.php
                  /usr/share/ucf/phpmyadmin/etc/phpmyadmin/config.inc.php
                  azmeuk@ubuntmeuk:~$


                  Lequel choisir ?
                  • Partager sur Facebook
                  • Partager sur Twitter
                    2 mai 2006 à 18:42:42

                    Celui dans /etc, bien sûr :p
                    • Partager sur Facebook
                    • Partager sur Twitter
                      2 mai 2006 à 18:51:52

                      Que faire? Qua faire?

                      <?php
                      /**
                       * Debian local configuration file
                       *
                       * For example configuration see /usr/share/doc/phpmyadmin/examples/config.default.php.gz
                       */


                      /**
                       * Server(s) configuration
                       */

                      $i = 0;
                      // The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['Servers'][0].
                      // You can disable a server config entry by setting host to ''.
                      $i++;

                      // Uncomment to override the default configuration
                      //$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address
                      //$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
                      //$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
                      //$cfg['Servers'][$i]['connect_type']  = 'socket';    // How to connect to MySQL server ('tcp' or 'socket')
                      //$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
                      //$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                      //                                                    // (requires PHP >= 4.3.0)
                      //$cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
                      //                                                    // (this user must have read-only
                      //$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
                      //                                                    // and "mysql/db" tables).
                      //                                                    // The controluser is also
                      //                                                    // used for all relational
                      //                                                    // features (pmadb)
                      //$cfg['Servers'][$i]['auth_type']     = 'cookie';    // Authentication method (config, http or cookie based)?
                      //$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
                      //$cfg['Servers'][$i]['password']      = '';          // MySQL password (only needed
                      //                                                    // with 'config' auth_type)
                      //$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
                      //                                                    // this db is displayed in left frame
                      //                                                    // It may also be an array of db-names, where sorting order is relevant.
                      //$cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname
                      //
                      //$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin';// Database used for Relation, Bookmark and PDF Features
                      //                                                    // (see scripts/create_tables.sql)
                      //                                                    //   - leave blank for no support
                      //                                                    //     DEFAULT: 'phpmyadmin'
                      //$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';// Bookmark table
                      //                                                    //   - leave blank for no bookmark support
                      //                                                    //     DEFAULT: 'pma_bookmark'
                      //$cfg['Servers'][$i]['relation']      = 'pma_relation';// table to describe the relation between links (see doc)
                      //                                                    //   - leave blank for no relation-links support
                      //                                                    //     DEFAULT: 'pma_relation'
                      //$cfg['Servers'][$i]['table_info']    = 'pma_table_info';// table to describe the display fields
                      //                                                    //   - leave blank for no display fields support
                      //                                                    //     DEFAULT: 'pma_table_info'
                      //$cfg['Servers'][$i]['table_coords']  = 'pma_table_coords';// table to describe the tables position for the PDF schema
                      //                                                    //   - leave blank for no PDF schema support
                      //                                                    //     DEFAULT: 'pma_table_coords'
                      //$cfg['Servers'][$i]['pdf_pages']     = 'pma_pdf_pages';// table to describe pages of relationpdf
                      //                                                    //   - leave blank if you don't want to use this
                      //                                                    //     DEFAULT: 'pma_pdf_pages'
                      //$cfg['Servers'][$i]['column_info']   = 'pma_column_info';// table to store column information
                      //                                                    //   - leave blank for no column comments/mime types
                      //                                                    //     DEFAULT: 'pma_column_info'
                      //$cfg['Servers'][$i]['history']       = 'pma_history';// table to store SQL history
                      //                                                    //   - leave blank for no SQL query history
                      //                                                    //     DEFAULT: 'pma_history'
                      //$cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know that your pma_* tables
                      //                                                    // are up to date. This prevents compatibility
                      //                                                    // checks and thereby increases performance.
                      //$cfg['Servers'][$i]['AllowRoot']     = TRUE;        // whether to allow root login
                      //$cfg['Servers'][$i]['AllowDeny']['order']           // Host authentication order, leave blank to not use
                      //                                     = '';
                      //$cfg['Servers'][$i]['AllowDeny']['rules']           // Host authentication rules, leave blank for defaults
                      //                                     = array();

                      ?>
                      • Partager sur Facebook
                      • Partager sur Twitter
                        2 mai 2006 à 19:55:00

                        Tu vois les //$cfg ...

                        C'est les lignes de configuration. Tu les décomente (en retirant les //) et tu règleles valeurs qui te concernent :)
                        • Partager sur Facebook
                        • Partager sur Twitter
                          2 mai 2006 à 20:58:34

                          Ca ne marche toukours pas

                          <?php
                          /**
                           * Debian local configuration file
                           *
                           * For example configuration see /usr/share/doc/phpmyadmin/examples/config.default.php.gz
                           */

                          $i = 0;
                          // The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['Servers'][0].
                          // You can disable a server config entry by setting host to ''.
                          $i++;

                          // Uncomment to override the default configuration
                          $cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address
                          $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
                          $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
                          $cfg['Servers'][$i]['connect_type']  = 'socket';    // How to connect to MySQL server ('tcp' or 'socket')
                          $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
                          $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                          //                                                    // (requires PHP >= 4.3.0)
                          $cfg['Servers'][$i]['controluser']   = 'root';          // MySQL control user settings
                          //                                                    // (this user must have read-only
                          $cfg['Servers'][$i]['controlpass']   = '****';          // access to the "mysql/user"
                          //                                                    // and "mysql/db" tables).
                          //                                                    // The controluser is also
                          //                                                    // used for all relational
                          //                                                    // features (pmadb)
                          $cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (config, http or cookie based)?
                          $cfg['Servers'][$i]['user']          = 'root';      // MySQL user
                          $cfg['Servers'][$i]['password']      = '****';          // MySQL password (only needed
                          //                                                    // with 'config' auth_type)
                          //$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
                          //                                                    // this db is displayed in left frame
                          //                                                    // It may also be an array of db-names, where sorting order is relevant.
                          $cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname
                          //
                          $cfg['Servers'][$i]['pmadb']         = 'phpmyadmin';// Database used for Relation, Bookmark and PDF Features
                          //                                                    // (see scripts/create_tables.sql)
                          //                                                    //   - leave blank for no support
                          //                                                    //     DEFAULT: 'phpmyadmin'
                          $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';// Bookmark table
                          //                                                    //   - leave blank for no bookmark support
                          //                                                    //     DEFAULT: 'pma_bookmark'
                          $cfg['Servers'][$i]['relation']      = 'pma_relation';// table to describe the relation between links (see doc)
                          //                                                    //   - leave blank for no relation-links support
                          //                                                    //     DEFAULT: 'pma_relation'
                          $cfg['Servers'][$i]['table_info']    = 'pma_table_info';// table to describe the display fields
                          //                                                    //   - leave blank for no display fields support
                          //                                                    //     DEFAULT: 'pma_table_info'
                          $cfg['Servers'][$i]['table_coords']  = 'pma_table_coords';// table to describe the tables position for the PDF schema
                          //                                                    //   - leave blank for no PDF schema support
                          //                                                    //     DEFAULT: 'pma_table_coords'
                          $cfg['Servers'][$i]['pdf_pages']     = 'pma_pdf_pages';// table to describe pages of relationpdf
                          //                                                    //   - leave blank if you don't want to use this
                          //                                                    //     DEFAULT: 'pma_pdf_pages'
                          $cfg['Servers'][$i]['column_info']   = 'pma_column_info';// table to store column information
                          //                                                    //   - leave blank for no column comments/mime types
                          //                                                    //     DEFAULT: 'pma_column_info'
                          $cfg['Servers'][$i]['history']       = 'pma_history';// table to store SQL history
                          //                                                    //   - leave blank for no SQL query history
                          //                                                    //     DEFAULT: 'pma_history'
                          $cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know that your pma_* tables
                          //                                                    // are up to date. This prevents compatibility
                          //                                                    // checks and thereby increases performance.
                          $cfg['Servers'][$i]['AllowRoot']     = TRUE;        // whether to allow root login
                          $cfg['Servers'][$i]['AllowDeny']['order']= '';       // Host authentication order, leave blank to not use
                                                               
                          $cfg['Servers'][$i]['AllowDeny']['rules'] = array()// Host authentication rules, leave blank for defaults
                                                       

                          ?>
                          • Partager sur Facebook
                          • Partager sur Twitter
                            3 mai 2006 à 20:24:27

                            <?php
                            /* Servers configuration */
                            $i = 0;

                            $i++;
                            $cfg['Servers'][$i]['host'] = 'localhost';
                            $cfg['Servers'][$i]['extension'] = 'mysql';
                            $cfg['Servers'][$i]['connect_type'] = 'tcp';
                            $cfg['Servers'][$i]['compress'] = false;
                            $cfg['Servers'][$i]['controluser'] = '';
                            $cfg['Servers'][$i]['controlpass'] = '';
                            $cfg['Servers'][$i]['auth_type'] = 'config';
                            $cfg['Servers'][$i]['user'] = 'root';
                            $cfg['Servers'][$i]['password'] = '';
                            $cfg['Servers'][$i]['verbose'] = 'MySQL Server';

                            $cfg['blowfish_secret'] = 'je suis un &é"(§';
                            ?>
                            • Partager sur Facebook
                            • Partager sur Twitter
                              4 mai 2006 à 18:08:35

                              négatif
                              peut-être es-ce le mauvais, j'ai modifié aussi /var/www/phpmyadmin/config.inc.php en vain
                              • Partager sur Facebook
                              • Partager sur Twitter

                              Phpmyadmin merde sous ubuntu

                              × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
                              × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
                              • Editeur
                              • Markdown