PHP 8.5 showing different results with CLI than phpinfo()
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2k
- Forks
- 73
- Avg merge
- 3h 37m
- Merged PRs (30d)
- 11
Description
Hi guys,
I have a Windows running Apache 2.4 from Apachelounge and PHP from windows.php.net, I have 2 PECL extensions loading, when I run php -m I see them, but when I go to a web browser and browse my phpinfo() page, I don't see any of the PECL extensions, both CLI and Apache Module are using the same php.ini, this was working fine with previous versions of PHP, until version 8.5, would you please check what's going on?
Thanks.
If you need to know what are the PECL extensions, they are SSH2 and Uploadprogress
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
Reproduce on Windows with Apache 2.4 and PHP 8.5, using the same php.ini for CLI and Apache. Compare php -m with the browser's phpinfo() output while loading SSH2 and Uploadprogress; done when the discrepancy is explained and the extensions behave consistently in both contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100