Bonjour,
J'ai un pb suite à l'installation de apache2 mysql php et phpMyAdmin.
Donc les versions:
Linux Linux-Smano 2.6.22.9-0.4-default #1 SMP 2007/10/05 21:32:04 UTC i686
apache2: Apache/2.2.6 (Linux/SUSE)
PHP Version 5.2.4
mysql 5.0.45
phpMyAdmin 2.11.0
Voila donc aprés installation et configuration du tout j'ai un pb apparent des error log de apache.
Code :
- [Wed Oct 24 11:27:57 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
- [Wed Oct 24 11:27:57 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
- [Wed Oct 24 11:27:57 2007] [notice] Apache/2.2.6 (Linux/SUSE) mod_ssl/2.2.6 OpenSSL/0.9.8e PHP/5.2.4 with Suhosin-Patch configured -- resuming normal operations
- [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] PHP Warning: session_start(): open(/var/lib/php5/sess_s0,LqMgR3GcEMAIzfujdQ21FSs8, O_RDWR) failed: Permission denied (13) in /srv/www/htdocs/phpMyAdmin/libraries/session.inc.php on line 89
- [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] PHP Warning: Unknown: open(/var/lib/php5/sess_s0,LqMgR3GcEMAIzfujdQ21FSs8, O_RDWR) failed: Permission denied (13) in Unknown on line 0
- [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0
- [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] File does not exist: /srv/www/htdocs/phpMyAdmin/favicon.ico
- [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] File does not exist: /srv/www/htdocs/phpMyAdmin/favicon.ico
|
Je n'est pas encore configuré ma base sql mais j'ai donné un accés comme ceci avec le compte root:
J'ai qd mm demander un mdp pour root dans mysql:
Code :
- /* Authentication type */
- $cfg['Servers'][$i]['auth_type'] = 'http';
- $cfg['Servers'][$i]['user'] = 'root';
- $cfg['Servers'][$i]['password'] = 'mdp';
- $cfg['Servers'][$i]['nopassword'] = FALSE;
- /* Server parameters */
- $cfg['Servers'][$i]['host'] = 'localhost';
- $cfg['Servers'][$i]['connect_type'] = 'tcp';
- $cfg['Servers'][$i]['compress'] = false;
- $cfg['Servers'][$i]['ssl'] = FALSE;
- /* Select mysqli if your server has it */
- $cfg['Servers'][$i]['extension'] = 'mysqli';
- /* User for advanced features */
- $cfg['Servers'][$i]['controluser'] = 'pma';
- $cfg['Servers'][$i]['controlpass'] = 'pw;
- //$cfg['Servers'][$i]['controluser'] = '';
- //$cfg['Servers'][$i]['controlpass'] = '';
- /* Advanced phpMyAdmin features */
- $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin /';
- #$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
- $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
- $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
- $cfg['Servers'][$i]['relation'] = 'pma_relation';
- $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
- $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
- $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
- $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
- $cfg['Servers'][$i]['history'] = 'pma_history';
- //$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
- $cfg['Servers'][$i]['verbose_check'] = TRUE;
- $cfg['Servers'][$i]['AllowRoot'] = TRUE;
- //$cfg['Servers'][$i]['AllowDeny']['rules'] = array();// of strings
- $cfg['Servers'][$i]['AllowDeny']['order'] = ''
- //$cfg['Servers'][$i]['hide_db'] = '';
- /*
- * End of servers configuration
- */
- /*
- * Directories for saving/loading files from server
- */
- $cfg['UploadDir'] = '';
- $cfg['SaveDir'] = '';
|
J'ai toujours une erreur:
phpMyAdmin - Erreur
Erreur lors du démarrage de la session, veuillez vérifier les erreurs indiquées par PHP ou dans le fichier témoin du serveur web, et configurer PHP correctement.
c'est bien celui ci le php.ini a modifier?
/etc/php5/apache2/php.ini:
Si vous avez des idées merci!!!
Message édité par Sm@No le 24-10-2007 à 11:44:27