Zen Cart Logo
Forums / Installing on a Mac Server / NewB Using Zen Cart Book to install XAMPP-configuration problems!!

NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Locked

Views: 8,405

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
3 Aug 2007, 11:02 AM
#1
carlyjcais avatar

carlyjcais

New Zenner

Join Date:
Aug 2007
Posts:
4
Plugin Contributions:
0

NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Hello all-great site, great software, great book, but I'm an idiot and having tons of problems.

  1. I downloaded the most recent version of XAMPP at the link provided on pg. 33 (https://www.apachefriends.org/en/xampp.html), which for Mac OS is v.0.6.3. (It includes PHP 4.4.7 AND PHP 5.2.2.) According to one of the FAQ's, PHP 4.4.x is recommended. But when I start up the XAMPP server panel (or Terminal), it automatically starts using the PHP 5.2.2, and I understand this version of PHP is not supported fully by ZenCart. How can I use the version that's in the XAMPP package that is recommended for optimal use of ZenCart?

  2. Also, the XAMPP package does not include Mercury Mail, since, as I understand Mercury Mail does not have a version for Mac. Is this correct? Is there some other mail program that is recommended instead?

  3. Also, the book tells you to use the XAMPP control panel. The XAMPP package directions tell you to use Terminal. Which should I use? Is it just a matter of personal preference? Is this a stupid question?

  4. The book also tells you to configure a local domain in your WINDOWS XP hosts file. Where do I find the equivalent on Mac so I can configure the browser, email, and mail server access like it tells you to on pg. 37? Is this in my System Preferences/Network/Proxies area?

That's it for now, since I'm at an impasse by pg. 37.
I'm running OS X.4.10. Sorry to ask so many idiotic questions-I have searched the forum for over 2 hours, but could not find responses to these specific questions in the context of the recommendations in the book.

Thank you for any help anyone can provide!
::Carly::

3 Aug 2007, 11:28 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Carly,

Have not set this up on a MAC and do not have the book.....

Also, the XAMPP package does not include Mercury Mail, since, as I understand Mercury Mail does not have a version for Mac. Is this correct? Is there some other mail program that is recommended instead?
For a local development install you do not need mail services. If you are thinking about trying to host this on your own box - think again as to serve the www wven a T1 at 1.5Mbps is too slow

php 5.2.2 should function fine with Zen Cart and as support for 4.x is ending this December more and more Hosts will be converting

You should be able to find the hosts file at /etc/hosts

4 Aug 2007, 6:00 AM
#3
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Hi carlyjcais,

kobra is right.

Furthermore, pls PM me your email address so I can try sorting out your local installation problems on the Mac as it relates to the book.

Thanks.

4 Aug 2007, 7:42 AM
#4
carlyjcais avatar

carlyjcais

New Zenner

Join Date:
Aug 2007
Posts:
4
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Thank you, Kobra, for your reply!

No, I am DEFINITELY not going to host the cart on my computer; installing the email program is for the sole purpose of testing the cart, as it instructs you to in the book. I'm pretty much the type that if "jump off a cliff" were in the instructions, I would go ahead and do it.:-)

I will just use the PHP 5.2.2 as you suggested. It would be great if in the FAQ for ZenCart this little tidbit of information could be updated so that people like myself who don't know better don't read that about PHP 4.x and start freaking out like I did.

On the XAMPP download page for MacOSX, there are a number of options available; I downloaded the first one ("Installer Version - Intel Only"). There is also a version below ("Intel Only"), and then a "Developer Package". I didn't know what I was supposed to download, so I just downloaded the first one.

As to the hosts file, there is no such file at /etc/hosts (at least not in the version I downloaded). There is a file at apache/vhosts but I am not sure if this is the same thing. Of course since I haven't configured apache properly, I cannot go to //localhost and see the XAMPP page.

I PM'd Mr. Hoek my email so that he can instruct me further, and then either myself or he will add to this thread so other users like myself can learn!
Thank you for your time!
Best,
::Carly::

5 Aug 2007, 7:57 AM
#5
carlyjcais avatar

carlyjcais

New Zenner

Join Date:
Aug 2007
Posts:
4
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

OK-for other people starting out who are wondering how to do this on the Mac-you're not alone! Mr. Hoek emailed me and gave me some advice, so I am now working through it bit by bit to set things up.

For the Mac, he advises using MAMP, not XAMPP, as your PHP/MySQL/Apache software (probably discussed elsewhere on this forum but I had missed that). As to specific set-up configurations, using TextWrangler to edit the coding, setting up Apache James as your mail server, and using Terminal to operate some of the software, that is incredibly complicated for someone non-technically savvy like myself, so I can't even begin to explain. It doesn't follow the book's instructions, since Mac requires different configurations.

For other newbies with a problem starting out, search the Forum threads, see if there's anyone else in the same situation who has given advice before. Your answer may be there. If not, post what your problem is-either some of the generous other posters will try to help you out, or Mr. Hoek himself will ask you to give your email address so he can instruct you personally. Either way there are answers out there-just ask for them!
Thanks to Kobra and GKH-I am on my way to installing the cart!
::Carly::

5 Aug 2007, 4:03 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Carly,

Great!!! You are gonna really like it!!

BTW: Are you on a G3, G4, or G5?

5 Aug 2007, 4:51 PM
#7
carlyjcais avatar

carlyjcais

New Zenner

Join Date:
Aug 2007
Posts:
4
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Kobra-
None of the above. I am on a MacBook Pro (2.33 GHz Intel Core 2 Duo processor and 2 GB 667 MHz DDR2 SDRAM, apparently:-)).
::Carly::

