Plesk

After dist-upgrade Apache was upgraded from 2.2 to 2.4, Apache and cannot start

Symptoms

Note: the article is related to the issue that occurs after Apache upgrade (during dist-upgrade for example).

Cause

Configuration files were not completely switched to the new Apache 2.4

Resolution

  1. Check if custom templates exist in /usr/local/psa/admin/conf/templates folder. If so review all of them and change Include to IncludeOptional in every line what contain wildcard.

  2. If there are no custom templates change Include to IncludeOptional in every line what contain wildcard in the following files:

    /etc/apache2/conf.d/zz010_psa_httpd.conf
    /etc/apache2/plesk.conf.d/server.conf
    /etc/apache2/plesk.conf.d/horde.conf

  3. Enable and activate the following Apache modules

    # a2enmod authz_core authz_host access_compat socache_shmcb slotmem_shm mpm_worker unixd php5 dir

Exit mobile version