Just modify the configuration file config.default.php under the libraries in the phpmyadmin directory.
$cfg['Servers'][$i]['port'] = ''
This comment indicates that empty here means that the default port 3306 of MySQL is used. Just change it to:
$cfg['Servers'][$i]['port'] = '3307';
PHP Chinese website, there are a lot of freephpmyadmin introductory tutorials, everyone is welcome to learn!
The above is the detailed content of How to modify the port of phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!