12 Aug 2007, 11:13 AM
#8
andy_mcg avatar

andy_mcg

New Zenner

Join Date:
Aug 2007
Location:
Turku, Finland
Posts:
51
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Thanks for that thread guys. I'm about to embark on the very same path as yourself Carly.
I find it's usually the case as a Mac user that after spending 30€ on a software book I have to discard it and dredge net the forums for weeks to find a solution. Because the root info is different for Mac OS X 10.4+ ete etc.
Thanks to people like yourselves it stop me pulling my hair out.
Cheers.

15 Oct 2007, 6:21 AM
#9
roryreiff avatar

roryreiff

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

I just installed MAMP and have attempted to edit the Hosts file with the appropriate changes as layed out in the book, as well as edited the httpd.conf file in apache to include ServerName www.example.com:8888

Yet when I load https://www.example.com in the browser I get an error message about being unable to connect to the server. Should I expect to be presented with a MAMP interface, like one would with a XAMPP interface like in windows?

Is there anywhere with complete, ordered documentation about setting all this up on OS X? Im assuming that once all this setup business is completed everything else from within Zen Cart is the same regardless of operating system.

15 Oct 2007, 6:39 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Yet when I load https://www.example.com in the browser I get an error message about being unable to connect to the server.
You have this installed but have you started it?

16 Oct 2007, 5:52 AM
#11
roryreiff avatar

roryreiff

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Yes, I did this all the while having MAMP installed, and running with both MySQL and Apache running/started. I also was sure to restart the computer once I had changed the necessary settings.

16 Oct 2007, 5:53 AM
#12
roryreiff avatar

roryreiff

New Zenner

Join Date:
Oct 2007
Posts:
3
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

With the exception of using 8888 instead of 80 in the apache httpd.conf file for MAMP, should all of my other edits duplicated what is in the book? Thanks!

16 Oct 2007, 3:36 PM
#13
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

This is why I use a "live" sandbox site for my personal dev work on my own sites. Because I can see changes reflected in real-time on the internet itself. I use a deep directory, get the site the way I want, then transfer the files to my "live" site once it's working. It will behave exactly the way I want that way. I think that's a lot easier than trying to install extra software, configure it, debug it, learn it, and THEN take a site live.

The only time I had trouble is when I tried to use a customer's site for a new install. Turns out it was a server problem which I didn't get resolved because the customer switched servers (again) before they could track down the issue (they did admit it looked like it was on their end and escalated the issue through tech support). I knew the files worked, because they worked in a "real" environment, but differences in server setups can cause problems. And you'd still have these problems moving from a "local" computer to your live site if there are differences.

In the case of a Mac, as you noted, there can be even more problems, where if you use a "sandbox" site on your own host account, you can debug the site itself instead of having to make stuff work with your Mac first, which can be time consuming for someone who just wants to put a site up.

Just my .02 I hate having to use any more software or take any extra steps than I have to. LOL

16 Nov 2007, 5:52 AM
#14
miriam avatar

miriam

New Zenner

Join Date:
Nov 2007
Posts:
4
Plugin Contributions:
0

Re: NewB Using Zen Cart Book to install XAMPP-configuration problems!!

Ok, hi everyone I'm new here and new using Zen Cart.

I have a iMac PowerPC G5 Version 10.4.11 (not intel), I have just bought the e-book on Zen-Cart and just realised its not very Mac orientated :(

Can someone who has been successful in, installing MAMP etc and Zen Cart on their Mac machine please advise me what I need to do? Feeling very confused :blink:

Thanking you in advance :smile: