If you have set your document root to be in /my_project/public the webserver starts looking there for your subfolders (that's why it's called "root"). So either you need to put your phpmyadmin into your public directory or you need a vhost for phpmyadmin with a different root directory.
Laravel AWS, Setting up phpMyAdmin issue
Hi all,
i have hosted my laravel app in aws EC2 instance (Linux 2),
after hosting i changed the Document root from /var/www/html to /var/www/my_project/public as it will be the root folder for laravel, it is working perfectly fine.
I have followed the tutorial for LAMP Stack from this link
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html
My issue is setting up the phpMyAdmin from rds, i have initiated rds also, right now the phpMyAdmin is in folder
/var/www/html/.
So when i go to my_ip_address/phpMyAdmin i must be able to see the login page for phpMyAdmin, but i am getting error as
Not Found. The requested URL /phpMyAdmin was not found on this server.
is there any thing i am missing ?? like configuring the phpMyAdmin with EC2? i have gone through google almost 3 pages , but could not solve the issue.
Any help will be appreciated,
Thank you
Please or to participate in this conversation.