I'm trying to downgrade PHP from 5.5 to 5.3 (not by choice).
I thought I uninstalled php 5.5 by typing the following sudo apt-get remove "php*"
I then installed php 5.3 by following these instructions
How ever when I called phpinfo()
inside a script and run it, I still get
PHP Version 5.5.9-1ubuntu4.19
But when I call php -v
from the command line I get PHP 5.3.29 (cli) (built: Sep 2 2016 10:56:16)
When I cd to root directory and type locate libphp5.so
there is only 1 path found and that's the path that Apache is already using.
How do I tell Apache to use 5.3?
Best Answer
You need to change the php module apache is using.