Around 2 years ago I attempted my first PHP compile and succedded. I occasionaly upgrade my compile script as I add modules and new versions come out.
However, I'm finding that apt-get unattended upgrades keep overwriting my PHP installation periodically. The last happened last night and downgraded my installation from 5.5.1 to 5.3.10
It happens very infrequently, but still brings the server down before I realise what has happened.
I ran dpkg -l and can see even when I have my 5.5.1 setup, the dpkg version still reads 5.3.10. I presume this is because I have done my own compile of php5. Should I:
- Uninstall PHP from apt-get and block it's install in future
- Install my custom compiled version differently so dpkg recognises it?
- Just go ahead and block dpkg from allowing php updates.
- As yet undetermined 4th options?
Your help is appreciated.