"Job for apache2.service failed because the control process exited with error code."
#php -v
#apache2ctl configtest
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf:
Syntax error on line 3 of /etc/apache2/mods-enabled/php8.2.load:
Cannot load /usr/lib/apache2/modules/libphp8.2.so into server: /usr/lib/apache2/modules/libphp8.2.so:
cannot open shared object file: No such file or directory
cat /etc/apache2/mods-enabled/php8.2.load
# Conflicts: php5
# Depends: mpm_prefork
# LoadModule php_module /usr/lib/apache2/modules/libphp8.2.so
Substituir linha por: LoadModule php_module /usr/lib/apache2/modules/libphp8.3.so
$ > sudo mv /etc/apache2/mods-enabled/php8.2.load /etc/apache2/mods-enabled/php8.3.load
$ > sudo mv /etc/apache2/mods-enabled/php8.2.conf /etc/apache2/mods-enabled/php8.3.conf