So I’m using an ‘extra’ powerbook while the iBook gets a new logic board this week. What’s a web developer to do with a new (temporary use) machine? Get Apache, PHP & MySQL running of course. Rather than muck around with the OS and .conf files I figured I’d try out some of the complete web server packages that have come out in the last nine months. First up was MAMP, I liked the idea, a simple drag-and-drop install, no mucking around in /usr, /var/ or /etc and the option of using PHP4 or PHP5 was a bonus. Changing the MySQL password turned out to be easy, but killed the web based admin tools built into it. No prob, I can work around that. But then, the showstopper, no mod rewrite! So I went and downloaded another package, WebServerX Kit this is a complete Apache2/PHP5/MySQL/phpMyadmin install. It places its files in /usr/local and comes with a pref pane to start and stop the servers. Wouldn’t ya know it, same deal no mod rewrite. So what did I end up doing? I grabbed the MySQL package from Server Logistics (which btw comes with a nice pref pane) and used Apple’s built-in Apache/php (you need to edit the httpd.conf file to get php working) which comes with mod rewrite pre-installed and all is well again in web dev land. Yes, I will soon post details of how I set up virtual hosting on OS X.
Archive for the 'Unix' Category
Here’s a tip for PHP/MySQL developers. Make sure that you have PHP/MySQL installed in your development enviornment. That’s right the 10.2 install broke both PHP and MySQL and the OS X "authority" for these two esential developer tools is Mark from www.entropy.ch and his site happens to not be receiving connections right now.
Tripping: a personal weblog on Switching to OS X
I switched to OS X from Linux. I’m now using OS X at work and attracting a lot of attention. Last Friday my boss decided she had had enough. So she gave up her Windows laptop and got an iBook. The president is thinking v hard of getting a TiBook. He keeps coming over to my desk and admiring the screen (it’s much brigher and easier to read than his high-end ThinkPad).
I love hearing these stories.
[localhost:~] blanco% uptime
11:42PM up 4 days, 1:30, 4 users, load averages: 1.92, 2.28, 2.05
Not too shabby (for a "Laptop").
Apple rolls out new rackmount server. There is quite a bit of coverage this morning of Apple’s announcement of a new rackmount server. For the coverage from MacCentral, check out Apple announces new rackmount server — updated live and for a more informal account of the unveiling, check out Doc Searls’ Weblog. [Mac Net Journal]
I’m not sure what my feelings are on this piece yet. But it’s not hard to figure out what Grant’s are. I’d like a few in my office, but would they make my life any easier? Guess I’ll have to look a bit deeper”
Earlier this week, I found some nice How-tos on Unix basics at SFU’s site.