Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mac OS X how to install php / yaml ?

849 views
Skip to first unread message

Une Bévue

unread,
Mar 4, 2012, 3:03:22 AM3/4/12
to
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 ?
Message has been deleted

Captain Paralytic

unread,
Mar 6, 2012, 5:40:27 AM3/6/12
to
As a last resort you could always use: http://code.google.com/p/spyc/

Une Bévue

unread,
Mar 6, 2012, 6:12:53 AM3/6/12
to
fine, thanks

The Natural Philosopher

unread,
Mar 6, 2012, 7:25:32 AM3/6/12
to
Michael Vilain wrote:
> In article <4f5321bb$0$454$426a...@news.free.fr>,
> 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.
>

set up a linux virtual machine.

Or invest in a dirt cheap low power headless server that you can control
properly, and leave the MAC as just the user interface - stuff all your
data on the server. If you are clever you can NFS mount the server onto
te mac so teh user never knows its really not a local disk.

THEN you can edit your PHP files as if they were local and apart from
all the ._DS bollocks that Macs leave everywhere, and the inability to
understand case in filenames consistently, you will have what amounts to
a decent local file server which can be self backing up, a decent web
server and a decent PHP solution.

I built one - headless server with 1TB of disk - for £200 UKP Intel Atom
board with very low power consumption.

All the LAMP stuff is there. The desktops are just - desktops..one Linux
one Mac.

No important data is on them



--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

Une Bévue

unread,
Mar 6, 2012, 8:30:14 AM3/6/12
to
Le 06/03/2012 13:25, The Natural Philosopher a écrit :
>
> set up a linux virtual machine.
>
> <snip />
>
> No important data is on them
>

OK, thanks, I'll try first this simple solution :
0 new messages