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?
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?