1) git clone https://github.com/phpmyadmin/phpmyadmin.git
2) composer update --no-dev
3) yarn install
релиз с сайта
1a) просто скачать zip архив с сайта
4) permissions www-data:www-data, nginx config
server
{
listen <IP>;
server_name phpmyadmin.server.tld;
root /var/www/phpmyadmin;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
location ~ ^/(.+\.php)$
{
try_files $uri = 404;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_index index.php;
}
error_log /var/log/nginx/phpmyadmin_error.log;
access_log /var/log/nginx/phpmyadmin_access.log;
}
Комментариев нет:
Отправить комментарий