Just after Leopard was released I wrote about my findings with PHP5 on Leopard here – which had the conclusion that PHP on Leopard is more or less useless due to the fact that there are so many missing modules.
I used to use Entropy PHP on Tiger but I could not get it to work, well I am quite happy to say that with a bit of reading on the forums at www.entropy.ch I have been able to get Entropy PHP to work on Leopard.
In short which have to happen to get it working:
– snip –
cd /usr/sbin
mv httpd httpd.ub
lipo -info httpd.ub
lipo -thin i386 httpd.ub -output httpd.i386
lipo -info httpd.i386
ln -s httpd.i386 httpd
cd /etc/apache2/other
ln -s /usr/local/php5/entropy-php.conf .
locate libexpat
# in my case I found a libexpat in /opt/local/lib, from macports. Your mileage may vary. I also did a symlink from php ib to apache2 so everything would be in the same place
ln -s /usr/local/php5 /usr/local/apache2
cd /usr/local/apache2/lib
ln -s /opt/local/lib/libexpat.1.5.2.dylib .
ln -s /opt/local/lib/libexpat.0.dylib .
– snip –
And as far as I understand it will not work on 64bit Macs, which means that if you have a G5 or a Core 2 Duo then you will have to forget about until Johan from Entropy builds a PHP5 which will work on 64bit. Right now I’m happy that I actually did not have the money to go out and get a new Mac with a Core 2 Duo….
One Response to (followup) Leopard Annoyances I – Apache/PHP
Leave a Reply Cancel reply
recent books
- Gary Gibson
- Nova War
- Adrian Tchaikovsky
- Heirs of the Blade
- Brian Herbert,Kevin J. Anderson
- Sisterhood of Dune
- Michael Cobley
- The Ascendant Stars
- Michael Cobley
- The Orphaned Worlds
- Markus Heitz
- The Revenge Of The Dwarves
- Christopher Paolini
- Inheritance
- Tom Holt
- The Better Mousetrap
- Frederick Forsyth
- The Afghan
- Terry Pratchett
- Snuff
charities
recent comments
- Balkan 2011 – Part 6 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 5 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 4 | Casper's Life on Balkan 2011 – Part 1
- Balkan 2011 – Part 2 | Casper's Life on Balkan 2011 – Part 3
- Balkan 2011 – Part 2 | Casper's Life on Balkan 2011 – Part 1
categories
- apple (61)
- books (5)
- chat (1)
- computers (32)
- driving (11)
- gps (7)
- graphics (1)
- hardware (18)
- howto (7)
- idm (6)
- internet (5)
- iphone (8)
- kvm (1)
- life in it's simplest form… (29)
- linux (11)
- motorbikes (20)
- music (3)
- networking (1)
- opinion (11)
- os (5)
- osx (26)
- photography (13)
- politics (8)
- programming (3)
- rant (18)
- rhel6 (1)
- science fiction (1)
- software (44)
- technology (7)
- trash (2)
- travel (20)
- tv (3)
- uncategorized (3)
- video (1)
- vmware (1)
- widget (1)
- wireless (1)
- wordpress (1)
- xen (1)








[...] wrote here about my happiness with Leopard (Apple OSX 10.5) and the implementation of PHP which they have put [...]