By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,426 Members | 1,729 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,426 IT Pros & Developers. It's quick & easy.

Building PHP for Leopard

P: n/a
Has anybody had any success compiling a PHP build for Leopard,
specifically for Leopard running on a 64 bit Intel architecture? I
have been using the Entropy builds up to now but there has been a
major lack in progress with them in recent months and I get the
impression the developer has stopped working on them.

Apple do provide a PHP with Leopard but its capabilities are severely
limited, and Apple, in their infinite wisdom, didn't compile any
extensions for you to include in the php.ini file. The only database
supported in the Apple build is MySQL and important extensions like GD
and mcrypt are missing. So if anyone else can help out with a better
build I'd appreciate it.
Aug 4 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Aug 4, 5:57*pm, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<7248b93f-ac37-49ee-aded-0e2086ef1...@t54g2000hsg.googlegroups.com>,

*Gordon <gordon.mc...@ntlworld.comwrote:
Has anybody had any success compiling a PHP build for Leopard,
specifically for Leopard running on a 64 bit Intel architecture? *I
have been using the Entropy builds up to now but there has been a
major lack in progress with them in recent months and I get the
impression the developer has stopped working on them.
Apple do provide a PHP with Leopard but its capabilities are severely
limited, and Apple, in their infinite wisdom, didn't compile any
extensions for you to include in the php.ini file. *The only database
supported in the Apple build is MySQL and important extensions like GD
and mcrypt are missing. *So if anyone else can help out with a better
build I'd appreciate it.

If you have the developer tools installed, you can download the sources
and build it yourself. *What's stopping you?

--
DeeDee, don't press that button! *DeeDee! *NO! *Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]
I've attempted to do just that, and couldn't get it to compile
successfully.
Aug 5 '08 #2

P: n/a
On Aug 5, 9:53*pm, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<fafe0de7-645c-4390-842e-7801ef0af...@2g2000hsn.googlegroups.com>,

*Gordon <gordon.mc...@ntlworld.comwrote:
On Aug 4, 5:57*pm, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<7248b93f-ac37-49ee-aded-0e2086ef1...@t54g2000hsg.googlegroups.com>,
*Gordon <gordon.mc...@ntlworld.comwrote:
Has anybody had any success compiling a PHP build for Leopard,
specifically for Leopard running on a 64 bit Intel architecture? *I
have been using the Entropy builds up to now but there has been a
major lack in progress with them in recent months and I get the
impression the developer has stopped working on them.
Apple do provide a PHP with Leopard but its capabilities are severely
limited, and Apple, in their infinite wisdom, didn't compile any
extensions for you to include in the php.ini file. *The only database
supported in the Apple build is MySQL and important extensions likeGD
and mcrypt are missing. *So if anyone else can help out with a better
build I'd appreciate it.
If you have the developer tools installed, you can download the sources
and build it yourself. *What's stopping you?
--
DeeDee, don't press that button! *DeeDee! *NO! *Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by
ignored]
I've attempted to do just that, and couldn't get it to compile
successfully.

There are "pre-built" sandboxes you can buy and download

http://mamp.info/en/mamp-pro/index.html

which is a better approach than building your own version that may get
trashed by Apple's next update. *Unfortunately, it doesn't say if it's
64-bit Intel. *It also hasn't been updated in a while.

Then there are the binaries on the php site:

http://www.entropy.ch/software/macosx/php/

which installs in /usr/local and is unaffected by Software Update. *
There are also links on support sites that may be of help.

On SUN's X86 Solaris, you can mix applications that are 32-bit and
64-bit and run them on the 64-bit kernel (but only run the 32-bit on the
32-bit kernel). *You can't _build_ stuff with a mix of 32 and 64-bit
libraries, but you can run both. *I don't know what MacOS X does with
64-bit and 32-bit applications.

If you're having trouble building php, you might try the php developer
forums. *If you have no experience building open-source software or how
to diagnose and fix build problems, you'll either have to learn how or
hire someone to build this for you. *Your call on how much it's worth to
you in time and money.

--
DeeDee, don't press that button! *DeeDee! *NO! *Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]
I was already aware of MAMP and Entropy, MAMP is no use to me because
it only seems to support MySQL and I work for a Postgres shop.
Entropy is what I'm already using, but its 5.2.5 build for Leopard
hasn't been updated in months and it appears as if the maintainer
isn't working on it anymore.

MacOS on 64 bit systems can run both 32 and 64 bit code, but a 64 bit
application can't use 32 bit libraries.
Aug 5 '08 #3

P: n/a
On Aug 5, 9:53*pm, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<fafe0de7-645c-4390-842e-7801ef0af...@2g2000hsn.googlegroups.com>,

*Gordon <gordon.mc...@ntlworld.comwrote:
On Aug 4, 5:57*pm, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<7248b93f-ac37-49ee-aded-0e2086ef1...@t54g2000hsg.googlegroups.com>,
*Gordon <gordon.mc...@ntlworld.comwrote:
Has anybody had any success compiling a PHP build for Leopard,
specifically for Leopard running on a 64 bit Intel architecture? *I
have been using the Entropy builds up to now but there has been a
major lack in progress with them in recent months and I get the
impression the developer has stopped working on them.
Apple do provide a PHP with Leopard but its capabilities are severely
limited, and Apple, in their infinite wisdom, didn't compile any
extensions for you to include in the php.ini file. *The only database
supported in the Apple build is MySQL and important extensions likeGD
and mcrypt are missing. *So if anyone else can help out with a better
build I'd appreciate it.
If you have the developer tools installed, you can download the sources
and build it yourself. *What's stopping you?
--
DeeDee, don't press that button! *DeeDee! *NO! *Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by
ignored]
I've attempted to do just that, and couldn't get it to compile
successfully.

There are "pre-built" sandboxes you can buy and download

http://mamp.info/en/mamp-pro/index.html

which is a better approach than building your own version that may get
trashed by Apple's next update. *Unfortunately, it doesn't say if it's
64-bit Intel. *It also hasn't been updated in a while.

Then there are the binaries on the php site:

http://www.entropy.ch/software/macosx/php/

which installs in /usr/local and is unaffected by Software Update. *
There are also links on support sites that may be of help.

On SUN's X86 Solaris, you can mix applications that are 32-bit and
64-bit and run them on the 64-bit kernel (but only run the 32-bit on the
32-bit kernel). *You can't _build_ stuff with a mix of 32 and 64-bit
libraries, but you can run both. *I don't know what MacOS X does with
64-bit and 32-bit applications.

If you're having trouble building php, you might try the php developer
forums. *If you have no experience building open-source software or how
to diagnose and fix build problems, you'll either have to learn how or
hire someone to build this for you. *Your call on how much it's worth to
you in time and money.

--
DeeDee, don't press that button! *DeeDee! *NO! *Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]
opy
Aug 5 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.