laurentb Posted April 16, 2007 Posted April 16, 2007 HI Be gentle, virgin in the subject. I wanted to test and develop my shop offline on my powerbook. I use OSX 10.3.9. I am completely new to all these php and mysql things, and have followed some instructions to install php4.4 and mysql 4.1, not really knowing what I was doing in Terminal window. I downloaded oscommerce-2.2ms2-060817 for linux/unix, and followed the instruction to install. So I dragged the folder catalog in WebServer/Documents and then open Safari and wrote the address, http://myserveraddress/catalog/install/ and I get this?: FATAL ERROR: register_globals is disabled in php.ini, please enable it! That's not very far, lol, and I can't find the php.ini file 1/ Is it possible to run oscommerce locally for development, on an Apple? 2/ Am I already doing something wrong? 3/ My host uses linux! And kindly set-up the basic oscommerce for me. Can I developpe the shop on Apple and upload it on the host. 4/ Help most appreciated, as I don't really want to destroy what is online and will love to learn in a safety of my pb. Many thanks
Iggy Posted April 16, 2007 Posted April 16, 2007 HIBe gentle, virgin in the subject. I wanted to test and develop my shop offline on my powerbook. I use OSX 10.3.9. I am completely new to all these php and mysql things, and have followed some instructions to install php4.4 and mysql 4.1, not really knowing what I was doing in Terminal window. I downloaded oscommerce-2.2ms2-060817 for linux/unix, and followed the instruction to install. So I dragged the folder catalog in WebServer/Documents and then open Safari and wrote the address, http://myserveraddress/catalog/install/ and I get this?: FATAL ERROR: register_globals is disabled in php.ini, please enable it! That's not very far, lol, and I can't find the php.ini file 1/ Is it possible to run oscommerce locally for development, on an Apple? 2/ Am I already doing something wrong? 3/ My host uses linux! And kindly set-up the basic oscommerce for me. Can I developpe the shop on Apple and upload it on the host. 4/ Help most appreciated, as I don't really want to destroy what is online and will love to learn in a safety of my pb. Many thanks Hey there Lauren, What you're looking to do is exactly how I do it (love the MacBook!) with one exception; I use xampp instead. http://www.apachefriends.org/en/xampp-macosx.html Comes with everything precompiled, has a nice little utility for starting/stopping services, let's you pick your version of PHP and is a lot more fun than compliling by hand. On the Register Globals question you'll want to find your php.ini file (spotlight will help with that) and change the value from register_globals = Off to register_globals = On then restart apache. Good luck and enjoy! Iggy Everything's funny but nothing's a joke...
laurentb Posted April 16, 2007 Author Posted April 16, 2007 I am on a G4 powerbook, and Panther! The package you presented me seems to be Tiger minimun spec? Thx anyway
Iggy Posted April 16, 2007 Posted April 16, 2007 I am on a G4 powerbook, and Panther! The package you presented me seems to be Tiger minimun spec? Thx anyway Doh! Right you are. There is a list of older versions here http://sourceforge.net/project/showfiles.p...ackage_id=60248 There's mamp as well but I'm not as fond of it http://www.versiontracker.com/dyn/moreinfo/macosx/24852 One way or another though changing RG = Off will get you over the hump on the first problem. Iggy Everything's funny but nothing's a joke...
laurentb Posted April 16, 2007 Author Posted April 16, 2007 Thank you I finally found a version of mamp (MAMP_1.4.1_ppc) that seems to work with my G4 10.3.9. I modified php.ini, and it seems to work. the first page appeared. (It looks like php.ini could be modified only when mamp of off). Mamp allows to work with php4 and php5. Would that makes any differences when I upload on a php4 enabled server on linux? Many thanks again laurentb
Iggy Posted April 16, 2007 Posted April 16, 2007 Thank youI finally found a version of mamp (MAMP_1.4.1_ppc) that seems to work with my G4 10.3.9. I modified php.ini, and it seems to work. the first page appeared. (It looks like php.ini could be modified only when mamp of off). Mamp allows to work with php4 and php5. Would that makes any differences when I upload on a php4 enabled server on linux? Many thanks again laurentb You'll want to match your dev installation as closely as you can to your production server (avoids nasty surprises) so 4 I would think but a stock osC will work on both versions. Iggy Everything's funny but nothing's a joke...
laurentb Posted April 16, 2007 Author Posted April 16, 2007 You'll want to match your dev installation as closely as you can to your production server (avoids nasty surprises) so 4 I would think but a stock osC will work on both versions. Iggy I am now going to do lots of reading and learn as much as I can. You have made my life much easier, as the Terminal is not really to my taste. :-" Unfortunately, I am sure I will be back on this forum. Cheers laurentb
Recommended Posts
Archived
This topic is now archived and is closed to further replies.