Hey there,
I've come across a bug with PHP Selector, specifically when it comes to installing PHP 5.2.
The directive is incorrect:
--libdir=/usr/lib64
Default Invalid Flags:
./configure
--prefix=/opt/alt/php52/usr
--with-zlib
--enable-soap
--enable-exif
--with-config-file-path=/opt/alt/php52/usr/php
--with-config-file-scan-dir=/opt/alt/php52/usr/php/php.d
--enable-phar
--enable-bcmath
--enable-calendar
--with-curl
--with-iconv
--with-mysql
--with-mysqli
--with-mcrypt
--with-gettext
--with-xsl
--with-xmlrpc
--with-pdo-mysql
--enable-posix
--enable-ftp
--with-openssl
--enable-mbstring
--with-jpeg-dir=/usr
--with-freetype-dir=/usr
--with-kerberos
--with-xsl
--with-bz2
--enable-sockets
--enable-zip
--with-gd
--with-imap
--with-imap-ssl
--enable-sockets
--with-pcre-regex
--libdir=/usr/lib64
--with-mysql-sock=/var/lib/mysql/mysql.sock
Fixed Flags:
./configure
--prefix=/opt/alt/php52/usr
--with-zlib
--enable-soap
--enable-exif
--with-config-file-path=/opt/alt/php52/usr/php
--with-config-file-scan-dir=/opt/alt/php52/usr/php/php.d
--enable-phar
--enable-bcmath
--enable-calendar
--with-curl
--with-iconv
--with-mysql
--with-mysqli
--with-mcrypt
--with-gettext
--with-xsl
--with-xmlrpc
--with-pdo-mysql
--enable-posix
--enable-ftp
--with-openssl
--enable-mbstring
--with-jpeg-dir=/usr
--with-freetype-dir=/usr
--with-kerberos
--with-xsl
--with-bz2
--enable-sockets
--enable-zip
--with-gd
--with-imap
--with-imap-ssl
--enable-sockets
--with-pcre-regex
--with-libdir=lib64
--with-mysql-sock=/var/lib/mysql/mysql.sock
Hope that helps anyone!