Installing PyroCMS

Basic Installation

# Install PyroCMS and dependencies.
composer create-project pyrocms/pyrocms

# Enable writable permissions.
sudo chmod -R 777 path_to/
sudo chmod -R 777 path_to/
sudo chmod -R 777 path_to/

# Remove installer-module from composer.json and update.
composer update


Depending on the relationship between your system user and the user PHP is running as you likely want to use less permissive permissions for writable directories:

  • If they are the same user, use 744.
  • If they're in the same group, then use 774.
  • If they are neither the same user nor in the same group, you can use 777. Please do so with caution!