Score:0

Something keeps deleting /etc/apache2/mods-available/php7.load and restarting Apache2

tr flag

I have an old box co-hosted in a VPS setup that I have no control over. It's an old kernel; 2.6.32-042stab145.3 and an old Xenial, Ubuntu 16.04.7 LTS. These things I can't change. I know it's end of life, but this is the situation I am, for reasons beyond my control, stuck with. This is system is not connected directly to the internet.

This lead to only an old version of PHP being available from repo's, that resulted in me having to build from source and install a PHP version myself, specifically the web module for Apache. So far, so good;

chmod 644 /usr/lib/apache2/modules/libphp7.so
[preparing module `php7' in /etc/apache2/mods-available/php7.load]

A service apache2 reload and I am in business.

But, every day or so it seems, something keeps deleting /etc/apache2/mods-available/php7.load and restarting the Apache server. And I can't figure out what.

The normal route of using auditd seems blocked, because either the kernel isn't configured with audit support or it doesn't work in VPS or there is something else I don't see.

So, how do I find out what is doing this, keeping the restrictions I mentioned in mind?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.