Hello Leo,
thank you for your help. It brought me to the right solution. Some additional information how I solved it.
- I create the info.php file as followed:
sudo nano /var/www/html/info.php
The following 3 lines in the file
<?php
phpinfo();
?>
In the web browser I called "ip-address/info.php
Here I got all inforation on the php
I disabled the php8.0 by
sudo a2dismod php8.0
I disabled the php8.2 by
sudo a2dismod php8.2
restarted the apache2
systemctl restart apache2
enabled the php8.2
sudo a2enmod php8.2
restarted the apache2 again
systemctl restart apache2
Done
Thank you again for your support.
Ulrich