Guest Posted July 27, 2006 Posted July 27, 2006 anyone done this for testing purposes? what's the easiest way to mirror your host's settings? i tried reading the documentation on php.net but there's too much tech talk to absorb. is there a more simplistic explanation? such as: - download this - install that - configure that - load your site - bla bla ?
jasonabc Posted July 27, 2006 Posted July 27, 2006 I always develop locally. I only go near a host's server when the store is pretty much done. Although XAMPP is pretty good - I've had a few minor issues with it and have found the best solution to install Apache, PHP and MySQL separately on my PC. There are good tutorials on the web on installing these things. The very best resource I found for help on installing these however (Apache, MySQL and PHP) is this PHP & MySQL Web Development. It's a superb book. I installed Apache 2.0, PHP 5.0 and MySQL 4 using this book in around 30 minutes. It's very well written. I always keep a copy of the web hosts config files somewhere local. Then I can upload the entire store (all files and folders) and just FTP the host config files over the top of my local ones. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Guest Posted July 27, 2006 Posted July 27, 2006 I always develop locally. I only go near a host's server when the store is pretty much done i have a nasty habit of testing and developing new scripts on the live server :blush: the best solution to install Apache, PHP and MySQL separately on my PC. is there a way to find out the host's installation versions of these programs without slipping a phpinfo file in there? i'm moving hosts and i can't access any pages via the browser until the dedicated ip is set up
jasonabc Posted July 27, 2006 Posted July 27, 2006 i have a nasty habit of testing and developing new scripts on the live server :blush: Haven't we all... lol ;) There's normally a test URL you can use until IP's and domain names resolve? Failing that - if you need to know what version they are running of certain things I guess you could just ask them...? (daring and radical I know - but it might just work!) cheers Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Guest Posted July 27, 2006 Posted July 27, 2006 the ip they gave me now is a shared ip (it's a shared server) and they claim i can't view anything until my dns resolves to their server.... which won't happen until i loaded my files. which i'm hesitant to do until i know the mod_rewrite will function properly I guess you could just ask them...? (daring and radical I know - but it might just work!) :lol: i did, all they say is "php 4 or 5.. whatever you need can be enabled" (this is in regards to godaddy deluxe cgi, etc etc. linux hosting) but aren't their versions like php 4.3.1 or 4.4.1 that react differently to certain types of scripts?
cbp Posted July 27, 2006 Posted July 27, 2006 If you have cPanel with your hosting try using your IP as follows to access your control panel: http://xxx.xxx.xxx.xxx:2087 or https://xxx.xxx.xxx.xxx:2087 use given login and pass. this should work in theory. Once in cPanel all info is pretty much there. To let you know that in the latest versions of php globals are off by default and I think osC needs globals. You can ofcourse apply a patch to fix this. And for mod_rewrite you can tell them to enable it as it is widely used. As for serverside developement you can do it by password protecting your root directory using .htaccess. I do this cause I don't want to install apache and mysql locally. And with Dreamweaver it is a breeze to code live on the server.
Guest Posted July 27, 2006 Posted July 27, 2006 my current host has cpanel, but i do not think godaddy does... i wanted to make sure godaddy's spec's match up with my current host but don't know how to achieve that is mod_rewrite functionality able to work on any server? godaddy states my account does have mod_rewrite enabled. but there's no special coding magic that works on one server, but not others?
jasonabc Posted July 27, 2006 Posted July 27, 2006 I think you'll just have to "suck it and see". Every host has different setups, different settings in config files, server configs, php.ini's etc. LunarPages and Ipower are two good/similar hosts - but LunarPages have security settings that Ipower do not that prevent you doing certain types of OSC development. There's no way you'd know this until you got the store up on LP servers and ran it.... Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.