php / php/pie

PHP 8.5 showing different results with CLI than phpinfo()

Open
#467 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs reporter feedback
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.