NEW Prestashop Auto-installer - Installing PrestaShop - PrestaShop

Jump to content

Photo

NEW Prestashop Auto-installer

#1

Posted 19 December 2011 - 02:04 AM

gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 Active Posts
Hello,
Downloading, unzipping and uploading back via ftp 47 Mb of installation program is a pain, let's introduce you the Auto Installer!

Just upload and execute this php file : installer.php

installer.php is nothing but pclzip.php library code plus below code added to the end:

  $filez = "http://www.prestashop.com/download/prestashop_1.4.6.2.zip";
$pathz = explode("/", $filez);
$fileNamez = $pathz[sizeof($pathz) - 1];
copy($filez, $fileNamez);
$arch = new PclZip($fileNamez);
$arche = $arch->extract();
unlink($fileNamez);
unlink(basename($_SERVER['REQUEST_URI']));
header("location:./prestashop");

as you can see the last prestashop zip file url is hardcoded, which may be changed dynamically by prestashop.com admins if they'll add this server to server installation method available from the download page (which i swear)

bye!

Attached Files



#2

Posted 19 December 2011 - 06:42 PM

gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 Active Posts
it is also suitable for any other zip file...

#3

Posted 20 December 2011 - 07:13 AM

theme_designer

    PrestaShop Apprentice

  • Members
  • PipPip
  • 386 Active Posts
Is this an official auto-installer?

Starting a web project from a website template.


#4

Posted 21 December 2011 - 01:01 AM

gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 Active Posts
yes it is! ;-)

Edited by gnappoman, 09 March 2012 - 03:09 PM.
Not official, was misrepresented by this user


#5

Posted 06 January 2012 - 06:13 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts

Is this an official auto-installer?



yes it is! ;-)


No, this is not an "official" anything, it was not developed by anyone on or associated with the PrestaShop team, and this is honestly the first we have heard of it.

I'm not discouraging you from trying it out for yourself, but please understand that this is in no way developed or supported by PrestaShop, and we cannot guarantee that it will not create any problems within your shop.

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more