Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/etc/httpd/conf.d/phpMyAdmin.conf file not found

I have PHP7, Laravel 5.5 and mysql installed on Cent OS7 at linode.com Now, trying to install phpmyadmin and following this article . I have ran the command which says yum install phpmyadmin

But, after this, it says, Open the file in your text editor now so that we can make a few changes:

sudo nano /etc/httpd/conf.d/phpMyAdmin.conf

I opened the directory /etc/httpd/conf.d and found that there is no file present with the name of phpMyAdmin.conf

Below is the output of sudo ls -lh /etc/httpd/conf.d/

enter image description here

Am I missing anything?

like image 221
Pankaj Avatar asked Mar 07 '26 19:03

Pankaj


1 Answers

I had the exact same issue as you except I followed this article. When I ran yum install phpmyadmin at the end of the installation I got these errors:

Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.16-46.el7.x86_64 (@base)
               php(zend-abi) = 20100525-64
Error: Package: php-tcpdf-6.2.26-1.el6.noarch (epel)
           Requires: php-tidy
Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.16-46.el7.x86_64 (@base)
               php(api) = 20100412-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I fixed the issue by running these commands:

yum clean all
yum remove epel-release
yum install epel-release

And after that I installed php-mcrypt to test if it would install and it did. After that I ran the command yum install phpmyadmin and it worked fine. Hopefully this will work for you too.

like image 50
RamonRobben Avatar answered Mar 10 '26 16:03

RamonRobben



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!