I read various live blogs during the Mac World event today. It was interesting to see servers melt and the strategies people used to cope. A busy day in the Apple universe.
I just want to point out that the Mac mini comes with Apache and PHP pre-installed.
If you want, compiling a new version of PHP on the Mac is pretty easy if you have ever compiled anything on unix. If you have trouble compiling PHP extensions on OS X its probably due to this bug, which has an easy work around. You can also download an OS X PHP binary.
Compiling MySQL is also easy, or you can download a binary. If your flavor is postgresSQL, then compile or download that, too.
Bare Bones just released a free version of TextWrangler. TextWrangler and its paid version, BBEdit, are superb text editors for PHP. The diff and grep (multi file) capabilities are very good. Open via FTP/SFTP is handy and it knows what to do with unix permissions. It does does syntax highlighting, is fast, and it stays out of the way.
The following shell command will cause TextWrangler to use php.net for the find in reference command:
defaults write com.barebones.textwrangler Services:ADCReferenceSearchTemplate "http://www.php.net/search.php?show=quickref&pattern=%@"
I understand you can also use PHP with Apple’s Dev Tools (XCode), but I don’t. XCode is free with OS X, but not installed by default.
OS X comes with CVS, too. Unfortunately, text wrangler doesn’t integrate with it as BBEdit and XCode do.
The Mac is a great PHP development platform.
I will end this evangelizing post with a pure marketing quote from the Apple site for the Mac mini:
Perfect for Programmers
Set a space-saving Mac mini atop your workstation PC and add a KVM switch to share keyboard, monitor and mouse. Mac OS X includes free developer tools for Mac, UNIX and Java. Test out a Mac version of your latest creation, instantly. Pretty soon you’ll be using the Mac full-time, with that PC relegated to the testbed.
Preach the word, brother. My home machine is a Cube, originally G3/450MHz, now upgraded to G4/1.4GHz, and I use BBEdit everywhere all the time. It is a fantastic web development platform. (The new Mini looks like a half-Cube on its side. I am covetous of it.
perfect.. in that case, for a home server! already configured.
and it runs quiet.. which is the most important thing. oh, and it’s cheap, and good looking in the corner.
you can use jedit under OSX, and its free, and many plugin avaliable.
Now they’re giving away Mac minis! Details are available on my blog.
Mac mini Analysis
Clearly a cross between the Cube and the LC, but what are the good and the bad points of the first cheap headless Mac for over 5 years?
Mac mini Analysis
Clearly a cross between the Cube and the LC, but what are the good and the bad points of the first cheap headless Mac for over 5 years?
[...] Jackson Miller asks “Whats on your Mac?” Here goes: MySQL, PHP 4 and PHP 5 as described here. Also, phpMyAdmin. I use a personal version of squid using AdZapper becau [...]
[...] integrating phpm with TextWrangler, which is what I am using right now to edit php. (see mac mini and php) Being able to look up parameters in my editor would be a big [...]
I’ve created a package for XCode which enables PHP syntax coloring and project creation. It can be downloaded at: http://www.mr-technical.com/public/?q=node/13
Thanks for the php.net reference tip – it’s great. I love TextWrangler. Something similar for Windows (though not quite as powerful, and shareware, not free) is TextPad (http://www.textpad.com/) – I have used it happily for years. Like TW, it has very powerful regular-expression support, and other unique features like column-select, cut and paste.
In that step, parts of the original transcript are spliced out and discarded. ,
april to may credit card debt in probate ca who stocks eyederma in brisbane australia city of detroit income tax division auto air power adapter for laptops rider moving service federal career intern program dod a single white flower dentist columbia sc payea used cars williston vermont microsoft notebook opticle 3000 fast faxing loan no payday
Good evening! I saw some issues in your blog. Should I tell you what I think it’s mistaken so that you may check this? Regards – Joseph Hospedagem