Closed NickdeK closed 5 years ago
With the master branch I had the exact opposite. By default it did PHP 7, but I needed 5.6.
Had dit nu net ook. Ondanks dat ik php_version 7.2 in m'n config.rb had.
mywos: libtool: link: ( cd ".libs" && rm -f "xdebug.la" && ln -s "../xdebug.la" "xdebug.la" )
mywos: /bin/bash /tmp/xdebug-2.6.0alpha1/libtool --mode=install cp ./xdebug.la /tmp/xdebug-2.6.0alpha1/modules
mywos: libtool: install: cp ./.libs/xdebug.so /tmp/xdebug-2.6.0alpha1/modules/xdebug.so
mywos: libtool: install: cp ./.libs/xdebug.lai /tmp/xdebug-2.6.0alpha1/modules/xdebug.la
mywos: libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /tmp/xdebug-2.6.0alpha1/modules
mywos: ----------------------------------------------------------------------
mywos: Libraries have been installed in:
mywos: /tmp/xdebug-2.6.0alpha1/modules
mywos:
mywos: If you ever happen to want to link against installed libraries
mywos: in a given directory, LIBDIR, you must either use libtool, and
mywos: specify the full pathname of the library, or use the '-LLIBDIR'
mywos: flag during linking and do at least one of the following:
mywos: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
mywos: during execution
mywos: - add LIBDIR to the 'LD_RUN_PATH' environment variable
mywos: during linking
mywos: - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
mywos: - have your system administrator add LIBDIR to '/etc/ld.so.conf'
mywos:
mywos: See any operating system documentation about shared libraries for
mywos: more information, such as the ld(1) and ld.so(8) manual pages.
mywos: ----------------------------------------------------------------------
mywos: Build complete.
mywos: Don't forget to run 'make test'.
mywos: Job for php7.2-fpm.service failed because the control process exited with error code. See "systemctl status php7.2-fpm.service" and "journalctl -xe" for details.
mywos: sh: 0: getcwd() failed: No such file or directory
==> mywos: Running provisioner: shell...
mywos: Running: /var/folders/sc/lqtqpmlj0jd_kwpll9ddn6qh0000gn/T/vagrant-shell20190719-27037-16qjlhh.sh
mywos: 🔥 Ensuring php errors are shown in the browser
mywos: touch: cannot touch '/etc/php/5.6/fpm-xdebug/conf.d/30-show-errors.ini': No such file or directory
mywos: /tmp/vagrant-shell: line 13: /etc/php/5.6/fpm-xdebug/conf.d/30-show-errors.ini: No such file or directory
mywos: Failed to restart php5.6-fpm-xdebug.service: Unit php5.6-fpm-xdebug.service not found.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Nee wacht, dit gaat denk ik fout omdat mijn xdebug changes niet getest zijn met 5.6. Ga ik oplossen. (weet niet of ondersteuning voor 5.6 nog zinnig is uberhaupt?)
Er zijn helaas nog steeds magento installaties die 5.6 draaien :(
😢
Maar is wel te fixen denk ik
Voor nu als workaround als je wel php 7.x gebruikt kan je nogmaals vagrant provision
draaien, en daarna vagrant halt
& vagrant up
(laatste lijkt nodig voor mutagen sync om te starten)
Installed Paracord box with mutagen branch (not sure if related) and tried to
composer install
in the box which resulted in errors because PHP 5.6 was installed and in use instead of PHP 7.*.