sur une Fedora 27, j'ai php 7.1.15 et MySQL 15.1 fonctionnel. Pour preuve j'ai créé une base et un utilisateur via phpMyAdmin.
Les droits d'accès sont correctement placés et les labels SElinux aussi.
L'installation de SOPLANNING 1.41 bloque et se termine par une erreur 500 :
- accès à Localhost/soplanning
- redicretion vers Localhost/soplanning/www/index.php
- redicretion vers Localhost/soplanning/www/install
- erreur 500 (dans les log apache uniquement, la page html est vide).
tail /var/log/access_log
Code: Select all
::1 - - [20/Mar/2018:16:25:20 +0100] "GET /soplanning/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:22 +0100] "GET /soplanning/www/index.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:24 +0100] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:24 +0100] "GET /soplanning/www/install/ HTTP/1.1" 500 - "http://localhost/soplanning/www/index.php" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:39 +0100] "GET /soplanning/www HTTP/1.1" 301 240 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:39 +0100] "GET /soplanning/www/ HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:41 +0100] "GET /soplanning/www/install/ HTTP/1.1" 500 - "http://localhost/soplanning/www/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:49 +0100] "GET /soplanning/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:50 +0100] "GET /soplanning/www/index.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
::1 - - [20/Mar/2018:16:25:51 +0100] "GET /soplanning/www/install/ HTTP/1.1" 500 - "http://localhost/soplanning/www/index.php" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
tail /var/log/error_log
Code: Select all
[Mon Mar 19 22:01:57.647090 2018] [core:notice] [pid 9828:tid 140341769158656] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Mar 19 22:03:59.263546 2018] [autoindex:error] [pid 9834:tid 140340841395968] [client ::1:38656] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Mon Mar 19 22:31:12.599180 2018] [mpm_event:notice] [pid 9828:tid 140341769158656] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Mar 20 10:29:38.444923 2018] [core:notice] [pid 886:tid 140392413249536] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Tue Mar 20 10:29:38.689931 2018] [suexec:notice] [pid 886:tid 140392413249536] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using XXXXXXXXX.fr. Set the 'ServerName' directive globally to suppress this message
[Tue Mar 20 10:29:38.810018 2018] [lbmethod_heartbeat:notice] [pid 886:tid 140392413249536] AH02282: No slotmem from mod_heartmonitor
[Tue Mar 20 10:29:38.812984 2018] [http2:warn] [pid 886:tid 140392413249536] AH02951: mod_ssl does not seem to be enabled
[Tue Mar 20 10:29:38.841711 2018] [mpm_event:notice] [pid 886:tid 140392413249536] AH00489: Apache/2.4.29 (Fedora) configured -- resuming normal operations
[Tue Mar 20 10:29:38.841826 2018] [core:notice] [pid 886:tid 140392413249536] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
dans le fichier www/install/index.php j'ai pu remarquer que le problème apparait lors de l'execution de la ligne 5 :echo "coucou";
.$smarty = new MySmarty();
J'espère avoir été concis et précis ! Est-ce que cela suffira à me débloquer ?
Cordialement,
Benoît