Jump to content
PHP論壇人

10-2.phpMyAdmin 修改 port 888 / 探針、phpinfo


Recommended Posts

--------------------------------------------
phpMyAdmin 修改 port 888
--------------------------------------------

修改接近寶塔面板的做法,改port 888


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

 

搜尋
listen 80 default_server reuseport;

修改為
listen 888 default_server reuseport;

 

儲存並離開
:wq

 

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

 

 

phpMyAdmin port已改為888

然後雲主機的WAF防火牆、iptables防火牆,也要修改 port 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

 

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...