Hi all,
last night one of my servers updated to the lastest stable version. All looked good at first. This morning a customer called us that his webpage is not working anymore.
After some investigation I found out that the php version / PhpSwitcher is not working anymore .-(
System is running latest Debian Buster and imscp 1.5.3.
In the apache log I could see
Quote
[Mon Jul 15 10:14:04.694796 2019] [proxy:error] [pid 22367:tid 140344532383488] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/phpswitcher/psw7.0-fpm-DOMAIN.sock (DOMAIN) failed
.5
I checked the admin gui and could see also error messages here like
QuotePlugin::PhpSwitcher::_checkPhpVersionData: `/opt/phpswitcher/20180618/php7.0/bin/php-cgi' doesn't looks like a PHP FastCGI binary
so I tried to reinstall different php version via
Quoteperl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --auto-setup 5.6
but I received this error message
Quote[ERROR] main: An unexpected error occurred: An error occurred while executing the install MAKE(1) target for php-5.6.32: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
../configure: line 5408: test: too many arguments
configure: error: freetype-config not found.
make: *** [/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:370: configure-5.6-stamp] Error 1
same error message for 7.1
Quote[ERROR] main: An unexpected error occurred: An error occurred while executing the install MAKE(1) target for php-7.1.11: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
../configure: line 5352: test: too many arguments
configure: error: freetype-config not found.
make: *** [/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:370: configure-7.1-stamp] Error 1
but freetype fonts are installed
Quotedpkg -l|grep freetype
ii libfreetype6:amd64 2.9.1-3 amd64 FreeType 2 font engine, shared library files
ii libfreetype6-dev:amd64 2.9.1-3 amd64 FreeType 2 font engine, development files
Right now I don't know how to solve this issue. Do you have a hint for me? Merci !
BR
Mr.X