carbar Posted September 30, 2018 Share Posted September 30, 2018 Hi, I get the following error during Prestashop 1.7 installation on centos. Quote An error occurred during installation... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. 1: HTTP 504 - error - Gateway Timeout I've changed some php params as advised such as : max_execution_time 10000 max_file_uploads 20 max_input_nesting_level 64 max_input_time 3000 max_input_vars 10000 memory_limit 512M of no use of course. What's the solution? Can anyone help please? Thanks Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 (edited) Just curious, why are you installing an old version? 1.7.4.2 looks like this. http://prntscr.com/l0g827 http://prntscr.com/l0g9pb Edited September 30, 2018 by jstillings1 Added pics (see edit history) Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 (edited) Those pics are off of a absolute crap hosting at host gator using the PHP 5.6 Stable selected. NOTE: this does NOT load 5.6 it actually loads 7.1.14 I say its crap because every click in back office takes going to get a cup of coffee and coming back to see it load. Server information Linux #1 SMP Thu Feb 8 23:35:45 MST 2018 x86_64 Server software version: Apache PHP version: 7.1.14 Memory limit: 256M Max execution time: 30 Upload Max File size: 64M MySQL version: 5.6.41-84.1 MySQL engine: InnoDB MySQL driver: DbPDO Also note this install did not allow me to click the go to backoffice button as that goes to site/admin and the software gives the admin folder a random gen rename. Slightly better server Hostmonster Selected http://prntscr.com/l0gg3a Server information Linux #1 SMP Tue Jan 23 10:30:30 MST 2018 x86_64 Server software version: Apache PHP version: 7.0.31 Memory limit: 256M Max execution time: 30 Upload Max File size: 64M MySQL version: 5.6.32-78.1 MySQL engine: InnoDB MySQL driver: DbPDO Also note this install did not allow me to click the go to backoffice button as that goes to site/admin and the software gives the admin folder a random gen rename. This one runs "slightly better" I only have to spin around in the chair 3 times per page load. I have yet to get it to install on centos Edited September 30, 2018 by jstillings1 (see edit history) Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 Can you tell us if your Centos is using Nginx or Apache or Apache with Nginx as a proxy? Link to comment Share on other sites More sharing options...
carbar Posted September 30, 2018 Author Share Posted September 30, 2018 Apache version 2.4.6 Link to comment Share on other sites More sharing options...
jstillings1 Posted September 30, 2018 Share Posted September 30, 2018 (edited) Ok cool so what PHP Version are you running and do you have PDO to MYSQLi ext installed? On that note also What MYSQL version or MariaDB version are ya running Just open terminal and type mysql and it will tell ya the version while your in there try to run the command nginx -v and make sure it says not a valid command. The php is harder to tell you will have to upload a file and access it via browser Make a file with this in it <? phpinfo(); ?> Access the file via browser. Find the version and what exts are loaded Edited September 30, 2018 by jstillings1 Found out CLI php is different then web served. (see edit history) Link to comment Share on other sites More sharing options...
carbar Posted October 1, 2018 Author Share Posted October 1, 2018 Hello jstillings1, I tried installation on another server, it just worked fine. The problem server's data: PHP Version : 7.0.10 nginx not installed MYSQLi installed Mysql Version: 5.5.60-MariaDB Link to comment Share on other sites More sharing options...
jstillings1 Posted October 13, 2018 Share Posted October 13, 2018 I bet that new server does not have Cpanel and WHM on it. Link to comment Share on other sites More sharing options...
jenny schecter Posted September 4, 2019 Share Posted September 4, 2019 It seems a little late to answer this, because i just use prestashop today, i meet the same issue, my environment is : ·MAMP Pro use nginx ·PHP 7.2.7 ·MYSQL 5.7 i try to set nginx fastcgi_read_timeout to 1000; like this: fastcgi_connect_timeout 75; fastcgi_read_timeout 1000; fastcgi_send_timeout 1000; then it works!IT cost me a whole morning time to install prestashop, hope it can helps you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now