-
Notifications
You must be signed in to change notification settings - Fork 343
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
PHP 8.1 Support #434
Comments
Do the xhprof extensions support PHP8.1 yet? They have historically lagged behind new PHP for a few months. |
depends on 7.4 support first. see pinned issue: |
also, to profile an application, you don't need to run xhprof with latest and greatest, use provided docker image and you'll be fine. what you need is the collector to be compatible: |
Is anyone willing to update README.md, so people don't install xhgui with their application but use the profiler library? The docs are there, apparently nobody reads that bottom of the page: |
I would like to understand. Where is the advantage of running xhgui on a separate machine? For me and my very personal workflow it is easier to have it in the same docker container because I'm dealing with many containers. |
container, not the machine. but nevertheless, it's isolation and able to use docker image that this project provides. that is a tested combination that can be supported. the basic principle of containerization is isolation, not putting everything into single container. pet vs cattle based deployment. if you put everything in one place it's not much different from the pet deployment. and maintaining such pet deployment also difficult as updating one component could break the other component, which is why you are even here, wanting newer php runtime support. the project provided docker image running with 7.3 you need nothing else, just start the container. the collector is written on purpose with minimal dependencies to be most portable. |
From this point of view I agree with you totally. My target is not the cloud. We want to provide one single image containing all tools external developers need to develop. We don't use xhgui or any collector in production. And, why I am here, PHP7.3 reached end of life in december and we must upgrade. |
But back to the issue, does 0.20.x branch work for PHP 8.0 and 8.1? can this be closed once I cut the release? |
Tomorrow I will deploy 0.20 in our containers for testing. OT: Is is easily possible to upgrade PHPUnit? |
And speaking of developer experience, you can provide example docker-compose config where MySQL, MongoDB, xhgui, whatever are provided as containers. the project provided docker compose does already that a xhgui container and using official MongoDB container. |
AT: GUI runs here with PHP8 and PHP8.1 |
(next time) accompany your claims with errors! (read: show the error!) to avoid such long feedback loops: newer PHPUnit fails and I can't figure out how to resolve this one: |
Sorry, you are to fast for me. |
Since you (still) didn't show the error, I have no opinion, but the error I pointed to is still there unresolved. neither have you given any versions you tested with. |
#457 is merged. should 8.1 be added to readme now as known to work? |
Just for completeness the error:
Test running using PHPUnit 6.5 on PHP8.0. |
phpunit 6.5 no longer supported. phpunit 8.5 is used by the project now |
since nobody took action, here's my pr: |
Are there any news about PHP 8.1 support?
The text was updated successfully, but these errors were encountered: