[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2/PHP7 fails in Buster





On 16/01/2020 14:35, Roberto C. Sánchez wrote:
On Thu, Jan 16, 2020 at 02:27:16PM +0000, Tony van der Hoff wrote:
Hi,

I have a up to date Buster system as a fresh install (not upgrade).

My PHP scripts, which used to work fine under Stretch, are now failing - the
browser just shows the script source.

a2enmod php7.3 shows ERROR: Module php7.3 does not exist!

apt-get install libapache2-mod-php7.3 shows libapache2-mod-php7.3 is already
the newest version (7.3.11-1~deb10u1)

OK, so what is going wrong, please?

What is the output of `ls -l /etc/apache2/mods-*'?

lrwxrwxrwx 1 root root 36 Oct 29 11:58 access_compat.load -> ../mods-available/access_compat.load lrwxrwxrwx 1 root root 28 Oct 29 11:58 alias.conf -> ../mods-available/alias.conf lrwxrwxrwx 1 root root 28 Oct 29 11:58 alias.load -> ../mods-available/alias.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 auth_basic.load -> ../mods-available/auth_basic.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 authn_core.load -> ../mods-available/authn_core.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 authn_file.load -> ../mods-available/authn_file.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_core.load -> ../mods-available/authz_core.load lrwxrwxrwx 1 root root 38 Nov 4 10:12 authz_groupfile.load -> ../mods-available/authz_groupfile.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_host.load -> ../mods-available/authz_host.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_user.load -> ../mods-available/authz_user.load lrwxrwxrwx 1 root root 32 Oct 29 11:58 autoindex.conf -> ../mods-available/autoindex.conf lrwxrwxrwx 1 root root 32 Oct 29 11:58 autoindex.load -> ../mods-available/autoindex.load lrwxrwxrwx 1 root root 27 Nov 4 15:03 cgid.conf -> ../mods-available/cgid.conf lrwxrwxrwx 1 root root 27 Nov 4 15:03 cgid.load -> ../mods-available/cgid.load lrwxrwxrwx 1 root root 26 Nov 4 15:05 cgi.load -> ../mods-available/cgi.load lrwxrwxrwx 1 root root 30 Oct 29 11:58 deflate.conf -> ../mods-available/deflate.conf lrwxrwxrwx 1 root root 30 Oct 29 11:58 deflate.load -> ../mods-available/deflate.load lrwxrwxrwx 1 root root 26 Oct 29 11:58 dir.conf -> ../mods-available/dir.conf lrwxrwxrwx 1 root root 26 Oct 29 11:58 dir.load -> ../mods-available/dir.load lrwxrwxrwx 1 root root 26 Oct 29 11:58 env.load -> ../mods-available/env.load lrwxrwxrwx 1 root root 29 Oct 29 11:58 filter.load -> ../mods-available/filter.load lrwxrwxrwx 1 root root 30 Nov 3 10:33 include.load -> ../mods-available/include.load lrwxrwxrwx 1 root root 27 Oct 29 11:58 mime.conf -> ../mods-available/mime.conf lrwxrwxrwx 1 root root 27 Oct 29 11:58 mime.load -> ../mods-available/mime.load lrwxrwxrwx 1 root root 34 Nov 4 15:05 mpm_prefork.conf -> ../mods-available/mpm_prefork.conf lrwxrwxrwx 1 root root 34 Nov 4 15:05 mpm_prefork.load -> ../mods-available/mpm_prefork.load lrwxrwxrwx 1 root root 34 Oct 29 11:58 negotiation.conf -> ../mods-available/negotiation.conf lrwxrwxrwx 1 root root 34 Oct 29 11:58 negotiation.load -> ../mods-available/negotiation.load lrwxrwxrwx 1 root root 28 Jan 16 14:02 proxy.conf -> ../mods-available/proxy.conf lrwxrwxrwx 1 root root 33 Jan 16 14:02 proxy_fcgi.load -> ../mods-available/proxy_fcgi.load lrwxrwxrwx 1 root root 28 Jan 16 14:02 proxy.load -> ../mods-available/proxy.load lrwxrwxrwx 1 root root 33 Oct 29 11:58 reqtimeout.conf -> ../mods-available/reqtimeout.conf lrwxrwxrwx 1 root root 33 Oct 29 11:58 reqtimeout.load -> ../mods-available/reqtimeout.load lrwxrwxrwx 1 root root 31 Oct 29 11:58 setenvif.conf -> ../mods-available/setenvif.conf lrwxrwxrwx 1 root root 31 Oct 29 11:58 setenvif.load -> ../mods-available/setenvif.load lrwxrwxrwx 1 root root 29 Oct 29 11:58 status.conf -> ../mods-available/status.conf lrwxrwxrwx 1 root root 29 Oct 29 11:58 status.load -> ../mods-available/status.load lrwxrwxrwx 1 root root 30 Nov 4 10:07 userdir.conf -> ../mods-available/userdir.conf lrwxrwxrwx 1 root root 30 Nov 4 10:07 userdir.load -> ../mods-available/userdir.load
--
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England |


Reply to: