lildog Posted April 17, 2008 Share Posted April 17, 2008 I have been working with OSCommerce for going on two years now. I finally upgraded computers and can run a local php and sql server for debugging. I am pretty new to OS X and hope someone can at least guide me in the correct direction of setting up a test store on my local computer. Thanks alot, lildog Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2008 Share Posted April 17, 2008 Install EasyPHP or XAMPP on your desktop. Then install osC to get your configure.php files you will need to make it run. Then using a backup of your site copy the files to the directory you need. Copy your configure.php files from your test install and update your DB and you should be good to go. Link to comment Share on other sites More sharing options...
lildog Posted April 17, 2008 Author Share Posted April 17, 2008 Seems easy enough. Do I need to install sql of some variety? Install EasyPHP or XAMPP on your desktop. Then install osC to get your configure.php files you will need to make it run. Then using a backup of your site copy the files to the directory you need. Copy your configure.php files from your test install and update your DB and you should be good to go. Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2008 Share Posted April 17, 2008 Both those programs come with apache, php and mysql. Nothing else is needed to design osC. You will have to make changes if you want to use things like SEO URL's or test email functions but I just do that online, not from localhost. Link to comment Share on other sites More sharing options...
Jan Zonjee Posted April 17, 2008 Share Posted April 17, 2008 Both those programs come with apache, php and mysql. Nothing else is needed to design osC. You will have to make changes if you want to use things like SEO URL's or test email functions but I just do that online, not from localhost. Actually, Mac OSX comes with Apache. You just need to copy /catalog/ to /Library/WebServer/Documents/ I think 10.5 came with PHP5 (at least when I upgraded from 10.4 -> 10.5 I got PHP5 instead of PHP4). MySQL needs to be installed though (MySQL downloads). Link to comment Share on other sites More sharing options...
MJP Posted April 17, 2008 Share Posted April 17, 2008 I have been working with OSCommerce for going on two years now. I finally upgraded computers and can run a local php and sql server for debugging. I am pretty new to OS X and hope someone can at least guide me in the correct direction of setting up a test store on my local computer. Thanks alot, lildog this site helped me out a lot to set up my Mac as a server. Marc Liyanage Link to comment Share on other sites More sharing options...
lildog Posted April 17, 2008 Author Share Posted April 17, 2008 excellent...not as difficult as I had thought. I am downloading mysql now. So after that how does one go about tracing/monitoring variables? I usually put a print r or echo, upload...yadda yadda. One of the main reasons I was so excited to get os x was I could run php locally. Yippee! lildog Link to comment Share on other sites More sharing options...
lildog Posted April 18, 2008 Author Share Posted April 18, 2008 For any other new os x users, you need to turn php on first. Enabling PHP for Mac OS X Thank you everyone for your replies. I am thankful for a place to begin..... lildog Link to comment Share on other sites More sharing options...
lildog Posted April 20, 2008 Author Share Posted April 20, 2008 Anyone have any ideas for debugging on a local os x server? Or is it the same as online? Echo, print_r etc? I was under the impression there was a way to 'trace' through scripts or monitor themwhen they executed.... lildog Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.