Skip to main content

Posts

Showing posts with the label PrestaShop

Part 5 : Run PrestaShop 1.7.6.3 Installation again after Nginx 504 Gateway Time-out Solutions

In our Previous Tutorial Part 4 , We have fixed  Nginx 504 Gateway Time-out for our PrestaShop installation. Now We will run PrestaShop installation again. You have to delete all the tables from DB(datahead_db) that you created for PrestaShop. Open your Browser and visit your domain again. Follow all the steps and also provide DataBase details again and Click on "Next" Your PrestaShop installation is finished successfully. For security purposes, you must delete the "install" folder. Login to your Admin Panel PrestaShop 1.7.6.3 DashBoard:

Part 4 : How to fix Nginx 504 Gateway Time-out for PrestaShop 1.7.6.3 on CWP7?

Welcome to our serious tutorial. When we are installing PrestaShop 1.7.6.3 on CWP7.pro server, we are getting error "Nginx 504 Gateway Time-out " That means CWP The gateway did not receive a timely response from the upstream server or application. 1. Adjust Timeout Value  for proxy settings  # vi /etc/nginx/proxy.inc proxy_connect_timeout 600s; proxy_send_timeout 600; proxy_read_timeout 600; 2. Change the default_socket_timeout  # vi /opt/alt/php-fpm72/usr/php/php.ini default_socket_timeout 600 Change PHP-FPM Configuration: Default Location: /opt/alt/php-fpm72/usr/etc/ /opt/alt/php-fpm72/usr/etc/php-fpm.d/ /opt/alt/php-fpm72/usr/etc/php-fpm.d/users/ 3. Add following value cwpsvc.conf file : # vi /opt/alt/php-fpm72/usr/etc/php-fpm.d/cwpsvc.conf [cwpsvc] listen = /opt/alt/php-fpm72/usr/var/sockets/cwpsvc.sock listen.owner = cwpsvc listen.group = cwpsvc listen.mode = 0640 user = cwpsvc group = cwpsvc ;request_slowlog_timeout = 5s ;slowlog = /opt/alt/php-fpm72/

Part 3 : How to Install Latest ICU System Package for PrestaShop 1.7.6.3 on CWP7?

In This Tutorial, We will update ICU system package  from 50.2  to 64.1  but the latest package is not available in repo. So we will build it manually then we will compile PHP-FPM 7.2.X again. # cd /home/datahead/public_html/ # php bin/symfony_requirements # icuinfo | grep version # yum list available | grep libicu How to Install Latest ICU system package for Presta 1.7.6.3 on CWP7? # cd /usr/local/src # wget http://download.icu-project.org/files/icu4c/64.1/icu4c-64_1-src.tgz # tar -xvf icu4c-*.tgz # cd icu/source/ # sed -i '/#define __UCONFIG_H__/a #define UCONFIG_ENABLE_PLUGINS 1' common/unicode/uconfig.h # ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --datadir=/usr/share --enable-plugins # make -j4 && make install # reboot # icuinfo | grep version Compile  PHP-FPM 7.2.X Now We need to compile PHP-FPM 7.2.X again as describe in below snapshot. Select everything except  pgsql, pdo-pgsql, mongodb ,  recode, & sqlsrv and save cust

Part 2 : How to Install PrestaShop 1.7.6.3 on CWP Server

May be you are confused after reading our Tutorial Part 1 . Don't be confused, we will proceed step by step. We have a domain (www.datahead.biz) , So we will use it for our Prestashop.  I am assuming that you have root access to your CWP Server.  At first create an account for that domain, i mean host your domain on CWP server. Below the snapshot describes that how to host a domain. I hope you can do that. 1. Go to Home Directory of that hosted Domain and Download Prestashop 1.7.6.3 . Now unzip the downloaded file. # cd /home/datahead/public_html/ # wget https://download.prestashop.com/download/releases/prestashop_1.7.6.3.zip # ll total 60888 -rw-r--r-- 1 datahead datahead 5069 Jan 24 2017 index.html -rw-r--r-- 1 root root 62340959 Feb 2 02:21 prestashop_1.7.6.3.zip # unzip prestashop_1.7.6.3.zip Archive: prestashop_1.7.6.3.zip inflating: prestashop.zip inflating: index.php inflating: Install_PrestaShop.html 2. Fix the Accou

Part 1 : System Requirements for PrestaShop 1.7.6.3 Installation on CWP Server

If you planning to run online eCommerce business but you can't find any solutions then PrestaShop is right solutions for you. But PrestaShop has special system requirements to run online store. Many hosting provider are ready to provide high speed hosting/server etc but they didn't meet the Presta System Requirements. We found PrestaShop requirements from their official website. It describes all the details on their website and you will be confused to read that guide. However Section 1 & Section 2 describes  the minimum system requirement for PrestaShop Installation. Section 1:  Minimum System Requirements for PrestaShop 1.7 A domain name (or a subdomain/subfolder) Recommended web server: Apache 2.x, Nginx PHP 5.6+ , MySQL 5.0+ installed with a database created FTP access (ask your hosting service for your credentials) Configuration In the PHP configuration (php.ini file) set memory_limit to "128M" and upload_max_filesize to "16M" (or mo