Re: Apache suddenly downloads PHP instead of executing it ... but only on one virtual site?
W dniu wto, 29.10.2019 o godzinie 14∶25 -0400, użytkownik Carl Fink
> On 10/29/19 1:59 PM, Norbert Kiszka wrote:
> > Can You look into Apache error log(s)? Syslog?
> > Anybody did anything in this server when this was happen?
> Apache's error.log hasn't been updated since I restarted Apache.
> are the only 3 lines:
> [Tue Oct 29 06:32:35.034304 2019] [mpm_prefork:notice] [pid 2460]
> AH00163: Apache/2.4.25 (Debian) OpenSSL/1.0.2t mod_fcgid/2.3.9
> configured -- resuming normal operations
> [Tue Oct 29 06:32:35.034385 2019] [core:notice] [pid 2460] AH00094:
> Command line: '/usr/sbin/apache2'
> [Tue Oct 29 08:37:11.046031 2019] [cgi:error] [pid 18982] [client
> 188.8.131.52:35868] AH02811: script not found or unable to stat:
> I tend to keep "tail -f /var/log/syslog" open whenever I'm doing
> sysadmin stuff. The only thing appearing in syslog throughout my
> testing is Postfix reporting connections. No Apache messages at all.
> the only one doing anything sysadminish on this server.
> Thank you, Norbert.
ls -l `find /etc/apache2/mods-enabled -iname "*php*"`
ls -l `find /etc/apache2/mods-available -iname "*php*"`
Try to remove "AddType application/x-httpd-php .php" from vhost conf.