tomcommathe Posted December 28, 2008 Share Posted December 28, 2008 I know this is going to be a really simple answer to a really dumb question, but I will be traveling this weekend (and won't be driving!). I would like to do some PHP coding while on the road, but won't be able to upload my files to test them on the server. How can I test php / mysql with only my laptop and no internet? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/ Share on other sites More sharing options...
DarkWater Posted December 28, 2008 Share Posted December 28, 2008 Absolutely. Download Apache, PHP, and MySQL (if necessary). If you use Windows, go and Google 'WAMP' and you should be able to find a site that has all three available for download in a little package that installs everything for you. Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/#findComment-724768 Share on other sites More sharing options...
tomcommathe Posted December 28, 2008 Author Share Posted December 28, 2008 on a mac. :/ is it just a matter of installing the software? or do i have to configure my computer to act like a server? Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/#findComment-724770 Share on other sites More sharing options...
DarkWater Posted December 28, 2008 Share Posted December 28, 2008 Just a matter of installing the web server and configuring it to use PHP. You shouldn't really have too much trouble with it. Google 'mac apache php' and you'll probably get some tutorials. Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/#findComment-724772 Share on other sites More sharing options...
tomcommathe Posted December 28, 2008 Author Share Posted December 28, 2008 Thanks for the help! I immediately found this: http://www.mamp.info/en/index.php. I don't know if you guys keep logs of things like this that would be helpful for other people in my situation, but this is a great resource. When it's installed and running I will tell my opinion. Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/#findComment-724776 Share on other sites More sharing options...
DarkWater Posted December 28, 2008 Share Posted December 28, 2008 I wasn't entirely sure if someone decided to make a MAMP package, but I guess they did. Nice to know. I haven't checked it out yet, but it should probably work fine. Remember that you NEED to go through localhost in order to actually have anything processed by the server (and PHP). You can't just double click the file and open it in Safari or Firefox (or whatever you are using). Quote Link to comment https://forums.phpfreaks.com/topic/138613-php-while-traveling/#findComment-724781 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.