PB phpMyAdmin Linux

PB phpMyAdmin Linux - Installation - Linux et OS Alternatifs

Marsh Posté le 24-10-2007 à 11:38:09    

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 :
  1. [Wed Oct 24 11:27:57 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
  2. [Wed Oct 24 11:27:57 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
  3. [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
  4. [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
  5. [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
  6. [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
  7. [Wed Oct 24 11:35:55 2007] [error] [client 192.101.101.33] File does not exist: /srv/www/htdocs/phpMyAdmin/favicon.ico
  8. [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 :
  1. /* Authentication type */
  2. $cfg['Servers'][$i]['auth_type'] = 'http';
  3. $cfg['Servers'][$i]['user'] = 'root';
  4. $cfg['Servers'][$i]['password'] = 'mdp';
  5. $cfg['Servers'][$i]['nopassword'] = FALSE;
  6. /* Server parameters */
  7. $cfg['Servers'][$i]['host'] = 'localhost';
  8. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  9. $cfg['Servers'][$i]['compress'] = false;
  10. $cfg['Servers'][$i]['ssl'] = FALSE;
  11. /* Select mysqli if your server has it */
  12. $cfg['Servers'][$i]['extension'] = 'mysqli';
  13. /* User for advanced features */
  14. $cfg['Servers'][$i]['controluser'] = 'pma';
  15. $cfg['Servers'][$i]['controlpass'] = 'pw;
  16. //$cfg['Servers'][$i]['controluser'] = '';
  17. //$cfg['Servers'][$i]['controlpass'] = '';
  18. /* Advanced phpMyAdmin features */
  19. $cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin /';
  20. #$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql  
  21. $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  22. $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  23. $cfg['Servers'][$i]['relation'] = 'pma_relation';
  24. $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  25. $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  26. $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  27. $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  28. $cfg['Servers'][$i]['history'] = 'pma_history';
  29. //$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  30. $cfg['Servers'][$i]['verbose_check'] = TRUE;
  31. $cfg['Servers'][$i]['AllowRoot'] = TRUE;
  32. //$cfg['Servers'][$i]['AllowDeny']['rules'] = array();// of strings
  33. $cfg['Servers'][$i]['AllowDeny']['order'] = ''
  34. //$cfg['Servers'][$i]['hide_db']       = '';
  35. /*
  36. * End of servers configuration
  37. */
  38. /*
  39. * Directories for saving/loading files from server
  40. */
  41. $cfg['UploadDir'] = '';
  42. $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
Reply

Marsh Posté le 24-10-2007 à 11:38:09   

Reply

Marsh Posté le 24-10-2007 à 13:26:38    

Pour le favicon.ico c'est réglé mais il me reste les autre erreurs qui bloque l'accées a phpMyAdmin.
 

Code :
  1. [Wed Oct 24 13:23:53 2007] [error] [client 192.101.101.33] PHP Warning:  session_start(): open(/var/lib/php5/sess_BGiHPACot-zkS67KHRodAPsfJma, O_RDWR) failed: Permission denied (13) in /srv/www/htdocs/phpMyAdmin/libraries/session.inc.php on line 89
  2. [Wed Oct 24 13:23:54 2007] [error] [client 192.101.101.33] PHP Warning:  Unknown: open(/var/lib/php5/sess_BGiHPACot-zkS67KHRodAPsfJma, O_RDWR) failed: Permission denied (13) in Unknown on line 0
  3. [Wed Oct 24 13:23:54 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


Apparement le USer de php n'a pas les droit d'écriture sur le fichier /var/lib/php5 est ce ca?
A l'aide.
/var/lib/php5:
dr-xr-xr-x 2 wwwrun     root        336 Oct 24 14:36 php5
 
Mon UID de apache est wwwrun groupe www.
Comment je sais pour l'utilisateur php?


Message édité par Sm@No le 24-10-2007 à 14:46:31
Reply

Marsh Posté le 24-10-2007 à 14:54:22    

Du nouveau:
 

Code :
  1. 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


 
Mon fichier php.ini:
 
session.save_path = "/var/lib/php5"
 
Quelque chose de choquant?

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed