I'm considering buying a shiny new laptop as a backup to my creaky old development PC, and I was thinking of buying a Mac Powerbook. But before I do..
1. Any installation issues for Apache/PHP/Mysql on OSX that I should know about?
2. Any differences between PHP on OSX and Windows/Linux?
3. Any module differences? Particularly with regard to GD2.
And, as a completely leftfield shot in the dark question.. would it be possible to run PHP4, PHP5, MySQL 4.1, and MySQL 5.0 all at once on OSX? If they were run under different user accounts that would be fine. I'd like to move my skillset to the latest versions of things but I'd need to be able to maintain existing code as well
Any help would be ace. Cheers.
PHP dev on OSX
Moderator: General Moderators
1. Depends, there are binary installer packages which should take the headaches out of it. If you're compiling them yourself, then yes, it's not as straight forward as it is on other platforms.
2. Not as far as I'm aware.
3. GD support is relatively straight forward.
Yes, two different users can run two different setups/configurations.
2. Not as far as I'm aware.
3. GD support is relatively straight forward.
Yes, two different users can run two different setups/configurations.
-
marianopeterson
- Forum Newbie
- Posts: 5
- Joined: Wed Oct 12, 2005 4:22 pm
- Location: San Francisco
Re: PHP dev on OSX
OSX doesn't seem to suppot Locale (LC_COLLATE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME) which can be frustrating when using Smarty temlates and otherwise trying to format your ouput according to locale. The locale files are in place (/usr/share/locale), but OSX's locale functions (and therefore PHP's locale functions) just don't work.onion2k wrote:2. Any differences between PHP on OSX and Windows/Linux?
The first time I installed PHP on OSX I used http://www.entropy.ch/software/macosx/php/ , which worked very well.
Generally I've had a good experience running PHP on OSX.
Last edited by marianopeterson on Thu Oct 13, 2005 5:47 pm, edited 1 time in total.
I imagine the PHP installation is of a UNIX base. There are some differences between Windows and Unix versions of PHP, but those differences depend on the function you call. It's nothing as big as argument ordering or anything, just default I think.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
on a side note,
in case you care, you might want to hold out on buying that powerbook a tad. there's been a lot of rumors flying around the apple world, especially with powerbooks vs. heat vs intel chips vs. ibm, etc. etc., so I thought I'd just throw that out there. Although some of the information is based on theories and elapsed time, I'd check out macrumors.com for anything unusual that might be going on out there. I've been waiting to buy a new powerbook for the past year, however cash flow is a major factor in my situation. I just wish they were a little cheaper. Like that girl I dated in college.
in case you care, you might want to hold out on buying that powerbook a tad. there's been a lot of rumors flying around the apple world, especially with powerbooks vs. heat vs intel chips vs. ibm, etc. etc., so I thought I'd just throw that out there. Although some of the information is based on theories and elapsed time, I'd check out macrumors.com for anything unusual that might be going on out there. I've been waiting to buy a new powerbook for the past year, however cash flow is a major factor in my situation. I just wish they were a little cheaper. Like that girl I dated in college.