I followed the directions in the tutorial. The only difference was a I chose different php versions. Apache won’t start with multiple php modules enabled. If I have only one php version enabled, apache starts up with no error.
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
Sep 22 02:42:04 app01 kernel: apache2: segfault at 8 ip 00007f729d7d2e75 sp 00007ffc4029b> Sep 22 02:42:04 app01 kernel: Code: 41 5d e9 0e fa ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f > Sep 22 02:42:05 app01 apachectl: Segmentation fault (core dumped) Sep 22 02:42:05 app01 apachectl: Action 'start' failed. Sep 22 02:42:05 app01 apachectl: The Apache error log may have more information. Sep 22 02:42:05 app01 systemd: apache2.service: Control process exited, code=exited, status=1> -- Subject: Unit process exited -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- An ExecStart= process belonging to unit apache2.service has exited. -- -- The process' exit code is 'exited' and its exit status is 139. Sep 22 02:42:05 app01 systemd: apache2.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- The unit apache2.service has entered the 'failed' state with result 'exit-code'. Sep 22 02:42:05 app01 systemd: Failed to start The Apache HTTP Server. -- Subject: A start job for unit apache2.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- A start job for unit apache2.service has finished with a failure. -- -- The job identifier is 6831 and the job result is failed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!