centos - How to make phpmyadmin work with NGINX -


i have tried many things cant seem make work. running centos6 64-bit. latest nginx version installed. cannot seem go http://domain.com/phpmyadmin aftet switching apache. please help, thanks.

here default.conf:

# default server # server {     listen       80 default_server;     server_name  _;      #charset koi8-r;      #access_log  logs/host.access.log  main;      location / {         root   /var/www/html;         index  login.php index.php;      }      error_page  404              /404.html;     location = /404.html {         root   /usr/share/nginx/html;     }      # redirect server error pages static page /50x.html     #     error_page   500 502 503 504  /50x.html;     location = /50x.html {         root   /usr/share/nginx/html;     }      # proxy php scripts apache listening on 127.0.0.1:80     #     #location ~ \.php$ {     #    proxy_pass   http://127.0.0.1;     #}      # pass php scripts fastcgi server listening on 127.0.0.1:9000     #     location ~ \.php$ {         root           /var/www/html;         fastcgi_pass   127.0.0.1:9000;         fastcgi_index  index.php;         fastcgi_param  script_filename  /scripts$fastcgi_script_name;         fastcgi_param script_filename /var/www/html$fastcgi_script_name;         include        fastcgi_params;     }      # deny access .htaccess files, if apache's document root     # concurs nginx's 1     #     #location ~ /\.ht {     #    deny  all;     #} } 

edit: fixed

moved phpmyadmin folder /usr/share web directory.

and broke package. prosperity:

location /phpmyadmin {     root /usr/share; } 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -