You are not logged in.
I want to run php7 and php5 on the same server but there is no compile option to rename the binary, only changing it's path when using ./configure --help
php7 is from repo and should stay as it is, php5 is self compiled and binary.
I've seen some rigs running each php version with a binary php$version (php5.4) but I don't see any patch to remove that in the official php package, so it may be non-default way to build the binary.
While most seems as easy as adding "5" at the end of the option ( --with-config-file-path=/etc/php5 ), I wasn't able to find a compile time option to alter the binary name.
Thank you for your time
Last edited by Magissia (2018-04-10 12:11:20)
Offline
I don't have it installed so I can't check it, but the php56 AUR package seems to install the php binary to /usr/bin/php56 and all the extenstions to /usr/lib/php56/modules just by copying them to the right directory with install.
https://aur.archlinux.org/cgit/aur.git/ … LD?h=php56
Last edited by null (2016-06-16 16:17:52)
Offline