I have some problem with Apache2 when install Wordpress.

June 7, 2016 623 views
WordPress Apache

i got some problem after run this command

root@......:~# echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/sites-enabled/000-default.conf
root@........:~# service apache2 restart

  • Restarting web server apache2 [fail]
  • The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 14 of /etc/apache2/sites-enabled/000-default.conf: Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory Action 'configtest' failed. The Apache error log may have more information.

Anyone can help me.

1 comment
  • The file you are appending, /etc/phpmyadmin/apache.conf, to your default apache site configuration does not exist because you most likely didn't install phpmyadmin yet. I'm not sure why you're adding that file, but for now you should verify that phpmyadmin is installed. If your package manager is debian based, then try the following command:

    dpkg-query --status phpmyadmin

    If your package manager is rpm based, then try the following command:

    rpm --query --info phpMyAdmin
Be the first one to answer this question.