FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Mac OS X how to install php / yaml ?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Mac OS X how to install php / yaml ? [message #177297 is a reply to message #177288] Tue, 06 March 2012 07:34 Go to previous messageGo to previous message
Michael Vilain is currently offline  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]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: php PDO does not work
Next Topic: PHP / LaTeX project
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 11:03:24 GMT 2024

Total time taken to generate the page: 0.03471 seconds