Zen Cart Logo
Forums / Installing on a Mac Server / Should I continue installing without MAMP (XAMPP)?

Should I continue installing without MAMP (XAMPP)?

Locked

Views: 9,448

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
9 Mar 2008, 9:35 PM
#1
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Should I continue installing without MAMP (XAMPP)?

I’m a Mac (OS X –10.4.11) user and have done some web design using Dreamweaver as my primary tool. Additionally, I’ve begun learning code for obvious reasons (HTML, X-HTML, CSS, and PHP, etc.) and have included some limited PHP in a couple of my sites. Apache (version 1.3.33) was pre-installed on my Mac and I later installed PHP (version 5.1.4).

I’m interested in adding shopping carts to my repertoire and my research took me to Zen Cart. I think I made the right decision. So, before I bought “the book” I installed ZenCart (new install--version 1.3.8a), and MySQL (version 5.0.51a). I put the ZC pages on one of my rarely used sites (via Dreamweaver)–it’s on a remote server—so I could play around with it. Yikes! I decided to purchase the book and now I’m seeing that perhaps I should have installed everything via MAMP. (learned about MAMP via the forum)

Do you think it’s okay to continue installing things without the MAMP package? Do I need a control panel? I’m really not sure what a control panel is.

Do I really need to install Mercury? Won’t Entourage or Outlook Express work for a very small business?

AND . . . myphpadmin ??? what is this? do I really need it?

ProfKT

9 Mar 2008, 11:21 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Won’t Entourage or Outlook Express work for a very small business?

It really is NOT recommended that you use your localchost for a live website - only for development.

10 Mar 2008, 5:46 AM
#3
canopy avatar

canopy

Totally Zenned

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

Re: Should I continue installing without MAMP (XAMPP)?

It seems like you already have PHP and MySQL installed on your Mac. In that case, you may try installing Zen Cart immediately. This is because MAMP/XAMPP mainly bundles PHP and MySQL for quick installation but you already have those software running on your system.

Nevertheless, if you still want to attempt installing MAMP/XAMPP, remember to watch out for any port conflicts on your Mac as you already have PHP and MySQL installed.

PS: Heed Kim's advice which is also stated in the book. Only run the web store from your local computer for development.

27 Mar 2008, 2:49 PM
#4
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Sorry it's taken so long to get back to this. Life happens and just as I began the install process I had to deal with some other issues. Now, I'm back to the installation and am having a devil of a time. I've read through most of the FAQ's and most of the wonderful info in this forum and I'm still lost.

I'm not sure I have everything placed it their proper places.

**First Direct Question: **"Enabling cURL support inPHP"

On page 40 of the book there is an explanation for this. I've read it probably 20 times and looked for the file <xampp-home>.apache.bin/php.ini but I can't find it. I did not use XAMPP nor did I use MAMP (which explains the first part of the location problem) because I already had PHP & MySQL installed. Tried looking for apache.bin/php.ini but can't find it either.

There will be other questions. I spent hours and hours on this yesterday and at least have gotten to the point in myphpadmin I was able to create a database.

Second Question: I'm using DreamweaverCS3. By stating "Only run the web store from your local computer for development." Does this mean that I should not transfer the entire ZC package to the remote server?

Third Question: I can't find /includes/configure.php nor /admin/includes/configure.php Where might they be located?

I've created some websites and they are up and running, so I'm not entirely new to design aspects, but then I still consider myself a beginner. I'm willing to work on this, but fear it's going to take a great deal of effort.

ProfKT
http://zhttp://zen-cart.com/forum/images/smilies/dontgetit.gifen-cart.com/forum/images/smilies/dontgetit.gif

28 Mar 2008, 9:33 AM
#5
canopy avatar

canopy

Totally Zenned

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

Re: Should I continue installing without MAMP (XAMPP)?

Here are some of my views:

** 1st question**

The book talks about a Windows environment. Because your PHP setup is on a *Mac *and done manually, things can be quite different. You'll need to determine whether your PHP was compiled with cURL support first before looking to enable/disable curl.

2nd question

