Re: Mac OS X how to install php / yaml ? [message #177300 is a reply to message #177297] |
Tue, 06 March 2012 12:25 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
Michael Vilain wrote:
> 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.
>
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.
|
|
|