Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

XHGUI not working for PHP7.4 #1370

Closed
ChrisExP opened this issue Feb 21, 2020 · 2 comments
Closed

XHGUI not working for PHP7.4 #1370

ChrisExP opened this issue Feb 21, 2020 · 2 comments

Comments

@ChrisExP
Copy link

Versions

  • Vagrant: 2.2.6
  • Provider: 6.0.16
  • Homestead: 10.3.1

Host operating system

macOS Catalina v10.15.2

Homestead.yaml

---
ip: "192.168.10.10"
memory: 4096
cpus: 3
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Code/Websites
      to: /home/vagrant/code
      type: "nfs"

sites:
    - map: project.x
      to: /home/vagrant/code/projectx/public
      schedule: true
      xhgui: "true"

databases:
    - projectx

features:
    - minio: true

buckets:
    - name: public
      policy: public
    - name: documents
      policy: none

Vagrant destroy & up output

https://gist.github.com/nal-chris/15b56a8c8362e21d8d14fe5591acb64b

Expected behavior

The xhgui dashboard should appear when visiting http://project.x/xhgui

Actual behavior

A slim error appears.
Slim application error

Steps to reproduce

  1. Install homestead with xhgui set, using php7.4
  2. Visit the xhgui dashboard for the site
  3. See the error page

I have tried setting the php version in nginx to 7.3:

location /xhgui {
        try_files $uri $uri/ /xhgui/index.php?$args;
        fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}

That just yields a blank page.

@deviantintegral
Copy link
Contributor

There's an upstream report for this in xhgui at perftools/xhgui#278

You should probably use the homestead config to set the PHP version, as there's probably something that's been missed: https://laravel.com/docs/6.x/homestead#multiple-php-versions

@ChrisExP
Copy link
Author

I want to keep using PHP 7.4 for my site, but I was just trying to get XHGUI to run on PHP 7.3, but I guess I'll just have to wait for them to upgrade slim.
Thank you.

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

No branches or pull requests

3 participants