Forbidden error when accessing deployed phpMyAdmin page

Asked 2 years ago, Updated 2 years ago, 134 views

Has anyone been able to deploy PhpMyAdmin on Mac OS High Sierra (Apache 2.4, PHP 7.1, MySQL 8.0)?
I've tried everything on the Internet right now, but I can't get rid of Forbidden.If anyone is successful, please tell me about your environment.

Forbidden
You don't have permission to access/phpmyadmin/on this server.

References
[macOS Sierra] Build AMP environment on Mac OS X 10.12 macOS Sierra [Beginner must see][Continued]
Install Apache, MySQL, PHP and phpMyAdmin on macOS Sierra

WebServer/Documents/ I posted to see if it is compatible by putting it below.

mysql>select user, host from mysql.user;
+------------------+-----------+
| user | host |
+------------------+-----------+
| user|%|
| laravel | localhost |
| mysql.infoschema | localhost |
| mysql.session | localhost |
| mysql.sys | localhost |
| root | localhost |
+------------------+-----------+
6 rows in set (0.09 sec)

macos phpmyadmin

2022-09-30 18:54

1 Answers

Verify that PHP5 or PHP7 is enabled in Apache2's httpd.conf.
LoadModule php7_module is not enabled because it is commented out that it has a # at the beginning.

For example, if you are editing httpd.conf on Vim, try removing # and saving it as :wq.


2022-09-30 18:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.