Skip to content

Instantly share code, notes, and snippets.

@florinel-chis
Last active April 2, 2020 14:41
Show Gist options
  • Save florinel-chis/5172999 to your computer and use it in GitHub Desktop.
Save florinel-chis/5172999 to your computer and use it in GitHub Desktop.
Set required permissions on files and folders in order to install VTiger CRM.
cp htaccess.txt .htaccess
echo "php_value memory_limit 1G" >> .htaccess
echo "php_value error_reporting 512" >> .htaccess
chmod 777 config.inc.php
chmod o+w tabdata.php
chmod o+w install.php
chmod o+w parent_tabdata.php
chmod -R o+w cache/
chmod -R o+w storage/
chmod -R o+w install/
chmod -R o+w user_privileges/
chmod -R o+w Smarty/cache/
chmod -R o+w Smarty/templates_c/
chmod -R o+w modules/Emails/templates/
chmod -R o+w modules/
chmod -R o+w cron/modules/
chmod -R o+w test/vtlib/
chmod -R o+w test/vtlib/HTML
chmod -R o+w backup/
chmod -R o+w Smarty/templates/modules/
chmod -R o+w test/wordtemplatedownload/
chmod -R o+w test/product/
chmod -R o+w test/user/
chmod -R o+w test/contact/
chmod -R o+w test/logo/
chmod -R o+w logs/
chmod -R o+w modules/Webmails/tmp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment