Jump to content

10-2.phpMyAdmin改端口888


Recommended Posts

--------------------------------------------
phpMyAdmin 改端口 改port
--------------------------------------------

修改接近宝塔面板的做法,改端口888

修改nginx.conf
vi /usr/local/nginx/conf/nginx.conf


搜索
listen 80 default_server reuseport;

修改为
listen 888 default_server reuseport;


保存并离开
:wq

 


重啟nginx
/etc/init.d/nginx restart

 

端口已改为888

然后用云主机的WAF防火墙、CentOS firewalld/iptables防火墙来限制连线到端口888的IP


phpMyAdmin
http://你的IP:888/phpmyadmin/

探针
http://你的IP:888/p.php

phpinfo
http://你的IP:888/phpinfo.php

 

 

--------------------------------------------
phpMyAdmin更改数据库utf8mb4
--------------------------------------------

登录phpMyAdmin确保论坛是utf8mb4

phpMyAdmin
http://你的IP:888/phpmyadmin/


排序规则
utf8mb4_general_ci

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...