• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Distupgrade Debian 7 to Debian 8 and php-fpm/non-plesk vhosts

UweP

Regular Pleskian
Hi. It seems like I can't run php on any of my /etc/apache2/sites-enabled/*. If I enable the apache2 module, it says:
root@baby /etc/apache2/mods-available # systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Mon 2015-10-19 21:39:37 CEST; 7min ago
Process: 30015 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 28287 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
Process: 30043 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: Starting web server: apache2 failed!
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: The apache2 configtest failed. ... (warning).
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: Output of config test was:
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: [Mon Oct 19 21:39:37.555179 2015] [:crit] [pid 30052:tid 139767021995904] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You ne...o recompile PHP.
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: AH00013: Pre-configuration failed
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: Action 'configtest' failed.
Oct 19 21:39:37 baby.unityhub.eu apache2[30043]: The Apache error log may have more information.
Oct 19 21:39:37 baby.unityhub.eu systemd[1]: apache2.service: control process exited, code=exited status=1
Oct 19 21:39:37 baby.unityhub.eu systemd[1]: Failed to start LSB: Apache2 web server.
Oct 19 21:39:37 baby.unityhub.eu systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@baby /etc/apache2/mods-available # a2dismod php5
Module php5 disabled.
To activate the new configuration, you need to run:
service apache2 restart

then it works again, but i get download links when i try to go to vhosts i configured myself. is there a fix?
 
ok I did a2dismod mpm_event and a2enmod mpm_prefork - does that interfere in any way with my plesk installation like php-fpm? can my hosts still use php-fpm?
 
Hello,

Mpm_event is recommended to use with php-fpm but it conflicts with mod_php.
If you need mod_php or mod_perl or mod_python you should disable mpm_event and enable mpm_prefork
 
Back
Top