我在这里找到了几个关于如何做到这一点的主题,但它们似乎都不起作用,因为 WAMP 改变了所提到的文件的结构。
这是我的 phpmyadmin 配置。我希望它在不同的端口上运行。
Alias /phpmyadmin "F:/wamp_active/apps/phpmyadmin4.1.14/"
# to give access to phpmyadmin from outside
# replace the lines
#
# Require local
#
# by
#
# Require all granted
#
ServerName localhost:8088
DocumentRoot "F:/wamp_active/apps/phpmyadmin4.1.14/"
<Directory "F:/wamp_active/apps/phpmyadmin4.1.14/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</IfDefine>
php_admin_value upload_max_filesize 200M
php_admin_value post_max_size 200M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>