Page 1 of 3 123 LastLast
Results 1 to 10 of 47

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default MAMP/XAMPP set up local host

    I first tried installing MAMP but i seemed to have all sort of problems.

    I then got the 'zen cart 400 page manual' which told me to use XAMPP, but the instructions are for windows. Does anyone know how to set up the local host for Mac?

    I got my macbook pro a month ago so im sure ive got the latest os, etc.

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Setting up MAMP

    I just, for the first time today, installed MAMP, and set up a Zen Cart site running on my new MacBook Pro. I'd say it was a painless process:

    1. Download the software from the mamp.info website
    2. Agree to install terms
    3. Drag the MAMP folder to the Applications folder (a usual Mac procedure)
    4. In the Applications/MAMP folder, double-click on the MAMP.app file
    5. Accept license, and choose just to use MAMP, and not MAMP PRO.
    6. Click on Start Servers in the MAMP application control window.
    7. Decided that I wanted to change the preferences so that Apache runs on port 80 (so I don't have to say localhost:8888 everything I want to look at my local server), so I clicked on Preferences, then on Apache, then on Use Apache and MySQL defaults, and saved the changes. It asked for my MAC user password in order to allow the system port change to be completed.
    (Make sure you do not have Personal Web Sharing turned on for your Mac if you are running your MAMP server on port 80. You can turn it off in System Preferences.)
    8. Clicked on Open Start Page, and it shows me all my appropriate settings such as my MySQL username and password so I can put them into my Zen Cart when I set it up.
    9. Clicked on the phpMyAdmin tab, and created a new database named zencart138.
    10. Use finder to create an /Applications/MAMP/htdocs/zencart folder (change "zencart" to whatever you prefer)
    11. Unzip a copy of Zen Cart files into that folder.
    12. Open the browser and point it to: http://localhost/zencart ... and Zen Cart fires up in Install mode.
    13. Fill in all the fields as appropriate, and complete installation.
    14. Access my store as usual via http://localhost/zencart and admin as http://localhost/zencart/admin

    I found it to be very straightforward as far as installing an application on the Mac and as far as installing a website application.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Thanks for the instructions. Ive uninstalled xampp and im trying mamp.

    Step 12 isnt working. when i type in http://localhost/zencart i get 'Safari can’t connect to the server.'

  4. #4
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Turns out I needed the port number in the address as well. Thanks for the instructions, it seems to be working.

  5. #5
    Join Date
    Apr 2008
    Location
    Nottingham, UK
    Posts
    46
    Plugin Contributions
    1

    Default Re: MAMP/XAMPP set up local host

    Yes, MAMP uses port 8888 as default, but you change it to default Apache port 80 and it will then work without the port number.

    That one scuppered me for quite a while when I switched to Mac

    Nick

  6. #6
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    How do I set up my local host as www.example.com? the zen cart guide only has instructions for windows.
    james

  7. #7
    Join Date
    Aug 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Setting up MAMP

    Quote Originally Posted by DrByte View Post
    I just, for the first time today, installed MAMP, and set up a Zen Cart site running on my new MacBook Pro. I'd say it was a painless process:

    1. Download the software from the mamp.info website
    2. Agree to install terms
    3. Drag the MAMP folder to the Applications folder (a usual Mac procedure)
    4. In the Applications/MAMP folder, double-click on the MAMP.app file
    5. Accept license, and choose just to use MAMP, and not MAMP PRO.
    6. Click on Start Servers in the MAMP application control window.
    7. Decided that I wanted to change the preferences so that Apache runs on port 80 (so I don't have to say localhost:8888 everything I want to look at my local server), so I clicked on Preferences, then on Apache, then on Use Apache and MySQL defaults, and saved the changes. It asked for my MAC user password in order to allow the system port change to be completed.
    (Make sure you do not have Personal Web Sharing turned on for your Mac if you are running your MAMP server on port 80. You can turn it off in System Preferences.)
    8. Clicked on Open Start Page, and it shows me all my appropriate settings such as my MySQL username and password so I can put them into my Zen Cart when I set it up.
    9. Clicked on the phpMyAdmin tab, and created a new database named zencart138.
    10. Use finder to create an /Applications/MAMP/htdocs/zencart folder (change "zencart" to whatever you prefer)
    11. Unzip a copy of Zen Cart files into that folder.
    12. Open the browser and point it to: http://localhost/zencart ... and Zen Cart fires up in Install mode.
    13. Fill in all the fields as appropriate, and complete installation.
    14. Access my store as usual via http://localhost/zencart and admin as http://localhost/zencart/admin

    I found it to be very straightforward as far as installing an application on the Mac and as far as installing a website application.

    Thanks for this it was really helpful. Installation was as nice and easy.... now the fun begins!

    Duncan

    -----------

    www.takenfromthetop.com

  8. #8
    Join Date
    Mar 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    OK, I am new to Zencart.

    I got to step 12 in DrByte's instructions and can't figure out what to do. When I put in http://localhost/zencart Safari can't connect. When I try to use 80 in the mix I cant get any other reaction from Safari. Help a newcomer, PLEASE!!!

    KEN

  9. #9
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Make sure you do not have Personal Web Sharing turned on for your Mac if you are running your MAMP server on port 80.

    Also check that you have renamed the uncompressed Zen Cart zipped file to something like "zencart" as per Step 10 of DrByte's instructions if you want to access your Zen Cart store at http://localhost/zencart. If you have renamed it to "shop", then access your Zen Cart store at http://localhost/shop.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  10. #10
    Join Date
    Dec 2005
    Location
    Wisconsin
    Posts
    38
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Well, I just have to jump in here to ask a question and make a comment. Why mess with MAMP/XAMPP at all when Mac OS X has it all built in already? I just recently upgraded my G5 ppc, on which I run my Zen Cart test server, from Panther 10.3.9 to Leopard 10.5 so I had to deal with this again (Instead of zencart pages, all I was served was a list of folders and question marks.) In Leopard php, mysql, and apache2 are all installed by default (I think it was the same with Panther, but its been a few years). In Leopard, however, php is not enabled by default, but all it takes is turning it on and making a few minor adjustments to get everything working correctly. This page in Macoshints spells it out as clearly as anywhere http://www.macosxhints.com/article.p...71030153912813 (but a Google search will bring up several sites giving what is basically the same advice).
    Its just a matter of copy and paste and your zencart site can be placed in Library/WebServer/Documents and you're ready to go. No changing the port number as this is the folder set at port 80 for serving webpages.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h local host - how do I set up a copy of my site on xampp?
    By Maynards in forum Installing on a Windows Server
    Replies: 2
    Last Post: 3 Mar 2012, 08:23 PM
  2. set up local host : HELP needed for MAC!!!!
    By debora crosby in forum Installing on a Mac Server
    Replies: 5
    Last Post: 4 Mar 2010, 12:19 AM
  3. XAMPP Local Host Page Won't Load
    By jwj11 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 29 Mar 2009, 12:34 AM
  4. Should I continue installing without MAMP (XAMPP)?
    By ProfKT in forum Installing on a Mac Server
    Replies: 17
    Last Post: 15 Jul 2008, 06:18 PM
  5. Local host not finding XAMPP
    By GroverGirl in forum Installing on a Windows Server
    Replies: 1
    Last Post: 26 Jan 2008, 07:23 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