PrestaShop is an e-commerce Content Management System CMS ( ) based open source. With Prestashop we can easily build an online based shop (online shop) quickly and easily. Prestashop developed by the Group, headquartered in Paris, France and Miami, United States. The first version of Prestashop launched on July 31, 2008, and is currently already logged in version 1.6 which was launched 17 March 2014.
As an e-commerce solution Prestashop has the features of a full and complete, even Prestashop claims to have more than 310 features to support our online shop. In addition the Prestashop also supports a variety of payment systems ranging from bank transfers, credit cards, even as online payment such as PayPal, Google Checkout and others.
At the time of writing this tutorial, the latest stable version of PrestaShop is v 126.96.36.199 and require:
- PHP > = 5.1 with the following PHP extensions enabled: Curl, GD, GZIP, PDO, DOM, SimpleXML and SOAP. Also, using cached and PHP extension mycrpt is highly recommended for better site performance.
2. MySQL > = 5.0 installed on your virtual server.
3. Apache Web Server > = 2.0 compiled with mod_gzip and mod_rewrite module.
AutoUpdate package OS server by using the following command:
# apt-get update
# apt-get upgrade
To install PHP, MySQL and PHP modules needed by the PrestaShop: apt-get install mysql-server php5 php5-cli php5-mysql php5-gd php5-mcrypt php5-memcache Download latest version of PrestaShop is available in http://www.prestashop.com/en/download to server and unpack it with the following commands:
# cd /root/
# wget http://www.prestashop.com/download/old/prestashop_188.8.131.52.zip
# unzip prestashop_184.108.40.206.zip
Create a new MySQL database for PrestaShop on your server:
mysql -u root -p
mysql> CREATE DATABASE prestashopdb;
mysql> GRANT ALL PRIVILEGES ON prestashopdb.* TO ‘prestashop’@’localhost’ IDENTIFIED BY ‘your-password’ WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
create a new virtual host directive in Apache. For example, create a new Apache configuration file ‘ prestashop. conf ‘:
then, add the following line:
Options FollowSymLinks Indexes MultiViews
CustomLog /var/log/apache2/your-domain.com-access_log common
run the following command:
# ln -s /etc/apache2/sites-available/prestashop.conf /etc/apache2/sites-enabled/prestashop.conf
Edit the configuration file/etc/php5/apache2/php.ini ‘ PHP ‘ and add/modify the following line:
memory_limit = 128M
upload_max_filesize = 16M
max_execution_time = 60
file_uploads = On
allow_url_fopen = On
magic_quotes_gpc = Off
register_globals = Off
Restart the Apache web server for the changes to take effect:
# service apache2 restart
move the PrestaShop installation files to the directory defined in the document root of the virtual host directive above:
# mv /root/prestashop/ /var/www/prestashop/
also, the webserver user (www-data) should be able to write to the files and directories in the ‘/var/www/prestashop ‘ directory , so can easily be achieved by running the following command:
# chown www-data:www-data -R /var/www/prestashop/
open http://domain.com/ on your web browser and follow the easy instructions. For security reasons, it is recommended to delete the installation directory (‘/var/www/prestashop/install ‘) after you are finished with the installation process. That’s all. PrestaShop installation is now complete.