What I meant was to use it to test out some features before you actually implement it on the server. For example, you may want to experiment with some attributes configuration for a particular product before implementing it on a server, or simply try out a mod to see if it suits you before installing it on your server.

Note:
You can set up a test store on your server instead of your local computer. For example, if your current store is at "www.somewhere.com/store". You can set up a test store at "www.somewhere.com/testmystore" for testing. There are many variations around this approach. You can read more about them in the tutorials/FAQs or other threads in the forums.

3rd question

The 2 x configure.php files you mentioned are present only *after *you have installed your Zen Cart store.

Summary
For your case, because the different pieces of software were installed differently, you will need more time and effort to configure things properly so that they work together.

As Zen Cart is what you really want to concentrate on right now, perhaps you would like to work with one of those packaged MAMP or XAMPP software first or have a test store set up on the server instead.

Whatever it is, don't give up! Installation may seem to be a big hurdle in the initial stages. After you get over that, you'll really enjoy the magic of Zen Cart. :smile:

29 Mar 2008, 1:00 AM
#6
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

I'm one happy Prof at this moment! I did it, I installed ZenCart. And, as far as I can tell I did it correctly. Did not use MAMP or XAMPP. The cURL is enabled (took me forever to figure out how to learn this info), and I got the "Congratulations" message! WhooHoo! Saw the sample Store Front from my browser and am going to begin Chapter 3.

Canopy and Kim...thank you so much for your directions and encouragement. Keep your fingers crossed the the rest will go a little more easily than what I just went through. But, I DID IT!!!

Now, onward to page 53 of the book.

ProfKT

29 Mar 2008, 12:09 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Well done! for a newbie to get zencart working on a Mac is no mean feat!

But heed Kim's advice. What's on your mac should be a TEST environment only.

A functioning store needs to be hosted on a robust and reliable system, and if you are looking for a host, then click the "hosting" link at the top of this page.

29 Mar 2008, 3:20 PM
#8
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

By test environment I think I'm okay, but if you could verify that what I've done is okay, I'd sit a little more comfortably. Here's where I've got my ZC store located: Macintosh HD>Library>Web Server>Documents>Store. In order to see the storefront on my browser I typed in http://localhost/store Am I safe?

I did have the ZC store located on an old website via Dreamweaver. That's now gone.

I hope I'll be able to move everything okay when I have the site completed. Am planning on going with BlueHost.

Your input is welcomed.

ProfKT

29 Mar 2008, 3:50 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

If you are able to see and administer your local-drive store, then that's quite safe. I presume your Mac has firewall software that protects it from external "influences".

When you work on your site, keep DreamWeaver out of the equation. Don't attempt to create a look and feel using WYSIWYG html editors. You have to work within the parameters of PHP. Much of your look and feel is governed by CSS, and the structure of your zencart template, which is largely built through php.

While you are learning about zencart with your local-drive store, you would do well to learn about the template OVER-RIDES system.

When you are ready to "migrate" your store to a remote server, you need to realise that the remote server is likely to be Linux on a Unix box, and possibly have different versions and configurations of My SQL and PHP.

I'm not that skilled at migrating stores from a local drive to a remote server, but when I did this a few years ago, I was advised to do a FRESH install on the remote server with a new database.

I then FTP'd my custom template folders and files to the new server, and also put a COPY of my local-drive database on the remote server.

Using the settings in configure.php files, I pointed the site to that dbase copy, selected my template, and it all seemed to go fine.

You may need more expert advice than this, so come back to the forum when you're ready to move.

29 Mar 2008, 6:24 PM
#10
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

**Thanks learned zen master, Schoolboy. **

I'll check on the firewall settings and get going.

One current situation: I tried going to my store front several times today and each time I get a message window stating that the site is down for a few minutes (the ZenCart logo is included with the message). It's been several hours since I started trying to get in. There was also a "click here" link, but when I clicked on it nothing happened. Is this normal?

ProfKT

29 Mar 2008, 6:35 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Did you tinker with the "Down for Maintenance" settings?

ADMIN>>>CONFIGURATION>>>WEBSITE MAINTENANCE

29 Mar 2008, 6:46 PM
#12
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Believe I figured out that problem. Didn't have my MySQL activated.

