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
napisał:
> 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.
> Here
> 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
> 50.63.185.234:35868] AH02811: script not found or unable to stat:
> /usr/lib/cgi-bin/status
>
> I tend to keep "tail -f /var/log/syslog" open whenever I'm doing
> sysadmin stuff. The only thing appearing in syslog throughout my
> Apache
> testing is Postfix reporting connections. No Apache messages at all.
> I'm
> 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.
Reply to: