Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Xdebug not enabled for PHP 5.6 #1974

Open
ChrisTaylorDeveloper opened this issue May 7, 2024 · 1 comment
Open

Xdebug not enabled for PHP 5.6 #1974

ChrisTaylorDeveloper opened this issue May 7, 2024 · 1 comment

Comments

@ChrisTaylorDeveloper
Copy link

Versions

  • Vagrant: 2.4.1
  • Provider: Virtualbox 7.0
  • Homestead: On commit 9db11b4

Host operating system

Ubuntu 22.04.4 LTS

Homestead.yaml

---
ip: "192.168.56.56"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
  - ~/.ssh/id_rsa

folders:
  - map: ~/xdebug-test
    to: /home/vagrant/xdebug-test

sites:
  - map: xdebug-test.test
    to: /home/vagrant/xdebug-test/public
    php: "5.6"

databases:
  - homestead

features:
  - mariadb: false
  - postgresql: false
  - ohmyzsh: false
  - webdriver: false

services:
  - enabled:
      - "mysql"

Vagrant destroy & up output

https://gist.github.com/ChrisTaylorDeveloper/46f178d0af7349d481c2a53ca8c8a4d3

Expected behavior

xdebug for php5.6 should be enabled.

Actual behavior

xdebug for php5.6 is not enabled. If I run ls /etc/php/5.6/fpm/conf.d/ the xdebug.ini is not in the list of enabled modules.

Steps to reproduce

  1. vagrant up using my Homestead.yml
  2. Run ls /etc/php/5.6/fpm/conf.d/
  3. Look for the xdebug.ini
@svpernova09
Copy link
Contributor

Because the configuration changes over time, I believe the only out-of-the-box valid Xdebug configuration will be for the current version of PHP.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants