Re: Apache2/PHP7 fails in Buster
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?
Regards,
-Roberto
--
Roberto C. Sánchez
Reply to: