FrankenPHP compiled against shared libphp.so reports version at compile time, not loaded version.
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 11.3k
- Forks
- 488
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 11
Description
What happened?
2025/05/23 02:11:15.188 INFO frankenphp FrankenPHP started 🐘 {"php_version": "8.4.6", "num_threads": 48, "max_threads": 48}
But libphp.so was updated to 8.4.7. FrankenPHP reports the version it was compiled against, not the one that is actually being loaded.
Build Type
Custom (tell us more in the description)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
irrelevant
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the custom GNU/Linux build that loads a newer shared libphp.so, then trace how the startup log obtains its php_version value. Done means FrankenPHP reports the version of the loaded library rather than the version used during compilation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100