Jump to content

<SOLVED> Installing prestashop on own webserver


Recommended Posts

What should I download/install of programs to make an webserver that would work with prestashop?

I want to run a webshop from my own local webserver at home. so could anyone point what I should install? It is windows based computer, so not Linux.

Link to comment
Share on other sites

hello,

i've done it and this was very simple.

You just need to download Php5.3.3 (free on the web www.easyphp.org).
you also need http apache and Mysql (im not sure, but i think i remember they were with "php").
if it isn't the case, you'll find easily to download them free.
Now everithing is OK to make your website in localhosting.

When your website is ready, you can move it to the web using an FTP (filezilla for instance, free)

Just be carreful, it doesn't work perfectly with windows (I speak about XP).
If you develop there your website, just after downloading prestashop, you will see that some pages don't work (payment for exemple ) or that some pictures don't go to your pages (icons from original prestashop, blocktopmenu..).
There are no problem with MySQL

I ve posted questions about those problems but zero answer... just one who told me that maybe windows wasn't the best thing for prestashop, and that i'd better to try on an external hosting too. he was right, when i moved my website developed in localhost to an external hosting, everything became OK.

Now i know it, i go on developing my website in localhost with windows, i think this is the best solution... but now, when i have a problem with prestashop/windows, i avoid to stay nights and nights in front of my computer to try to undesrstand...

Link to comment
Share on other sites

Hi
It would be easiest for you to download a pre-bundled set of PHP, Apache and MySQL, search the web for something like WAMP. It will self install all of the components you need, is easy to configure to exactly match your online hosts versions and should shield you from the fact you are running in a Windows environment.

Link to comment
Share on other sites

Hi
It would be easiest for you to download a pre-bundled set of PHP, Apache and MySQL, search the web for something like WAMP. It will self install all of the components you need, is easy to configure to exactly match your online hosts versions and should shield you from the fact you are running in a Windows environment.


I installed something called XAMPP.. About the same thing.

When I try to import with phpMyAdmin I get this error.

Error

SQL query:

# phpMyAdmin SQL Dump
# version 2.5.7-pl1
# http://www.phpmyadmin.net
#
# Host: localhost
# Generation Time: Dec 23, 2010 at 05:56 PM
# Server version: 5.0.22
# PHP Version: 5.2.3
#
# Database : `ratechcomtw`
#
# --------------------------------------------------------
#
# Table structure for table `ps_access`
#
CREATE TABLE `ps_access` (
`id_profile` int( 10 ) unsigned NOT NULL ,
`id_tab` int( 10 ) unsigned NOT NULL ,
`view` int( 11 ) NOT NULL ,
`add` int( 11 ) NOT NULL ,
`edit` int( 11 ) NOT NULL ,
`delete` int( 11 ) NOT NULL ,
PRIMARY KEY ( `id_profile` , `id_tab` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8;

MySQL said: Documentation
#1046 - No database selected
Link to comment
Share on other sites

Ok.. I chose one of the database from the dropdown list called test. Not sure how to rename the database after but just for testing.

So I imported and after some time I get this:

Error

MySQL said: Documentation
#2006 - MySQL server has gone away



Also does anyone know of any NAS that could run webserver with the prestashop requirements?

Link to comment
Share on other sites

After lot of reading..

I added in the config.inc.php in phpmyadmin directory the line: $cfg ['ExecTimeLimit'] = 0;


I also changed settings in the settings.inc.php in prestashop to the password for mysql.


I now get Invalid loadTaxZones() SQL query!

Link to comment
Share on other sites

Go into PHPAdmin, which is a component of XAMPP and create a new DB with what ever name you like, you should do all DB administration from this component of XAMPP


I have been there, but just could not see where I created the database.. But found it now :-).. thank you for helping.


Now I am looking for some NAS that could run as webserver at home so I could test shops before publish them.
Link to comment
Share on other sites

  • 3 weeks later...
Hi IBICO

Can you please tell me where to put the Ps files in xampp. I can't get it to install at all.

Step by step will be good as I am really very new to this.

Thanks


Just be sure to first start xampp-control.exe

When in xampp-control.exe start apache and mysql. Apache does not start for me if I run Skype so try to close it first

Under directory xampp you find directory called C:\xampp\htdocs\

There I placed a directory called store to put all my prestashop files.

Then I went to the browser and wrote http://localhost/store/ and install the prestashop like normal.

If you want to go in to PHPMyAdmin just go to http://localhost/phpmyadmin/
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...