Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I install phpMyAdmin it automatically installs Apache. That happens even though I do not select Apache in the installation process of phpMyAdmin and choose not to install via db-config.

How do I avoid to install Apache since I am using Nginx?

My setup is: - Debian Squeeze - setup in sources.list - nginx 1.0.11 - PHP 5.3

share|improve this question

apt-get has a download only option. So do the sudo apt-get install -d phpmyadmin and then choose the packages you want to install and install them manually with sudo dpkg -i <packages>.deb These packages are usually downloaded to /var/cache/apt/archives/ .

share|improve this answer

What OS do you use?If it is using packages like Debian or Redhat, Apache is installed as dependency since PHPadmin requires webserver.Consult your OS documentation for details how to ignore dependencies.

share|improve this answer
Check this howtoforge article that may help:… – Sergei Dec 25 '11 at 14:11
howtoforge do not take into account the Apache get's install. And the webserver nginx is already installed – Cudos Dec 25 '11 at 14:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.