sa1eh
By:
sa1eh

How to Install and Configure Magento on Ubuntu 16.04

March 16, 2017 1.4k views
Apache MySQL LAMP Stack Ubuntu 16.04

I installed everything in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

and i want to install Magento on my droplet which as title indicate is Ubuntu 16.04

but i got stuck on this tutorial in php settings section: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-magento-on-ubuntu-14-04

so if anyone knows how to do it ... please help me

2 Answers

I'm pretty sure Ubuntu 16.04 comes with PHP 7.0, so that means you have to look for the configuration file in /etc/php/7.0/apache2/php.ini

And then change the following from php5 to:

sudo apt-get update
sudo apt-get install php7.0-curl php7.0-gd php7.0-mcrypt

That should cover everything, but if you run into problem, just write back - please include error messages or where you got stuck.

  • @sa1eh
    By the way, it's important that you use Magento version 2+, since you're using PHP 7.0
    It is possible to run the latest Magento 1.9 on PHP 7, but it requires some tweaks.

Great it's really working but I'm having some problems with downloading the Magento using wget

wget http://www.magentocommerce.com/tech-resources/downloads/assets/2.1.5/magento-2.1.5.tar.gz

Have another answer? Share your knowledge.