brianoreilly Posted May 23, 2007 Posted May 23, 2007 Folks I've looked at the various threads but cannot see one relating to OS X SERVER installation. I have a clean install of 10.4.9 SERVER and want to do a local install of osCommerce for test purposes. OS X Server has PHP, Apache and mySql preinstalled. Can someone please let me know what steps I need to take to get up and running? Many thanks in advance Brian
♥Vger Posted May 23, 2007 Posted May 23, 2007 Personally I'd install XAMPP for Mac (http://www.apachefriends/xampp/en) Vger
brianoreilly Posted May 23, 2007 Author Posted May 23, 2007 Personally I'd install XAMPP for Mac (http://www.apachefriends/xampp/en) Vger Many thanks for the speedy reply Vger I had already seen your previous suggestions along these lines - but as OSX Server already has, Apache 2, MySQL, PHP and as far as I know Perl installed - I was hoping to be able to install OS Commerce without having doubled up installations. Any other suggestions as to whether I can just install osCommerce directly into 10.4.9 Server Thanks Brian
Iggy Posted May 23, 2007 Posted May 23, 2007 Many thanks for the speedy reply Vger I had already seen your previous suggestions along these lines - but as OSX Server already has, Apache 2, MySQL, PHP and as far as I know Perl installed - I was hoping to be able to install OS Commerce without having doubled up installations. Any other suggestions as to whether I can just install osCommerce directly into 10.4.9 Server Thanks Brian There's no particular reason an OSX install is any different than any other distribution when it comes to php. You'll have to be mindful of php configs and setup apache just as you would on linux or M$ or FreeBSD etc. Install it and if you run into problems post here :) Iggy Everything's funny but nothing's a joke...
Guest Posted May 30, 2007 Posted May 30, 2007 There's no particular reason an OSX install is any different than any other distribution when it comes to php. You'll have to be mindful of php configs and setup apache just as you would on linux or M$ or FreeBSD etc. Install it and if you run into problems post here :) Iggy I think he's looking something more specific. Like this: Start the web server if it isn't already. Then open a web browser and go to http://localhost to make sure your Apache Web Server is working. In OS X 10.4 Client the included version of the Apache Web Server has PHP installed but disabled. You simply uncomment 2 lines in the /etc/httpd.conf which both say php4 in them to enable php, then restart the webserver. This may already be enabled on OS X Server, so test this first. Create a plain text file named phpinfo.php and the contents should be exactly this "<?php phpinfo(); ?>" w/o the quotes. This will generate a long page describing all the various installed features of your copy of PHP. It should confirm that that copy of PHP was compiled with support for MySQL. Since OS X Server includes MySQL, the same control panel that lets you start the WebServer should let you start MySQL. Once you've confirmed all 3 of these are in working order, then you need to copy the osCommerce folder to a web accessible folder and navigate your web browser to it. osCommerce is complex enough to explain what you have to change to get it working if anything needs changed. Sorry I can't be more helpful yet, but I'm on OS X 10.4 client, and I'm just begining the install myself. I'm an old linux hack, so I'm confident this isn't going to be very hard. Last time I played with OS X Server was 10.2 and I'm sure this wouldn't be too hard with the limited config tools Apple provided back then, so 10.4 should make this way easier. It's probably all in the toolbox App which is probably called something like "Server Administrator" or something. Please forgive the vaugness; it just seems something is better than nothing. Wm
Recommended Posts
Archived
This topic is now archived and is closed to further replies.