mattmikulla Posted April 11, 2004 Posted April 11, 2004 Hello. I just stumbled on osCommerce and I wondered if I can set it up using a mac running osx 10.3.3 panther. I went to the download section and it had downloads for windows and unix/linux. Is that just the servers you're installing on? Anyway, I downloaded the files and used stuffit to unzip the download no problem. I now have the files. Like I said, I'm new to this and I just looking into options. Any help much appreciated. matt
Guest Posted April 11, 2004 Posted April 11, 2004 I'm just new here myself. I downloaded osCommerce to my Mac G5 running OS 10.3.3. Unzipped it and put the Catalog folder inside a folder named for my test application inside my "Sites" folder for my user account. I had to go to the config file for the Apache 1.3 webserver and turn on PHP and pay attention to the permissions of all the files. (Hint. Select Catalog and make it and everything in it available to read/write by you, the owner, the group "www" and anyone. Then go back into the config files after you are done installing and turn off the critical permissions.) Then I ran the Install routine. osCommerce came up and ran pretty much right out of the box. You do have to unwrap it carefully, but it's ready to go once you set everything up. Because I have a static IP and a DNS entry, I can access it in the browser via a URL and anyone in the world can see it if I turn on "Personal Web Sharing". So the short answer is "Yes". The long answer is it will take some fiddling around with the controls. Let me know if you need more info. If you want a good Mac OS based server, consider [edited] Larry
mattmikulla Posted April 11, 2004 Author Posted April 11, 2004 Thanks Larry. I have gone this in depth into a site nor have I had to ever really configure anything for an apache server. So I'll just have to work it through slowly. Could you be more specific about the placement of the folder on your server and how to set up, test, and view the application.
Guest Posted April 11, 2004 Posted April 11, 2004 Well, you gotta have a basic familiarity with things and then just read the documentation for the specifics. Here's as much as I can remember off the top of my head, your milage may vary. The Mac OS X webserver is Apache 1.3 and it comes pre-installed and configured to deliver multiple web sites--one for each account. Chances are you have one account. Go to your System preferences panel, select "Sharing", select "Personal Web Sharing", turn it on and then notice the information presented at the bottom of the page. You will see two links and can click on them to get Safari to show you the pages of the root and of your account. Something like : View this computer?s website at http://localhost/ or your personal website at http://localhost/~youraccount/ Click on the second one and you should see a page that tells you about your personal webserver. That is in the 'Sites" folder under your account home folder. Change the Index.html page in that folder and see if you see the change reflected in the browser when you refresh. I'd go to that directory, create a new Folder, name it Store (or whatever) and then put the "Catalog" folder of your osCommerce package into the store folder. Now you can go http://localhost/~youraccount/store/catalog/ and have osCommerce served to you. Read the readme files about doing an installation. You will, I think, have to turn PHP on. If so, you will have to use the Terminal program and navigate to the .etc/httpd/ directory and edit the http.conf file you find there. Do a search for the string "php4_module" Find the line that looks like: #LoadModule php4_module libexec/httpd/libphp4.so Remove the # so it looks like this LoadModule php4_module libexec/httpd/libphp4.so Save the file. Turn off personal web shareing and then turn it back on to reload/relaunch Apache. It will now not how to serve PHP4 files. That, plus studying the readme files that came with OSCommerce should get you going... Larry
Recommended Posts
Archived
This topic is now archived and is closed to further replies.