If you have problem with Apache 2.4, where the server reboot the service itself and no longer restart.
This was the error that appears whenever you try to start it:

Copy to Clipboard

In addition, systemd reported the same problem:
Copy to Clipboard

The cause is shown in the first error message:
Copy to Clipboard

If we traced this, we noticed the directory /run/httpd no longer existed.
SOLUTIONS:
The simple fix in this case, was to re-create that missing directory:
Copy to Clipboard

The directory should be owned by root and writable for the root user. The Apache group (usually httpd), needs executable rights to look into the directory.
Thanks.
Tag: Apache Failed to create shared memory, Centos7