Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jun 2012
    Posts
    66
    Plugin Contributions
    0

    Default How to install second site on MAMP local server?

    I would like to set up a second zen cart site on my MAMP local server so I can upgrade and test my store but maintain the current version of the local server store in case problems occur with the live store. I installed the local server several years ago using Dr. Byte's instructions at the "MAMP/XAMPP set up local host" thread, including setting up www.example.com for the store URL. What are the steps to set up a second zen cart installation under MAMP? Do I need MAMP Pro? Can I use the same database, or must I use a new database? I may want to use a new database but haven't decided yet. How would the instructions change if I wanted to use the same database instead of a new database?

  2. #2
    Join Date
    Jul 2012
    Posts
    11,636
    Plugin Contributions
    13

    Default Re: How to install second zen cart site on MAMP local server

    Quote Originally Posted by Dave224 View Post
    I would like to set up a second zen cart site on my MAMP local server so I can upgrade and test my store but maintain the current version of the local server store in case problems occur with the live store. I installed the local server several years ago using Dr. Byte's instructions at the "MAMP/XAMPP set up local host" thread, including setting up www.example.com for the store URL. What are the steps to set up a second zen cart installation under MAMP? Do I need MAMP Pro? Can I use the same database, or must I use a new database? I may want to use a new database but haven't decided yet. How would the instructions change if I wanted to use the same database instead of a new database?
    One way to do this (and there are many to choose from) is to create your second database in a subdirectory of your existing "url" so it would be reached at www.example.com/secondzc. The problem(s) associated with that would be dependent on your .htaccess rewrites which would need to be reviewed to prevent some sort of conflict.

    In regards to establishing this second store for the purpose of upgrading, it would be easier in the long run if you established a second database with the same prefix of your first, as that way you could transfer databases back and forth with ease. If you do decide to use the same database, you could have two stores off of one database with two different table prefixes. (Ie, one with no prefix '', and the other with anything other than nothing ie. 'zc2_')

    There is other information in the FAQ reguarding the upgrade process that I don't think needs to be repeated here, although I realize a link would help.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Oct 2016
    Posts
    2
    Plugin Contributions
    0

    Default Re: How to install second zen cart site on MAMP local server

    In regards to establishing this second store for the purpose of upgrading, it would be easier in the long run if you established a second database with the same prefix of your first, as that way you could transfer databases back and forth with ease. If you do decide to use the same database, you could have two stores off of one database with two different table prefixes. (Ie, one with no prefix '', and the other with anything other than nothing ie. 'zc2_')

 

 

Similar Threads

  1. Backing up site and installing local test server with MAMP
    By thebigkick in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Jan 2012, 05:34 PM
  2. How do I make a copy of my live site to use on my local MAMP setup?
    By Treece in forum Installing on a Mac Server
    Replies: 1
    Last Post: 5 May 2011, 02:15 AM
  3. Local MAMP install blank index page
    By larf2k in forum Installing on a Mac Server
    Replies: 5
    Last Post: 11 Oct 2010, 11:26 PM
  4. MAMP/XAMPP set up local host
    By jamesdavid in forum Installing on a Mac Server
    Replies: 46
    Last Post: 13 Aug 2010, 02:33 PM
  5. How to install on Local Server?
    By Fotocraze in forum Installing on a Windows Server
    Replies: 1
    Last Post: 15 Oct 2009, 07:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR