Apache httpd does not start after php package update
Environment
- Red Hat Enterprise Linux (RHEL)
- 6.x
Issue
- After upgrading the
PHPandhttpdpackages, Apache server did not start. If we not includephp.confin Apache main configurationhttpd.confthen Apache httpd service will start but if we include it will fail to start with no error message in error_log.
Resolution
- Update installed
PHPversion to latest one, see How to update PHP from 5.3.3-3.el6 to latest version - Enable PHP module in Apache and test with sample
info.php, see How to enable php in apache on Red Hat Enterprise Linux
Diagnostic Steps
- Check
/var/log/messagesfor any recent update ofphp,httpdpackages
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
