Which version you are using of the phpswitcher?
Posts by TheCry
-
-
5.0.0? There is a new version 5.0.1.
-
TheCry Maybe you could take care of the german translation with a PR?
Next week Laurent. I'm busy at home.
What is PR?
-
I'm still free, I hope the release comes when I'm not working.
If you drive home Nuxwin will delete the new release...
-
Sorry for the delay... I'm still working on the new version, refreshing all patches and performing required tests. I covered you use case for PHP 5.6.40
Good morning Laurent. Yes i'm using 5.6.40. The other php 7 versions are 7.2.21, 7.3.8
-
I'm using Debian 9 on my systems...
That will be great if you provide this patches today.
Thanks Laurent
-
I think there is another problem.
On my systems isn't possible anymore to install the extenion "imagick" fpr php 5.6, php7.2, and php7.3
I got everytime this error
Code- /opt/phpswitcher/20190822/php5.6/bin/phpize: 154: cd: can't cd to /opt/phpswitcher/20190822/php5.6/share/aclocal
- cat: libtool.m4: No such file or directory
- configure.in:7: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd
- aclocal.m4:2660: PHP_CONFIG_NICE is expanded from...
- configure.in:7: the top level
- configure.in:142: error: possibly undefined macro: AC_PROG_LIBTOOL
- If this token and others are legitimate, please use m4_pattern_allow.
- See the Autoconf documentation.
- configure:2065: error: possibly undefined macro: LT_AC_PROG_SED
- ERROR: `phpize' failed
- /opt/phpswitcher/20190822/php7.2/bin/phpize: 150: cd: can't cd to /opt/phpswitcher/20190822/php7.2/share/aclocal
- cat: libtool.m4: No such file or directory
- cat: ltoptions.m4: No such file or directory
- cat: ltsugar.m4: No such file or directory
- cat: ltversion.m4: No such file or directory
- cat: lt~obsolete.m4: No such file or directory
- configure.ac:7: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd
- aclocal.m4:2711: PHP_CONFIG_NICE is expanded from...
- configure.ac:7: the top level
- configure.ac:142: error: possibly undefined macro: AC_PROG_LIBTOOL
- If this token and others are legitimate, please use m4_pattern_allow.
- See the Autoconf documentation.
- configure:2065: error: possibly undefined macro: LT_AC_PROG_SED
- ERROR: `phpize' failed
- /opt/phpswitcher/20190822/php7.3/bin/phpize: 150: cd: can't cd to /opt/phpswitcher/20190822/php7.3/share/aclocal
- cat: libtool.m4: No such file or directory
- cat: ltoptions.m4: No such file or directory
- cat: ltsugar.m4: No such file or directory
- cat: ltversion.m4: No such file or directory
- cat: lt~obsolete.m4: No such file or directory
- configure.ac:7: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd
- aclocal.m4:2689: PHP_CONFIG_NICE is expanded from...
- configure.ac:7: the top level
- configure.ac:142: error: possibly undefined macro: AC_PROG_LIBTOOL
- If this token and others are legitimate, please use m4_pattern_allow.
- See the Autoconf documentation.
- configure:2065: error: possibly undefined macro: LT_AC_PROG_SED
- ERROR: `phpize' failed
Something is not correct with compiling.
-
Ok.. I got everything working
The changes above are top! Here my end config
The "-" was missing in front of "["
-
Good morning
The tut is fine and seams partitial working for me.
If i try to compile php7.3 i got this error
Code- Hunk #1 FAILED at 41.
- 1 out of 1 hunk FAILED -- rejects in file ext/pcre/tests/match_flags3.phpt
- Patch 0038-php-5.6.0-oldpcre.patch does not apply (enforce with -f)
- /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:288: recipe for target 'patch-stamp' failed
- [ERROR] main: An unexpected error occurred: An error occurred while executing the install MAKE(1) target for php-7.3.3: make: *** [patch-stamp] Error 1
A patch php 5.6.0? I'm a little bit confused. Wheer can i get the hole patch files from the internet?
Sascha
Edit: The first problem is fixed. I'd added the correct verion "7.3.8" in the array. But now i got this error
Code- -f ext/ext_skel ] && mv ext/ext_skel ext/ext_skel.in
- /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile:302: recipe for target 'prepared-stamp' failed
- [ERROR] main: An unexpected error occurred: An error occurred while executing the install MAKE(1) target for php-7.3.8: make: *** [prepared-stamp] Error 1
I'd changed the block "prepared: prepared-stamp" like you described. But this is the same block like in the script before. Can you check your fix again?
-
This is the latest release of Debian 9: https://cdimage.debian.org/cdimage/archive/9.9.0/