Le lundi 19 septembre 2016 à 15:31 +0200, Ph. Gras a écrit : > Désolé, > > mais j'en suis toujours au même point. Les fichiers PHP en lien > symbolique ne sont pas suivis : > > # tail /var/log/nginx/roundcube.error.log > 2016/09/19 14:59:52 [error] 25923#0: *86238 > "/var/lib/roundcube/installer/index.php" is not found (2: No such > file or directory), client: 82.124.106.90, server: example.com, > request: "GET /installer/ HTTP/1.1", host: "example.com" > > # ls -al /var/lib/roundcube > total 20 > drwxr-xr-x 5 root www-data 4096 sept. 4 00:56 . > drwxr-xr-x 41 root root 4096 sept. 4 00:56 .. > lrwxrwxrwx 1 root www-data 14 mai 9 10:59 config -> > /etc/roundcube > lrwxrwxrwx 1 root www-data 23 mai 9 10:59 .htaccess -> > /etc/roundcube/htaccess > lrwxrwxrwx 1 root www-data 30 mai 9 10:59 index.php -> > /usr/share/roundcube/index.php > lrwxrwxrwx 1 root www-data 19 mai 9 10:59 logs -> > ../../log/roundcube > drwxr-xr-x 2 root www-data 4096 sept. 4 00:56 plugins > lrwxrwxrwx 1 root www-data 28 mai 9 10:59 program -> > /usr/share/roundcube/program > lrwxrwxrwx 1 root www-data 31 mai 9 10:59 robots.txt -> > /usr/share/roundcube/robots.txt > drwxr-xr-x 2 root www-data 4096 sept. 4 00:56 skins > drwxr-x--- 2 root www-data 4096 mai 9 10:58 temp > > # tail /var/log/nginx/roundcube.access.log > 82.124.106.90 - - [19/Sep/2016:15:11:35 +0200] "GET /installer/ > HTTP/1.1" 404 142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) > AppleWebKit/600.8.9 (KHTML, like Gecko) Version/6.2.8 > Safari/537.85.17" > 82.124.106.90 - - [19/Sep/2016:15:15:44 +0200] "GET /robots.txt > HTTP/1.1" 200 26 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) > AppleWebKit/600.8.9 (KHTML, like Gecko) Version/6.2.8 > Safari/537.85.17" > > # cd /usr/share/roundcube && ls -al > total 64 > drwxr-xr-x 8 root www-data 4096 sept. 18 23:43 . > drwxr-xr-x 112 root root 4096 sept. 4 00:56 .. > drwxr-xr-x 2 root www-data 4096 sept. 4 00:56 bin > -rw-r--r-- 1 root www-data 1148 mai 9 10:58 composer.json > -rw-r--r-- 1 root www-data 3595 mai 9 10:58 > config.inc.php.sample > -rw-r--r-- 1 root www-data 1743 avril 17 18:37 .htaccess > -rw-r--r-- 1 root www-data 12345 avril 17 18:37 index.php > drwxr-xr-x 3 root www-data 4096 sept. 4 00:56 installer > drwxr-xr-x 29 root www-data 4096 sept. 4 00:56 plugins > drwxr-xr-x 8 root www-data 4096 sept. 4 00:56 program > -rw-r--r-- 1 root www-data 26 avril 17 18:37 robots.txt > drwxr-xr-x 4 root www-data 4096 sept. 4 00:56 skins > drwxr-xr-x 7 root www-data 4096 sept. 4 00:56 SQL > > # ls -al /usr/share/roundcube/installer > total 80 > drwxr-xr-x 3 root www-data 4096 sept. 4 00:56 . > drwxr-xr-x 8 root www-data 4096 sept. 19 15:02 .. > -rw-r--r-- 1 root www-data 8183 avril 17 18:37 check.php > -rw-r--r-- 1 root www-data 1736 avril 17 18:37 client.js > -rw-r--r-- 1 root www-data 561 mai 9 10:58 client.min.js > -rw-r--r-- 1 root www-data 23137 avril 17 18:37 config.php > drwxr-xr-x 2 root www-data 4096 sept. 4 00:56 images > -rw-r--r-- 1 root www-data 7006 avril 17 18:37 index.php > -rw-r--r-- 1 root www-data 3285 avril 17 18:37 styles.css > -rw-r--r-- 1 root www-data 14176 avril 17 18:37 test.php > > > # tail /var/log/roundcube/errors > [19-Sep-2016 14:59:11 +0200]: DB Error: Configuration error. > Unsupported database driver: in > /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82 > (GET /) > [19-Sep-2016 14:59:18 +0200]: DB Error: Configuration error. > Unsupported database driver: in > /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82 > (GET /) > > Normal, puisque je n'ai toujours pas réussi à atteindre le fichier de > configuration à partir de /var/lib/roundcube. > > J'ai désactivé les disable_functions dans mon php.ini, j'ai ajouté > disable_symlinks off; à nginx.conf, mais ça ne > change rien à l'affaire… > > Heeeeeeeelp !
Hoplà! Moi je ne vois pas de lien depuis /var/lib/roundcube/installer sur /usr/share/roundcube/installer... Mais je ne me rappelle pas avoir utilisé un accès depuis un navigateur pour installer / configurer l'engin... As-tu essayé depuis ton butineur l'accès à index.php de la racine de ton serveur configuré dans /etc/nginx/sites-enabled ? > > Ph. Gras