ProfKT

29 Mar 2008, 11:38 PM
#13
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

DANG! Thought I had the installation finished. Turns out that I skipped the Email (Mercury/Thunderbird) portion thinking that I could create an account in my Entourage Email. Now it turns out that I need some kind of SERVER connected to my local machine that can connect to Entourage. I can't seem to find a free server to use. Instructions on one informative page re: my mac said not to use the one that came with the computer--can't remember why.

Any help here regarding free servers for a local account (???) on my mac would be deeply appreciated.

Just when one problem gets solved another one pops up.

(Remember, I'm still a beginner at this.)

ProfKT

30 Mar 2008, 1:10 AM
#14
cbird1057 avatar

cbird1057

New Zenner

Join Date:
Mar 2008
Location:
Sebastopol, CA
Posts:
3
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Prof -

I just finished installing ZCart on my Mac, and have set up the mail in the E-Mail Options section so that the E-Mail Transport Method is smtpauth.

Then I set the areas at the bottom of the E-Mail Options section as:

SMTP Email Account Mailbox: yourusername
SMTP Email Account Password: yourpassword
SMTP Email Mail Host: mail.yourdomain.net

It seems to work fine.

30 Mar 2008, 4:08 AM
#15
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

cbird1057, I've tried at least 100 different configurations of what I believe worked for you, but it still isn't working for me. (I was really hopeful, and will try again, but I think something is set differently on my computer--have no idea what) Went to the ZC Wiki, looked up troubleshooting, email... and I can't understand what it says.

SMTP Email Account Mailbox: yourusername (can't find a user name, have an Account Name, a Name, an E-mail address, and Account ID, a POP server and and SMTP server

SMTP Email Account Password: yourpassword (this seems obvious and I think no problem)

SMTP Email Mail Host: mail.yourdomain.net (kind of confused here--could it be something like mail.brockport.edu ? I don't see anything like that in my account set up)

I'm really at a loss.

From what I understand, I'm trying to connect to the email program/connections I already have. Right? I have three E-mail accounts hosted from three different servers. Should I be trying to connect to one of those?

Again, any and all suggestions will be welcome.

cbird1057, thanks for your info. I'll keep trying, but something seems to be amiss.

ProfKT

30 Mar 2008, 4:15 AM
#16
profkt avatar

profkt

New Zenner

Join Date:
Mar 2008
Posts:
9
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Additionally,

When I "send emal" I'm not sure I've completed the fields correctly.

to = my customer's name (fake name and fake email address set up in the beginning of the store info)

from = my email address (from one of the three accounts I already have)

subject and message seem to be no problem.

ProfKT

30 Mar 2008, 7:28 PM
#17
cbird1057 avatar

cbird1057

New Zenner

Join Date:
Mar 2008
Location:
Sebastopol, CA
Posts:
3
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

Sorry to hear you are having difficulty.

I assume you have a dedicated mail server and are not using a hotmail account or something like that.

The SMTP account: yourusername refers to the name you log on to your mail server with.

The password is the password for the above account.

SMTP host: mail.yourdomain.net is the mail server you use.

I basically just copied the parameters from my Mac Mail account. Go to "Mail" menu in Mac Mail, then Preferences, then Accounts.

I had to mess around with the E-Mail Transport Method (top line of Zen Cart email options in Admin), using PHP, etc until it worked.

It could be that your email account is protected by a firewall or something? If you can't get it to work I would suggest skipping the chapter in the book since there's plenty more to become familiar with in the subsequent material...

Believe me, I'm no guru with this stuff.

  • Chris
15 Jul 2008, 5:18 PM
#18
francesca_ph avatar

francesca_ph

New Zenner

Join Date:
Jun 2008
Posts:
37
Plugin Contributions:
0

Re: Should I continue installing without MAMP (XAMPP)?

hi,

i do also have DW and xamp install..somewhere

can anyone teach me a step by step guide on how i can edit the website on my local pc? do i lik need to 'install' it on local host or do i juz drag the whole site from the 'live'

pls help...been tryin to figure this for months! but everyone seem to make it sound so simple, but i only now how to downloan and install them, but not to use them....

:(