I'm using a machine running Ubuntu 11.04 and PHP 5.3.5 to test an application that will run on a server with PHP 5.3.15.
I've noticed some differences and would prefer a test environment as similar as possible to the final home of the project, but all my searches for a way to update PHP to a specific version have come up empty.
Is there a way to replace 5.3.5 with 5.3.15 on this machine running Natty Narwhal?
Try Zend Server CE. It's an extremely nice PHP application stack.
According to the docs for the DEB installation, you should be able to do something like
./install_zs.sh 5.3.15 ce
Please note I haven't tried setting the PHP version like this directly but it's worth a try.