I have had PHP Version 5.3.10-1ubuntu3.1 installed through Ubuntu's
apt-get for some time.
I now want to install PHP5.4, which I was planning on compiling from source. I have extracted into
/usr/src/php-5.4.3/ and run:
./configure --with-mysqli --with-pcre-regex --with-pdo-mysql --with-pear --with-curl --with-gd --with-openssl; make; make install
apt-get installing other required libs to make that work.
php -v is 5.4, as expected, but when I use PHP through Apache it still points to 5.3 somehow. I've even done
apt-get remove --purge php5-dev but I'm missing something.
Any ideas what?
Thanks for your help.