Answer the question
In order to leave comments, you need to log in
Nginx backend + phpmyadmin doesn't respond, redirects to 8080 and stalls, why?
Debian 8. php 5.6 , Zend OPcache enabled, nginx 1.8
Nginx:80 + Nginx:8080 .
I'm trying to access this path domain_name/pma . An authorization window appears.
When trying to authenticate, it sends it to port 8080 and everything stalls there.
I tried to send redirects to port 80, but then I didn’t pass authorization, it returns to entering the login \ pass.
location /pma {
alias /usr/share/phpmyadmin/;
index index.php index.html index.htm;
location ~ \.php {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_ignore_client_abort off;
}
location ~* ^/phpmyadmin/.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid |midi|wav|bmp|rtf|js|swf|flv|avi|djvu|mp3)$ {
root /usr/share;
#alias /usr/share/phpmyadmin;
}
}
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 7479/mysqld tcp 0 0 127.0.0.1:11211 0.0.0.0:*
LISTEN 5154/memcached
sshd
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 12077/nginx.conf
Answer the question
In order to leave comments, you need to log in
How I did
Install nginx
Install php5-fpm
Install mysql server
on digital ocean There is an instruction
Here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question