Tag Archives: httpd

HTTPD #PHP #PDO error caused by #SELinux

The HTTPD PHP PDO connect error “SQLSTATE[HY000] [2002] Permission denied” can be caused by SELinux on Centos & Red Hat 5 & 6

Quick Fix

# setenforce 0
# sestatus

See

#apache access_log and error_log log files

apache access_log and error_log files, logformat and errorlogformat directives

apache 2.2

apache 2.4