This describes the steps required to configure multiple PHP versions on your development system, if you have issue using the AUR package. Normally one may install the AUR package on a custom path, .e.g, /usr/local/php
, but if you are like me having some issues with that you might want to try a custom compile.
Pay attention to step 6)
as this is where any required extensions are enabled. For this setup we generally need pdo
and mysql
extensions.
-
Download PHP version
5.3.13
(or any version that you are interested in) from http://php.net/releases/ -
Download the
php53
AUR package from https://aur.archlinux.org/packages/php53/