Looking for a good solution to install two php versions on my development machine.
I have two variants:
1. Install PHP 5.3.6 from repo and compile 5.2.17 from sources *
2. Compile both versions from sources and put them in /usr/share/php
Both versions will be run as Fast-CGI.
What would you recommend?
Having also weird error while trying to compile PHP from sources. I run this command: ./configure --enable-so --prefix=/usr/share/php/5.3.6 --sysconfdir=/etc --with-config-file-scan-dir=/etc/php.d --libdir=../../../../usr/lib64 --with-gettext --with-mysql=shared,/usr --with-mysqli=shared,/usr/lib64/mysql/mysql_config --with-pgsql=shared --enable-zip=shared --with-bcmath=shared --without-gdbm --with-bz2 --with-t1lib=/usr --with-gmp --with-freetype-dir --with-png-dir --with-jpeg-dir --enable-gd-native-ttf --with-t1lib=/usr --with-gd=shared and I get this error: configure: error: libjpeg.(a|so) not found.. Of course linpng, libpng-devel, libjpeg and libjpeg-devel (in Fedora called libjpeg-turbo and libjpeg-turbo-devel) are installed. Anu suggestions?
Thanks for your help!