chmod -R 755 public/ chmod 644 public/.htaccess chmod 644 public/index.html chmod 644 public/index.php chmod -R 755 public/api/