You are here:  » Install PT on local computer

Support Forum



Install PT on local computer

Submitted by dannyaus on Mon, 2008-09-08 05:22 in

I would like test PT by installing it on a local computer power by EasyPHP locally (own computer). I am new to PHP and have not any idea how to get this done. Any help on this is very much appreiated.

Dan

Submitted by support on Mon, 2008-09-08 08:17

Hello Dan,

I've looked at the easyPHP website, and it has everything you need to run Price Tapestry.

Firstly, locate the directory that has been setup as your "web root" - the folder that corresponds to the top level of the website that you would be viewing when you point your web browser to your local computer, using:

http://localhost/

You will probably find that this displays an easyPHP welcome page or something like that. For testing purposes, I would recommend using a sub-directory; so create a directory at that level - for example "tapestry", and then install Price Tapestry into that folder:

http://www.pricetapestry.com/node/4

From looking at the easyPHP website; I see that it installs phpMyAdmin for you; which is what you probably need to use to create the database. It looks like you can get to this by selecting the "Administration" option on the easyPHP start menu. At this point, create a new database using phpMyAdmin (for example "tapestry"), and then when you are editing config.php as per the Price Tapestry installation instructions enter the name of the database you just created as the value for $config_databaseName. From looking at the easyPHP documentation, it looks like there is no password set so you would use:

  $config_databaseServer = "localhost";
  $config_databaseUsername = "root";
  $config_databasePassword = "";
  $config_databaseName = "tapestry";

...and if you have installed into a sub-directory as suggested, don't forget to set:

  $config_baseHREF = "/tapestry/";

After that, you should then be able to setup the database by browsing to:

http://localhost/tapestry/setup.php

Hope this helps!

Cheers,
David.

Submitted by dannyaus on Tue, 2008-09-09 06:23

Hi David,

Thank you for your helps. I was able to use PT on my local host computer by followed the guidelines provided by you. You have been a very great help and support to your clients.

Cheers,

Dan