port 80 error

Apache Address already in use: make_sock: could not bind to port 80 error and solution

First make sure port 80/443 is not used by any other service or application with netstat command:

# netstat -tulpn| grep :80

If port 80 is bind to httpd, kill all process:
# killall -9 httpd

Now start the httpd:
# /etc/init.d/httpd start

Also make sure you are root while starting the httpd.


Install Phpmyadmin

Install Remi repository

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

install phpmyadmin

yum –enablerepo=remi install phpmyadmin

vi /etc/httpd/conf.d/phpMyAdmin.conf

change  directory permission to  –    allow from all

restart apache