Upgrade to PHP 5 on Mac OS X 10.4 Tiger


Backup your current httpd.conf

cd /private/etc/httpd
sudo cp httpd.conf httpd.conf.old

Revert httpd.conf

sudo cp httpd.conf.default httpd.conf

Install Entropy PHP 5 binary package

Go to Entropy Mac OS X PHP and download the PHP archive for Apache 1.3. Uncompress it with the terminal and launch the installer from the Finder.

PHP5 is now installed and running! However, your web applications may not work properly anymore. A few fixes follow.

Activate PHP short tags

This functionnality is used by some PHP frameworks like Code Igniter . It allows you to use this convenient syntax to print a value:

<?= $toto ?>

To activate it, replace in /usr/local/php5/lib/php.ini:

short_open_tag = Off


short_open_tag = On

Allow .htaccess files

Replace in /private/etc/httpd/httpd.conf

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
    AllowOverride None


# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
    AllowOverride All


Installation on Mac 10.4 don't work du to errors
Apr 29, 2009
lame...all you did was link to a installed, wtf?

Jun 24, 2009
Useful, thank you
Aug 6, 2009
thak you
se tunç
Dec 9, 2009
Excellent! Thanks. I had found the Entropy page, but didn't know there was an installation compatible with Tiger until I read it here.
Feb 20, 2010
I have entropy installed on my tiger. PHP5 working fine, but MySQL not. have any clue? should I install it separately?
Mar 26, 2010
one more tip:
back up mysql dbs
May 15, 2010
"Uncompress it with the Terminal"?? Why? How??!

I don't want to use any stupid command-line Terminal -- I want to download a simple PHP installer, double-click on it, and have it be installed, just like any other file or application on a modern computer!

Why is this such an impossible thing to expect?
Ian Shields
Dec 5, 2010
Ian you deadshit, if you can't use basic terminal commands, you shouldn't be using PHP at all.
Dec 7, 2010
You don't need to use the terminal to unzip the package. just double click on the .tar file and it will uncompress just fine.

on this page I found an older PHP package compatible with OS 10.4:

PHP 5.2.4 for Apache 1.3

I followed the instructions on that page, and it worked prefectly.
Jan 5, 2011
for some reason it says installed and i can find all the php5 files but when i go to terminal and do php -v it gives me version 4.49.???????????????????????????????
Jul 15, 2011
Try this link via archive.org since entropy.ch seems to be offline.
Jan 13, 2017