Operating system: OS version: Ubuntu Linux 20.04.2
Cant start- doesnt start
Im trying to find solution and fix, but aperantyl theres after some apache update virtualmin not able to start apache and maybe it could start give errors. An idea that it shows whats the problem for services when not starting.
systemctl restart apache2.service Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.
systemctl status apache2.service
AH00526: Syntax error on line 37
Invalid command ‘php_admin_value’
a2enmod php7.4 Considering dependency mpm_prefork for php7.4: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php7.4: Enabling module php7.4. To activate the new configuration, you need to run: systemctl restart apache2
systemctl restart apache2
systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.
Then starts giving in systemctl status apache2.service
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf
Action ‘start’ failed.
On thouse lines theres thouse syntax errors.