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

PHP 8.1 update [info] #6894

Closed
14 of 17 tasks
joanhey opened this issue Nov 10, 2021 · 5 comments
Closed
14 of 17 tasks

PHP 8.1 update [info] #6894

joanhey opened this issue Nov 10, 2021 · 5 comments

Comments

@joanhey
Copy link
Contributor

joanhey commented Nov 10, 2021

PHP 8.1

As the ppa:ondrej/php include now php8.1-rc5, I'm starting to test the frameworks for the benchmark.
PHP 8.1 final will be released 25th of this month.
https://www.php.net/releases/8.1/en.php

If you want to view the php8.0 update info, check #6184, that is closed now.

This list will be updated as we found problems or solutions.

Opened #7703 for php8.2

Need to fix

Bugs

  • preg_match() and preg_match_all() fail with: Compilation failed: unrecognised compile-time option bit(s) at offset 0. Possibly by did't update PCRE lib.
    Fixed using apt upgrade or include php8.1-dev.

Need to update

New PHP platforms/servers

@joanhey
Copy link
Contributor Author

joanhey commented Dec 17, 2021

Synfony fail in the last runs, with dependencies problem.
https://tfb-status.techempower.com/unzip/results.2021-12-14-11-27-15-274.zip/results/20211209201759/symfony/build/symfony.log

@jderusse @kaznovac @raziel057 ...

Could anyone fix it ?
And perhaps update to php 8.1 too.
Thanks

@kaznovac
Copy link
Contributor

@joanhey for the symfony tests the log suggests that there is a problem with dependencies. offending deps are introduced in the e6b61ea maybe @jcheron can provide more insight (or just drop those two lines from the dockerfile and retest, the referred bug doctrine/dbal#4603 is closed now)

also symofny should be updated to 5.4 lts (or maybe 6.0 - or even better test both lts and latest release), and entities should be refactored to reflect 'real-world' practices (use getters/setters)

sorry I don't have a free slot to address this in the next month or so...

@joanhey
Copy link
Contributor Author

joanhey commented Nov 11, 2022

@kaznovac
Check Symfony 700% faster using Workerman.

https://github.com/joanhey/AdapterMan

@joanhey joanhey mentioned this issue Nov 15, 2022
2 tasks
@kaznovac
Copy link
Contributor

Amazing work @joanhey! Love the simplicity of the AdapterMan :)

Took a glance at your recipes - Symfony is moving towards https://github.com/symfony/runtime to 'abstract the php runtime' (on quite kludgy and hacky way... but in their defense they acknowledge this in https://github.com/php-runtime/runtime) away from the explicit application bootstrapping and Request handling.

I, personally, find symfony/runtime too messy to be worth debugging in the runtime (no pun intended), but I'd still suggest you to by providing the AdapterMan as implementation for the symfony/runtime you could get the better visibility for your project and yourself.

Best,
k

@joanhey
Copy link
Contributor Author

joanhey commented Nov 29, 2023

Check #8579

@joanhey joanhey closed this as completed Nov 29, 2023
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

2 participants