简体   繁体   中英

ec2 amazon, can't read /etc/httpd/conf.d/phpMyAdmin.conf: No such file or directory

I'm running ec2 Instance on amazon, I followed the exact command line as mentioned on official Amazon Doc when I tape sudo sed -i -e 's/127.0.0.1/your_ip_address/g' /etc/httpd/conf.d/phpMyAdmin.conf it gives me this error can't read /etc/httpd/conf.d/phpMyAdmin.conf: No such file or directory and I can't connect to phpmyadmin I put my own id address of course. When I tape sudo yum list installed httpd24 php70 mysql56-server php70-mysqlnd I can see that mysql56-server.x86_64 is installed. It's the second instance that I have create and gives ma the same error.

Have you installed phpMyAdmin?

sudo yum-config-manager --enable epel
sudo yum install -y phpMyAdmin

Assuming you are using this guide - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html

What is the output of

sudo ls -lh /etc/httpd/conf.d/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM