I hate to say but RTFM. Very FIRST entry on the FAQ is...
Why does php -v on the command line still show my old version?
php-osx doesn't overwrite the php binaries installed by Apple, but
installs everyting in /usr/local/php5. The new php binary is therefore
in /usr/local/php5/bin/php.
You can also adjust your PATH do include that directory, eg. write
into your ~/.profile file the following
export PATH=/usr/local/php5/bin:$PATH
Which sounds suspiciously like your issue. If you're running any scripts (other than on apache), you may end up needing to adjust them accordingly. You might want to use phpinfo to confirm that apache is using the new php rather than the old one for those.
Assuming you did all this correctly, and you want to make sure of this - you can run php -v with /usr/local/php/bin/php -v
. You can also make the default location for php your new one for your account by opening up your profile file with textedit or nano - with say nano $home/.bash_profile, and adding the line export PATH=/usr/local/php5/bin:$PATH
.
If this is for web development, you can create a text file with these contents to make sure apache picking up the 'right' version of php - I tend to save this at the root of my webserver directory as info.php
<?php
phpinfo();
?>
This is also useful when bashing extensions into working