Sandbox Question
I know this is a rookie question, but I've never set up a personal sandbox on my laptop, can anyone give a brief overview on how to set up a php environment?
Mac or PC?
On the new Macs I think, but am not sure, everything is pre-installed. I have an older Mac and I had to install MySQL and enable PHP in Apache. It was a while ago so I don't remember the details.
On Windows I believe people are having good results with xampp: http://www.apachefriends.org/en/xampp-windows.html
Or you can do the installs individually, You'll need Apache, PHP and MySQL. I took this route because I hadn't heard of xampp. There were a number of fiddly things I had to Google because of DLL issues. YMMV


Hmm...
Xampp looks like a really slick package, and I definately plan on checking it out one day.
I use Apache2Triad, though: http://sourceforge.net/projects/apache2triad
and what I have to say for it is that while it seems a little kludgy to me, I can install it, reboot, create a database in PHPMyAdmin and have a sandbox in less than five minutes (its a decent-sized install).
I am HOPING to borrow an external USB adapter from a friend, since he returned my laptop with a blank drive and I have no external or CD ROM. With luck, though, I want to throw Ubuntu server on it and spend a couple of days getting aquainted beforehand, partially out of a sense of masochism and partly because I suspect trying to make Apache etc. function under 32bit Windows may not be the most optimal environment. Then again, have to see how Ubuntu does with an out of the box install on an aging thinkpad with a Cisco PCMCIA wireless card.
Which makes me think -- is there any reason anyone might need access to an actual server? I have a reseller account and more than enough space I could easily set anyone (or a bunch of anyones) up with a temporary account on my server, if that would be useful. If so, feel free to kite me an email or leave a reply and I'll set up accounts as subdomains (drupaller.hostingthing.com, typical cPanel reseller otherwise).
I can also probably put someone or a couple someones up on my floor/couch, but I wouldn't advise it except as an option of last resort -- besides that the return trip will be a long haul by Metro (and an early haul back), we have four cats, a dog and a hedgehog, which is not a kind environment for allergies or noses. Is better than a park bench, but probably not as good as a park bench and a newspaper.
You won't go wrong with
You won't go wrong with XAMPP on Windows, or the LAMP stack under Ubuntu -- I actually have a dual boot Windows/Ubuntu machine, and it gets the job done nicely -- I can read my windows drive from within Linux (and copy files from Windows into Linux), and it's a little faster/easier working locally than via an ftp/shell connection to a server.
Also, you can use XAMPP to get your AMP under Ubuntu.
Cheers,
Bill
Wouldn't fly any other way...
How convenient! Thanks for jogging my thoughts.
Currently, I'm grabbing the last files needed -- am going to throw Ubuntu on my thinkpad before camp, so I may as well put XAMPP in, as well. Would hate to try and do much with a server installation, though -- would work if there were no alternative, but definately not my first choice. Am curious to see if AMP is any faster under Linux than win32 -- figure its gotta be.
For Mac...
The MAMP package is the equivalent of XAMPP (which does have a Mac version but is horribly out of date).