bonsoir,
j'utilise ceci avec le script automatique bonobox, j'ai bien accès à ma base de données SQL j'ai eux connexion database succès, je dispose de phpmyadmin :
en passant voici la conf phpmyadmin parfaitement fonctionnel avec bonobox:
/etc/nginx/sites-enabled/rutorrent.conf
## début config phpmyadmin ##
location ^~ /phpmyadmin {
root /var/www/;
index index.php index.html index.htm;
location ~ ^/phpmyadmin/(.+\.php)$ {
try_files $uri =404;
root /var/www/;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /var/www;
}
}
location /phpMyAdmin {
root /var/www/;
rewrite ^/* /phpmyadmin last;
}
## fin config phpmyadmin ##
Mon erreur dans les logs:
016/06/11 21:06:28 [error] 830#830: *21204 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function mcrypt_create_iv() in /var/www/pydio/core/classes/class.AJXP_Utils.php on line 1987" while reading response header from upstream, client: xxxxxxxxxx, server: mondomaine.ovh, request: "POST /pydio/index.php? HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh", referrer: "https://mondomaine.ovh/pydio/"
Et du coup l'installation bloque
voici ma config pydio:
/etc/nginx/sites-enabled/rutorrent.conf
## début config pydio ##
location ^~ /pydio {
root /var/www;
index index.php;
include /etc/nginx/conf.d/php-pydio.conf;
include /etc/nginx/conf.d/drop.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
location ~* ^/pydio/(?:ico|css|js|gif|jp?eg|png)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
## fin config pydio ##
/etc/nginx/conf.d/php-pydio.conf
location ~ \.php$ {
try_files $uri =404;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
/etc/nginx/conf.d/drop.conf
location = /pydio/conf/ { deny all; }
location = /pydio/data/ { deny all; }
location = /pydio/robots.txt { access_log off; log_not_found off; }
location = /pydio/favicon.ico { access_log off; log_not_found off; }
location ~ /pydio/\. { access_log off; log_not_found off; deny all; }
location ~ ~$ { access_log off; log_not_found off; deny all; }
Comment régler cette l'erreur ? :
Mon erreur dans les logs:
016/06/11 21:06:28 [error] 830#830: *21204 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function mcrypt_create_iv() in /var/www/pydio/core/classes/class.AJXP_Utils.php on line 1987" while reading response header from upstream, client: xxxxxxxxxxx, server: mondomaine.ovh, request: "POST /pydio/index.php? HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mondomaine.ovh", referrer: "https://mondomaine.ovh/pydio/"