By default in Debian Jessie, I get PHP 5.6 installed by using
apt-get install php5 .
The problem is that the project that I'm working on has severely deprecated functions to the point that the project isn't working properly, and I have failed to suppress any of those deprecation warnings. They just won't go away.
After consulting with one of my colleagues, I've decided to install an older version of PHP, namely 5.3.10. This is the version he's using and the project is running fine.
I've been searching around the debian packages and I've managed to install PHP 5.3.29 (for Wheezy), but again the project is not working at all.
How would I get around installing a 5.3.10 on Jessie? I have found the required source here. http://php.net/releases/ But I honestly do not know what features I need from PHP and I also do not understand what apache folder I need to use when building. Online guides showed something similar to apache/bin, but I am not aware of such a folder on my PC (yes, apache is installed and working properly).
Is there a different way, or am I stuck to building PHP from scratch? There is virtually no 5.3.10 package in the jessie repos. Only 5.6.