Re: Mac OS X how to install php / yaml ? [message #177297 is a reply to message #177288] |
Tue, 06 March 2012 07:34 |
Michael Vilain
Messages: 88 Registered: September 2010
Karma:
|
Member |
|
|
In article <4f5321bb$0$454$426a74cc(at)news(dot)free(dot)fr>,
Une Bévue <unbewusstsein(at)fai(dot)invalid> wrote:
> I was able to install yaml for Php on Ubuntu 11.10 using pecl and php 5.3.6.
>
> but i'm unable to do the same thing on Mac os x Lion (latest) using the
> builtin php5.
>
> some ticks or web page ?
Since no one's responded, I'll take a stab. AFAIK, you'll have to build
your own version of php with the features you want. The version Apple
built and installed on MacOS X doesn't have a YAML module installed. I
tried building php 5.2 with a bunch of options for MacOS X 10.5 but gave
up. The libraries were hard to configure, none of the options used the
GNU autoconfigure option and after a week of trying to get a manual
build to work, I gave up. I modified my copy of Drupal 6 to work in php
5.3 instead. It took less time.
The fink package manager is dead on MacOS X. Closest thing out there is
MacPorts, but it's not supported on Lion. That leaves you to link and
compile php all by your lonesome. If you've never done this without a
package manager, I wish you luck. You'll really really need it. The
dependencies are horrendous. And I was a Unix admin in a previous life
and did free software builds on a regular basis. So I'm not
exaggerating.
The MacOS development environment which I think is part of the Install
package. With Lion and Mountain Lion, I don't know what Apple is doing
for the stuff that would have been on the DVD as optional packages.
You'll have to research that for yourself.
Sorry to not be more helpful but unless you really need php built this
way, my advise is to use what Apple provides. Good luck.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
|
|
|