# ll /var/www/html/index.php
-rw-r--r--. 1 root root 1066 Jan 24 05:17 /var/www/html/index.php
# chmod 764 /var/www/html/index.php
# ll /var/www/html/index.php
-rwxrw-r--. 1 root root 1066 Jan 24 05:17 /var/www/html/index.php
# egrep -i '^user|^group' /etc/httpd/conf/httpd.conf
User apache
Group apache
# chown apache:apache /var/www/html/index.php
# chown apache:apache /var/www/html
# ll /var/www/html
total 4
-rwxrw-r--. 1 apache apache 1066 Jan 24 05:17 index.php
Connection refused