Article ID: 127511, created on Nov 22, 2015, last review on Nov 26, 2015

  • Applies to:
  • Plesk 12.5 for Linux


Apache does not start on Ubuntu 14.04. The following error appears:

# service apache start

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
 AH00013: Pre-configuration failed
httpd.service: control process exited, code=exited status=1


php and mpm_prefork modules are not enabled in Apache configuration.


  1. Check if modules are disabled for Apache:

    # apache2ctl -M | egrep "mpm|php"
    Syntax OK
  2. Enable php and mpm_prefork modules:

    # ln -s /etc/apache2/mods-available/php5.conf /etc/apache2/mods-enabled/php5.conf
    # ln -s /etc/apache2/mods-available/mpm_prefork.conf /etc/apache2/mods-enabled/mpm_prefork.conf
    # ln -s /etc/apache2/mods-available/mpm_prefork.load /etc/apache2/mods-enabled/mpm_prefork.load
  3. Reload Apache configuration:

    # service apache reload

Search Words

Apache is running a threaded MPM

PHP Module is not compiled to be threadsafe

You need to recompile PHP

Apache does not start

742559b1631652fadd74764ae8be475e 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF