Skip to content

Instantly share code, notes, and snippets.

@delwar2016
Last active March 17, 2017 18:08
Show Gist options
  • Save delwar2016/2a5d6f0732f6487169e0f0095e2b7e34 to your computer and use it in GitHub Desktop.
Save delwar2016/2a5d6f0732f6487169e0f0095e2b7e34 to your computer and use it in GitHub Desktop.
magento installation issue
localization issue
http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue
installation php 5.6
http://stackoverflow.com/questions/40567133/cannot-add-ppa-ppaondrej-php5-5-6
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6
indexing :
php bin/magento indexer:reindex
set access permissions:
chown www-data:www-data -R *
sudo find . -type d -exec chmod 770 {} \; && sudo find . -type f -exec chmod 660 {} \; && sudo chmod u+x bin/magento
https://www.youtube.com/watch?v=cc1w6c1N0Xg
https://github.com/magepal/magento2-gmailsmtpapp
composer require magepal/magento2-gmailsmtpapp
php bin/magento setup:upgrade
php bin/magento setup:di:compile
Depending on your configuration it may also be unecessary. If you are in default or dev mode you do not need it.
You just need it on production mode
From command line and from your Magento root path:
php bin/magento setup:di:compile
P.S: After installing your module make sure you ran:
php bin/magento setup:upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment