Windows 10 Pro (18363.476)
ip: 192.168.10.10
memory: 2048
cpus: 4
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: 'C:\projects\portal'
to: /home/vagrant/code
sites:
-
map: portal.com
to: /home/vagrant/code/public
databases:
- pdw
name: portal
hostname: portal
Xdebug is enabled and running by default.
Xdebug is not enabled and not running for any PHP version. It seems like Xdebug is not installed. In commit https://github.com/laravel/settler/commit/eb8bbf0dfb51cdf022f9f5b9678631caba7894c6 I noticed that php-xdebug has been removed. Could this be by accident?
None
looking at that commit, it looks like the memcached, pear, imagick, and redis extensions were also removed from the 7.3 install.
looking at that commit, it looks like the memcached, pear, imagick, and redis extensions were also removed.
Well crap. I apparently didn't double-check the extensions/packages when I updated all the versions. Will be later tonight before I can kick off another round of box building.
No problem! Thanks for the effort :)
Verified resolved, here's what's in phpinfo() via 7.4 FPM:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
with Xdebug v2.8.0, Copyright (c) 2002-2019, by Derick Rethans
Box https://github.com/laravel/settler/releases/tag/v9.1.0 has been released for Virtualbox. Other providers are being uploaded as soon as they're built.
I just finished updating to 9.1.0, however, Xdebug is not enabled.
PHP 7.4.0 (cli) (built: Nov 28 2019 07:27:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
I just finished updating to 9.1.0, however, Xdebug is not enabled.
PHP 7.4.0 (cli) (built: Nov 28 2019 07:27:06) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
That's because Xdebug is not enabled for the CLI, only for FPM
I just finished updating to 9.1.0, however, Xdebug is not enabled.
PHP 7.4.0 (cli) (built: Nov 28 2019 07:27:06) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
You can enable it in the CLI by using the alias xphp :
xphp -v
should display xdebug correctly
I have upgraded homestead to v10.8.0 and xdebug is not available on php7.4 FPM. It is on php7.3
Any hint?
Vagrant: 2.2.7
Provider: Virtualbox 6.0.20
Homestead: 10.8.0
Box: 9.5.1
@ventoh vagrant destroy && vagrant up
I was sure i issued vagrant destroy command but i think i haven't confirmed the destroy. Re-issued again and it worked.. Sorry for this trivial request.
No worries! glad you got it sorted out