Title: Error 403
Last modified: July 7, 2018

---

# Error 403

 *  Resolved [greywind17](https://wordpress.org/support/users/greywind17/)
 * (@greywind17)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/)
 * Hi everyone.
    i hope my post is`nt duplicated because i did some search before
   post it.
 * I just setup a Centos and install Apache,PHP,Mysql on it and all works fine.
   
   but when i try to install WordPress and copy the files into /var/www/html and
   want to install it through browser i got this error: Forbidden You don’t have
   permission to access / on this server.
 * here is what i did after the error:
    – gave chmod 755 permission to /html directory
   and sub directory , even 777, result is the same. – gave chown apache:apache 
   to directory and sub directory. result is the same.
 * – I disable SeLinux and after that my web server doesn’t work at all!! the apache
   service is running without error but when i open my browser the page not loaded
   even with the error! it`s just not responding.
 * what should i do?
    -  This topic was modified 7 years, 11 months ago by [greywind17](https://wordpress.org/support/users/greywind17/).
    -  This topic was modified 7 years, 11 months ago by [greywind17](https://wordpress.org/support/users/greywind17/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/#post-10472178)
 * What is the user under which PHP is running?
 *  Thread Starter [greywind17](https://wordpress.org/support/users/greywind17/)
 * (@greywind17)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/#post-10473208)
 * I did everything with root.
 *  Thread Starter [greywind17](https://wordpress.org/support/users/greywind17/)
 * (@greywind17)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/#post-10473238)
 * It`s OK!
 * i changed SeLinux to permissive and after reboot it`s all work fine.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/#post-10473810)
 * Check this out:
 * [https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/](https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error 403’ is closed to new replies.

## Tags

 * [lamp](https://wordpress.org/support/topic-tag/lamp/)
 * [SELinux](https://wordpress.org/support/topic-tag/selinux/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/error-404-31/#post-10473810)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
