Hello,
I've just downloaded PhpSwitcher 2.2.9 and uploaded it to my imscp 1.3.0 installation.
It's a clean install of a jessie debian (I've also add some packages from jessie-backports and from stretch).
I've tried to compile 5.4, 5.6 and 7.0 versions with php compiler but all of them failed with an errore regardi LDAP and SASL2 support:
# perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl -v -f 5.4
............
[DEBUG] iMSCP::Execute::execute: quilt --quiltrc /dev/null push -a --fuzz 0 -q
[DEBUG] iMSCP::Execute::getExitCode: Command exited with value: 2
[DONE] Patches successfully applied on php-5.4.45 source
[INFO] Parallel jobs set to 8
[INFO] Executing `install' make target for php-5.4.45...
[DEBUG] iMSCP::Execute::execute: make -f /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile PREFIX=/opt/phpswitcher/php5.4 TPLSDIR=/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/templates install
[ -f ext/ext_skel ] && mv ext/ext_skel ext/ext_skel.in
./buildconf --force
Forcing buildconf
Removing configure caches
.........
checking for ANSI C header files... (cached) yes
checking for LDAP support... yes, shared
checking for LDAP Cyrus SASL support... /usr
checking for 3 arg ldap_set_rebind_proc... yes
checking for ldap_parse_result... no
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
checking for sasl_version in -lsasl2... no
/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:273: recipe for target 'configure-5.4-stamp' failed
[DEBUG] iMSCP::Execute::getExitCode: Command exited with value: 2
[FATAL] main::make: An error occurred while executing `install' make target for php-5.4.45: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.4 (found: 3.0).
../configure: line 5393: test: too many arguments
configure: error: LDAP SASL check failed. Please check config.log for more information.
make: *** [configure-5.4-stamp] Error 1
The same error for all the tree version.
What can i check to successfully compile php versions?
thank you