# Apache2 installed without being requested, nginx down

**Project:** Bugs | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/7-bugs/items/1668-apache2-installed-without-being-requested-nginx-down

---

Apache2 installed without being requested, nginx down after reboot. 


Problem: nginx failed to start (bind() to 0.0.0.0:80 failed (98: Address already in use)). Port 80 was held by apache2, which we never installed.

Cause: libapache2-mod-php8.6 (8.6.0-3+debsuryorg26.04.1+1) is installed, and it is the only package that depends on apache2. It looks like PHP 8.6 was installed without php8.6-fpm. apt then satisfied php8.6 with the Apache module, which brought in Apache, and Apache started at boot before nginx. This seems to coincide with Ploi adding PHP 8.6 support.


Workaround: systemctl disable --now apache2 &amp;&amp; systemctl start nginx


Questions:

what has changed in ploi or ubuntu or php that this is happening on new servers. 

Both servers affected had php 8.3 as default. one of them 8.4 installed as well. 
No php 8.6 was installed by me, so I wonder why this happened at all. 


Does Ploi's PHP 8.6 install or update install php8.6-fpm before php8.6?

