Thanks, Roland.

I reverted the VM's snapshot and tried the below, to no avail:

ldap-01:~$ sudo apt install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version (2.4.29-1ubuntu4.25).
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
ldap-01:~$ sudo apt install php
Reading package lists... Done
Building dependency tree
Reading state information... Done
php is already the newest version (1:7.2+60ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
ldap-01:~$ sudo apt install libapache2-mod-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php is already the newest version (1:7.2+60ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
ldap-01:~$ sudo a2enmod php
ERROR: Module php does not exist!
ldap-01:~$ sudo a2enmod php7.2
Considering dependency mpm_prefork for php7.2:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.2:
Module php7.2 already enabled
ldap-01:~$ sudo systemctl restart apache2

On Thu, 18 Aug 2022 at 21:39, Roland Gruber <p...@rolandgruber.de> wrote:

> Hi Ben,
>
> looks like the PHP module for Apache is not installed/activated.
> You get the PHP code as text instead of the executed result.
>
>
> Best regards
>
> Roland
>
>
> Am 18.08.22 um 20:52 schrieb Ben Toms:
> > Hi folks,
> >
> > We're facing an issue updating to 8.0.1 on Ubuntu. We're on 6.9, but our
> > instance is accessible to only a few via VPN.
> >
> > We're also updating from 18.04LTS.
> >
> > Whichever way we try, we end up with <dns-name>/lam redirecting to:
> > <dns-name>/lam/templates/login.php and the below being displayed
> > (snipped but an example):
> >
> > <?php
> > namespace LAM\LOGIN;
> > use LAM\LIB\TWO_FACTOR\TwoFactorProviderService;
> > use \LAMConfig;
> > use \LAMCfgMain;
> > use \htmlSpacer;
> > use \htmlOutputText;
> > use \htmlSelect;
> > use \htmlInputField;
> > use \htmlGroup;
> > use \htmlInputCheckbox;
> > use \htmlButton;
> > use \htmlStatusMessage;
> > use LAMException;
> > use \Ldap;
> > use \htmlResponsiveRow;
> > use \htmlDiv;
> > use ServerProfilePersistenceManager;
> >
> > </snip>
> >
> > Help appreciated.
> >
> > --
> > Image
> >
> > - <https://datajar.co.uk/>
> >
> > - <https://twitter.com/dataJARltd> -
> > <https://www.linkedin.com/company/datajar-ltd/> -
> > <https://www.facebook.com/datajarltd>
> >
> >       -
> > Ben Toms
> > Head of Innovation and Platform
> > Image www.datajar.co.uk <http://datajar.co.uk>
> > Image b...@datajar.co.uk <mailto:b...@datajar.co.uk>
> > Image 01273 041886 <tel:01273%20041886>
> > Image 0800 368 9330
> > Image Orange Row, Brighton, BN1 1UQ
> >
> >
> > -
> > <
> https://www.channelpartnerinsight.com/news/4032018/meet-finalists-datajar-director-head-services-james-ridsdale>
>
> > -
> > <
> https://www.g2.com/products/datajar-mobi/reviews?__cf_chl_jschl_tk__=33df3e8cf236e1c1ddeefd4b9cf19530e62bf9b0-1623755259-0-Aav6hYnTvr1htYNz3oTNMDNhad6CHhZiPSlNgKXuLWm_E-6VBUcr-uR2z0p7j7GqLk79B4nbAYcRymBktEUjWggmaSLf0Es4FTpJVCJ0OCWFVmHauwFW8mdCVsDhJQSCtc0CCpKndUo0Fr5Ssa_arQMtlOARCXknRGbITdzNbVf_g0Ozg-anqT1uf1_2luz_f6AZLXaFPecFyF4sv3UvFh7Y9tLcTA3vX1whMzzHzJr-0OUUirmcPjZ9EvgrIN-MwQB91Zrj4AB8ZqfEYzCuJ32gilhGYHXLv4yK0ggAIAWYqU5T3SdX06V0-dbY6jZaFLW-QtB8_x2VDj0S9l71_hHDzJBUDM-53ILOdxBs0CnmPWQ5MCssu2gsXz1xEk_BOsA5BVekEK39s3AcbrjHElfeYVyMi7vVpTmHCH07ofiylTU7E5ACDbojaMkiBhimYCx0tfqLBkRRQiEAsIQnNBt3_eqCmFpqmdsk4VhqxN0MN2UpycQ7z6dMBnKaKSsYgA#details
> >
> >
> >
> >
> > Best Technical Support
> > MSP Innovation Awards
> > Europe 2021   -
> > <
> https://www.g2.com/products/datajar-mobi/reviews?__cf_chl_jschl_tk__=33df3e8cf236e1c1ddeefd4b9cf19530e62bf9b0-1623755259-0-Aav6hYnTvr1htYNz3oTNMDNhad6CHhZiPSlNgKXuLWm_E-6VBUcr-uR2z0p7j7GqLk79B4nbAYcRymBktEUjWggmaSLf0Es4FTpJVCJ0OCWFVmHauwFW8mdCVsDhJQSCtc0CCpKndUo0Fr5Ssa_arQMtlOARCXknRGbITdzNbVf_g0Ozg-anqT1uf1_2luz_f6AZLXaFPecFyF4sv3UvFh7Y9tLcTA3vX1whMzzHzJr-0OUUirmcPjZ9EvgrIN-MwQB91Zrj4AB8ZqfEYzCuJ32gilhGYHXLv4yK0ggAIAWYqU5T3SdX06V0-dbY6jZaFLW-QtB8_x2VDj0S9l71_hHDzJBUDM-53ILOdxBs0CnmPWQ5MCssu2gsXz1xEk_BOsA5BVekEK39s3AcbrjHElfeYVyMi7vVpTmHCH07ofiylTU7E5ACDbojaMkiBhimYCx0tfqLBkRRQiEAsIQnNBt3_eqCmFpqmdsk4VhqxN0MN2UpycQ7z6dMBnKaKSsYgA#details
> >
> > Ranked no1 for support
> > G2 MDM Grid^® for mobile device
> > management Spring 2022
> >
> >
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they are
> > addressed. If you have received this email in error please notify the
> > system manager. Please note that any views or opinions presented in this
> > email are solely those of the author and do not necessarily represent
> > those of the company. Finally, the recipient should check this email and
> > any attachments for the presence of viruses. The company accepts no
> > liability for any damage caused by any virus transmitted by this email.
> > DATA JAR LTD is a company registered in England and Wales. Registered
> > number: 08750679. Registered office: 136-140 Old Shoreham Road,
> > Brighton, BN3 7BD
> >
> >
> > _______________________________________________
> > Lam-public mailing list
> > Lam-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/lam-public
>
>
> _______________________________________________
> Lam-public mailing list
> Lam-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lam-public
>


-- 
[image: Image]

[image: -] <https://datajar.co.uk/>

[image: -] <https://twitter.com/dataJARltd>   [image: -]
<https://www.linkedin.com/company/datajar-ltd/>   [image: -]
<https://www.facebook.com/datajarltd>
[image: -]
Ben Toms
Head of Innovation and Platform

[image: Image] www.datajar.co.uk <http://datajar.co.uk>

[image: Image] b...@datajar.co.uk

[image: Image] 01273 041886

[image: Image] 0800 368 9330

[image: Image] Orange Row, Brighton, BN1 1UQ



  [image: -]
<https://www.channelpartnerinsight.com/news/4032018/meet-finalists-datajar-director-head-services-james-ridsdale>
[image:
-]
<https://www.g2.com/products/datajar-mobi/reviews?__cf_chl_jschl_tk__=33df3e8cf236e1c1ddeefd4b9cf19530e62bf9b0-1623755259-0-Aav6hYnTvr1htYNz3oTNMDNhad6CHhZiPSlNgKXuLWm_E-6VBUcr-uR2z0p7j7GqLk79B4nbAYcRymBktEUjWggmaSLf0Es4FTpJVCJ0OCWFVmHauwFW8mdCVsDhJQSCtc0CCpKndUo0Fr5Ssa_arQMtlOARCXknRGbITdzNbVf_g0Ozg-anqT1uf1_2luz_f6AZLXaFPecFyF4sv3UvFh7Y9tLcTA3vX1whMzzHzJr-0OUUirmcPjZ9EvgrIN-MwQB91Zrj4AB8ZqfEYzCuJ32gilhGYHXLv4yK0ggAIAWYqU5T3SdX06V0-dbY6jZaFLW-QtB8_x2VDj0S9l71_hHDzJBUDM-53ILOdxBs0CnmPWQ5MCssu2gsXz1xEk_BOsA5BVekEK39s3AcbrjHElfeYVyMi7vVpTmHCH07ofiylTU7E5ACDbojaMkiBhimYCx0tfqLBkRRQiEAsIQnNBt3_eqCmFpqmdsk4VhqxN0MN2UpycQ7z6dMBnKaKSsYgA#details>




Best Technical Support
MSP Innovation Awards
Europe 2021 [image: -]
<https://www.g2.com/products/datajar-mobi/reviews?__cf_chl_jschl_tk__=33df3e8cf236e1c1ddeefd4b9cf19530e62bf9b0-1623755259-0-Aav6hYnTvr1htYNz3oTNMDNhad6CHhZiPSlNgKXuLWm_E-6VBUcr-uR2z0p7j7GqLk79B4nbAYcRymBktEUjWggmaSLf0Es4FTpJVCJ0OCWFVmHauwFW8mdCVsDhJQSCtc0CCpKndUo0Fr5Ssa_arQMtlOARCXknRGbITdzNbVf_g0Ozg-anqT1uf1_2luz_f6AZLXaFPecFyF4sv3UvFh7Y9tLcTA3vX1whMzzHzJr-0OUUirmcPjZ9EvgrIN-MwQB91Zrj4AB8ZqfEYzCuJ32gilhGYHXLv4yK0ggAIAWYqU5T3SdX06V0-dbY6jZaFLW-QtB8_x2VDj0S9l71_hHDzJBUDM-53ILOdxBs0CnmPWQ5MCssu2gsXz1xEk_BOsA5BVekEK39s3AcbrjHElfeYVyMi7vVpTmHCH07ofiylTU7E5ACDbojaMkiBhimYCx0tfqLBkRRQiEAsIQnNBt3_eqCmFpqmdsk4VhqxN0MN2UpycQ7z6dMBnKaKSsYgA#details>
Ranked no1 for support
G2 MDM Grid® for mobile device
management Spring 2022

-- 


This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. Please note that any views or opinions presented in this 
email are solely those of the author and do not necessarily represent those 
of the company. Finally, the recipient should check this email and any 
attachments for the presence of viruses. The company accepts no liability 
for any damage caused by any virus transmitted by this email.
 
DATA JAR 
LTD is a company registered in England and Wales. Registered number: 
08750679. Registered office: 136-140 Old Shoreham Road, Brighton, BN3 7BD

_______________________________________________
Lam-public mailing list
Lam-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to