Run the following command in shell to get the current php version
If you are using Lion like me, and never update php, then you may get 5.3.10.
Unfortunately today I spent a few hours trying to make fuelphp 1.4 oil work normal like when I was using 1.3.
At the moment, the lastest php version is 5.3.19.
In order to update PHP5 CLI on OSX using LIIP package, use the following command.
curl -s http://php-osx.liip.ch/install.sh | bash -s 5.3
# rename the old php
sudo mv /usr/bin/php /usr/bin/php_old
# copy the new package to /usr/bin
sudo cp /usr/local/php5-20121126-082829/bin/php /usr/bin/php
# test version
# get phpinfo, useful to locate php.ini file
# test fuel php oil
Now fuelphp oil should work normally, using 5.3.19 fixed the problem (at least for me) .
Rather than rename old php file, it is better to set PATH to new php location
~/.bashrc using nano or vim.
/usr/local/php5/bin, so you might have something like this: