Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does nginx configure alias to phpmyadmin

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to configure alias to phpmyadmin in nginx, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Note 1) website localhost storage directory: D:/localhost, access address: http://localhost/2) phpmyadmin program storage directory: D:/wamp/apps/phpmyadmin4.1.14 needs to point the phpmyadmin alias of localhost to the D:/wamp/apps/phpmyadmin4.1.14 directory. Implementation of server {listen 80; server_name localhost 127.0.0.1; root dvl _ stop _ localhost; index index.html index.htm index.php; autoindex on; autoindex_exact_size off; autoindex_localtime on; location / phpmyadmin/ {alias _ PHP _ myadmin 4.1.14; index index.php } location ~\ .php$ {try_files $uri = 404; fastcgi_pass 127.0.0.1 try_files 9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;} # error_page 404 / 404.html # redirect server error pages to the static page / 50x.html # error_page 500502503504 / 50x.hml; location = / 50x.html {root html;} location ~ /\. (ht | svn | git) {deny all;}} error 1) can't be implemented all the time. 2) if it is Apache, it is very convenient and direct alias / phpmyadmin D:/wamp/apps/phpmyadmin4.1.14 can thank you for reading this article carefully. I hope it is helpful for everyone to share nginx how to configure alias to phpmyadmin content. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report