On 16/01/2020 14:52, Roberto C. Sánchez wrote:
On Thu, Jan 16, 2020 at 02:39:21PM +0000, Tony van der Hoff wrote:
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-*'?
[SNIP]
That looks like the contents of /etc/apache2/mods-enabled. Do you have
a directory /etc/apache2/mods-available? You must, or your Apache
installation would be completely broken. Can you look in
/etc/apache2/mods-available to see if there is a PHP module listed there
as available?
Yes, you're right. I missed half the output, sorry. But there is no PHP
module there, which is why I tried apt-get install libapache2-mod-php7.3.
/etc/apache2/mods-available:
total 564
-rw-r--r-- 1 root root 100 Apr 2 2019 access_compat.load
-rw-r--r-- 1 root root 377 Apr 2 2019 actions.conf
-rw-r--r-- 1 root root 66 Apr 2 2019 actions.load
-rw-r--r-- 1 root root 843 Apr 2 2019 alias.conf
-rw-r--r-- 1 root root 62 Apr 2 2019 alias.load
-rw-r--r-- 1 root root 76 Apr 2 2019 allowmethods.load
-rw-r--r-- 1 root root 76 Apr 2 2019 asis.load
-rw-r--r-- 1 root root 94 Apr 2 2019 auth_basic.load
-rw-r--r-- 1 root root 96 Apr 2 2019 auth_digest.load
-rw-r--r-- 1 root root 100 Apr 2 2019 auth_form.load
-rw-r--r-- 1 root root 72 Apr 2 2019 authn_anon.load
-rw-r--r-- 1 root root 72 Apr 2 2019 authn_core.load
-rw-r--r-- 1 root root 85 Apr 2 2019 authn_dbd.load
-rw-r--r-- 1 root root 70 Apr 2 2019 authn_dbm.load
-rw-r--r-- 1 root root 72 Apr 2 2019 authn_file.load
-rw-r--r-- 1 root root 78 Apr 2 2019 authn_socache.load
-rw-r--r-- 1 root root 74 Apr 2 2019 authnz_fcgi.load
-rw-r--r-- 1 root root 90 Apr 2 2019 authnz_ldap.load
-rw-r--r-- 1 root root 72 Apr 2 2019 authz_core.load
-rw-r--r-- 1 root root 96 Apr 2 2019 authz_dbd.load
-rw-r--r-- 1 root root 92 Apr 2 2019 authz_dbm.load
-rw-r--r-- 1 root root 104 Apr 2 2019 authz_groupfile.load
-rw-r--r-- 1 root root 94 Apr 2 2019 authz_host.load
-rw-r--r-- 1 root root 74 Apr 2 2019 authz_owner.load
-rw-r--r-- 1 root root 94 Apr 2 2019 authz_user.load
-rw-r--r-- 1 root root 3374 Apr 2 2019 autoindex.conf
-rw-r--r-- 1 root root 70 Apr 2 2019 autoindex.load
-rw-r--r-- 1 root root 64 Oct 13 21:21 brotli.load
-rw-r--r-- 1 root root 64 Apr 2 2019 buffer.load
-rw-r--r-- 1 root root 889 Apr 2 2019 cache_disk.conf
-rw-r--r-- 1 root root 89 Apr 2 2019 cache_disk.load
-rw-r--r-- 1 root root 62 Apr 2 2019 cache.load
-rw-r--r-- 1 root root 95 Apr 2 2019 cache_socache.load
-rw-r--r-- 1 root root 70 Apr 2 2019 cern_meta.load
-rw-r--r-- 1 root root 115 Apr 2 2019 cgid.conf
-rw-r--r-- 1 root root 60 Apr 2 2019 cgid.load
-rw-r--r-- 1 root root 58 Apr 2 2019 cgi.load
-rw-r--r-- 1 root root 76 Apr 2 2019 charset_lite.load
-rw-r--r-- 1 root root 60 Apr 2 2019 data.load
-rw-r--r-- 1 root root 83 Apr 2 2019 dav_fs.conf
-rw-r--r-- 1 root root 79 Apr 2 2019 dav_fs.load
-rw-r--r-- 1 root root 58 Apr 2 2019 dav.load
-rw-r--r-- 1 root root 68 Apr 2 2019 dav_lock.load
-rw-r--r-- 1 root root 58 Apr 2 2019 dbd.load
-rw-r--r-- 1 root root 395 Oct 13 21:21 deflate.conf
-rw-r--r-- 1 root root 84 Apr 2 2019 deflate.load
-rw-r--r-- 1 root root 64 Apr 2 2019 dialup.load
-rw-r--r-- 1 root root 157 Apr 2 2019 dir.conf
-rw-r--r-- 1 root root 58 Apr 2 2019 dir.load
-rw-r--r-- 1 root root 64 Apr 2 2019 dump_io.load
-rw-r--r-- 1 root root 60 Apr 2 2019 echo.load
-rw-r--r-- 1 root root 58 Apr 2 2019 env.load
-rw-r--r-- 1 root root 66 Apr 2 2019 expires.load
-rw-r--r-- 1 root root 72 Apr 2 2019 ext_filter.load
-rw-r--r-- 1 root root 89 Apr 2 2019 file_cache.load
-rw-r--r-- 1 root root 64 Apr 2 2019 filter.load
-rw-r--r-- 1 root root 66 Apr 2 2019 headers.load
-rw-r--r-- 1 root root 176 Apr 2 2019 heartbeat.load
-rw-r--r-- 1 root root 182 Apr 2 2019 heartmonitor.load
-rw-r--r-- 1 root root 1240 Oct 13 21:21 http2.conf
-rw-r--r-- 1 root root 62 Apr 2 2019 http2.load
-rw-r--r-- 1 root root 62 Apr 2 2019 ident.load
-rw-r--r-- 1 root root 68 Apr 2 2019 imagemap.load
-rw-r--r-- 1 root root 82 Apr 2 2019 include.load
-rw-r--r-- 1 root root 402 Apr 2 2019 info.conf
-rw-r--r-- 1 root root 60 Apr 2 2019 info.load
-rw-r--r-- 1 root root 116 Apr 2 2019 lbmethod_bybusyness.load
-rw-r--r-- 1 root root 116 Apr 2 2019 lbmethod_byrequests.load
-rw-r--r-- 1 root root 114 Apr 2 2019 lbmethod_bytraffic.load
-rw-r--r-- 1 root root 114 Apr 2 2019 lbmethod_heartbeat.load
-rw-r--r-- 1 root root 121 Apr 2 2019 ldap.conf
-rw-r--r-- 1 root root 60 Apr 2 2019 ldap.load
-rw-r--r-- 1 root root 70 Apr 2 2019 log_debug.load
-rw-r--r-- 1 root root 76 Apr 2 2019 log_forensic.load
-rw-r--r-- 1 root root 58 Apr 2 2019 lua.load
-rw-r--r-- 1 root root 62 Apr 2 2019 macro.load
-rw-r--r-- 1 root root 56 Oct 13 21:21 md.load
-rw-r--r-- 1 root root 7676 Oct 13 21:21 mime.conf
-rw-r--r-- 1 root root 60 Apr 2 2019 mime.load
-rw-r--r-- 1 root root 120 Apr 2 2019 mime_magic.conf
-rw-r--r-- 1 root root 72 Apr 2 2019 mime_magic.load
-rw-r--r-- 1 root root 668 Apr 2 2019 mpm_event.conf
-rw-r--r-- 1 root root 106 Apr 2 2019 mpm_event.load
-rw-r--r-- 1 root root 571 Apr 2 2019 mpm_prefork.conf
-rw-r--r-- 1 root root 108 Apr 2 2019 mpm_prefork.load
-rw-r--r-- 1 root root 836 Apr 2 2019 mpm_worker.conf
-rw-r--r-- 1 root root 107 Apr 2 2019 mpm_worker.load
-rw-r--r-- 1 root root 724 Apr 2 2019 negotiation.conf
-rw-r--r-- 1 root root 74 Apr 2 2019 negotiation.load
-rw-r--r-- 1 root root 87 Apr 2 2019 proxy_ajp.load
-rw-r--r-- 1 root root 347 Apr 2 2019 proxy_balancer.conf
-rw-r--r-- 1 root root 115 Apr 2 2019 proxy_balancer.load
-rw-r--r-- 1 root root 822 Apr 2 2019 proxy.conf
-rw-r--r-- 1 root root 95 Apr 2 2019 proxy_connect.load
-rw-r--r-- 1 root root 95 Apr 2 2019 proxy_express.load
-rw-r--r-- 1 root root 89 Apr 2 2019 proxy_fcgi.load
-rw-r--r-- 1 root root 93 Apr 2 2019 proxy_fdpass.load
-rw-r--r-- 1 root root 189 Apr 2 2019 proxy_ftp.conf
-rw-r--r-- 1 root root 87 Apr 2 2019 proxy_ftp.load
-rw-r--r-- 1 root root 93 Apr 2 2019 proxy_hcheck.load
-rw-r--r-- 1 root root 2511 Apr 2 2019 proxy_html.conf
-rw-r--r-- 1 root root 97 Apr 2 2019 proxy_html.load
-rw-r--r-- 1 root root 97 Apr 2 2019 proxy_http2.load
-rw-r--r-- 1 root root 89 Apr 2 2019 proxy_http.load
-rw-r--r-- 1 root root 62 Apr 2 2019 proxy.load
-rw-r--r-- 1 root root 89 Apr 2 2019 proxy_scgi.load
-rw-r--r-- 1 root root 91 Oct 13 21:21 proxy_uwsgi.load
-rw-r--r-- 1 root root 97 Apr 2 2019 proxy_wstunnel.load
-rw-r--r-- 1 root root 85 Apr 2 2019 ratelimit.load
-rw-r--r-- 1 root root 70 Apr 2 2019 reflector.load
-rw-r--r-- 1 root root 68 Apr 2 2019 remoteip.load
-rw-r--r-- 1 root root 1190 Apr 2 2019 reqtimeout.conf
-rw-r--r-- 1 root root 72 Apr 2 2019 reqtimeout.load
-rw-r--r-- 1 root root 66 Apr 2 2019 request.load
-rw-r--r-- 1 root root 66 Apr 2 2019 rewrite.load
-rw-r--r-- 1 root root 58 Apr 2 2019 sed.load
-rw-r--r-- 1 root root 99 Apr 2 2019 session_cookie.load
-rw-r--r-- 1 root root 99 Apr 2 2019 session_crypto.load
-rw-r--r-- 1 root root 93 Apr 2 2019 session_dbd.load
-rw-r--r-- 1 root root 66 Apr 2 2019 session.load
-rw-r--r-- 1 root root 1280 Apr 2 2019 setenvif.conf
-rw-r--r-- 1 root root 68 Apr 2 2019 setenvif.load
-rw-r--r-- 1 root root 78 Apr 2 2019 slotmem_plain.load
-rw-r--r-- 1 root root 74 Apr 2 2019 slotmem_shm.load
-rw-r--r-- 1 root root 74 Apr 2 2019 socache_dbm.load
-rw-r--r-- 1 root root 84 Apr 2 2019 socache_memcache.load
-rw-r--r-- 1 root root 78 Apr 2 2019 socache_shmcb.load
-rw-r--r-- 1 root root 66 Apr 2 2019 speling.load
-rw-r--r-- 1 root root 3110 Apr 2 2019 ssl.conf
-rw-r--r-- 1 root root 97 Apr 2 2019 ssl.load
-rw-r--r-- 1 root root 749 Apr 2 2019 status.conf
-rw-r--r-- 1 root root 64 Apr 2 2019 status.load
-rw-r--r-- 1 root root 72 Apr 2 2019 substitute.load
-rw-r--r-- 1 root root 64 Apr 2 2019 suexec.load
-rw-r--r-- 1 root root 70 Apr 2 2019 unique_id.load
-rw-r--r-- 1 root root 324 Apr 2 2019 userdir.conf
-rw-r--r-- 1 root root 66 Apr 2 2019 userdir.load
-rw-r--r-- 1 root root 70 Apr 2 2019 usertrack.load
-rw-r--r-- 1 root root 74 Apr 2 2019 vhost_alias.load
-rw-r--r-- 1 root root 66 Apr 2 2019 xml2enc.load
--
Tony van der Hoff | mailto:t...@vanderhoff.org
Buckinghamshire, England |