Permissions for WordPress on CentOS 6

by | 4 Oct 2015 | CentOS, Linux, Open Source, OS, PHP, Programming, Technology, Wordpress | 0 comments

Often when we install WordPress on CentOS 6 web server, we will encounter permissions issue when we try to do anything.

The following commands will help you set the correct permissions required in order for WordPress to function properly.

chown apache:apache -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

After setting the correct permissions for WordPress, remember to restart your web server by running the following command.

sudo service httpd restart

 

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Related Posts

APCCentOSFedoraLinuxOSPHPProgrammingServerTechnology
Install APC (Alternative PHP Cache) in CentOS 5/6/7 and Fedora 20/21

Install APC (Alternative PHP Cache) in CentOS 5/6/7 and Fedora 20/21

APC (Alternative PHP Cache) is a free and open source tool to cache PHP codes. 1. Install Dependency Packages for APC yum install php-pear php-devel httpd-devel pcre-devel gcc make -y 2. Install APC using PECL (PHP Extension Community Library) pecl install apc...