I have a Raspberry Pi 2 where I want to run my backend for an application on. This needs php 5.6 to run correctly, otherwise it will just not work. I installed PHP 5.6 on this Raspberry Pi, but now I have the problem that when I do php -v
on the Command Line it will say PHP 5.6.13 (cli) (built: Dec 1 2015 09:39:07)
.
When I do phpinfo()
it will give me PHP Version 5.4.45-0+deb7u2
(and also 5.4 for all other php-related plugins/libraries/extensions, no '5.6' is found on that page.
I tried to completely install php 5.6 from scratch, but that also didn't fix the problem.
For my backend to run the apache needs PHP 5.6. I hope someone knows how to solve this problem and can help me with that.