[pear/pear-core] 0af5d9: Remove -n option from pecl.bat for shared extensions

[email protected] ("Chuck Burgess via pear-cvs") Sat, 25 Nov 2023 06:15:11 -0800
Newsgroups php.pear.cvs
Message-ID <pear/pear-core/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pear/pear-core
  Commit: 0af5d91b5f0a4223042abd81131cbb19a97fe838
      https://github.com/pear/pear-core/commit/0af5d91b5f0a4223042abd81131cbb19a97fe838
  Author: Kevin Locke <[email protected]>
  Date:   2023-04-09 (Sun, 09 Apr 2023)

  Changed paths:
    M scripts/pecl.bat

  Log Message:
  -----------
  Remove -n option from pecl.bat for shared extensions

As described in f94454a74785865cec50bf9d64c410efc29b587a

> When PHP is using shared extensions:
>
> ./configure --with-openssl=shared --enable-xml=shared
>
> The -n option in PHP command line (in the PECL shell script) removes them
> from being enabled and PECL script won't work ok anymore. This goes mainly
> for the xml and openssl PHP extensions which are needed to install PECL
> extensions via the https protocol and to parse XML files.

Unfortunately, the fix was only applied to pecl.sh, so the issue
described in https://bugs.php.net/bug.php?id=77522 still occurs on
Windows when built with shared extensions.

Apply the same fix to pecl.bat to avoid the issue on Windows.

Signed-off-by: Kevin Locke <[email protected]>


  Commit: 8b93da242a0b98d1b30ddcc2da698275cfe498ca
      https://github.com/pear/pear-core/commit/8b93da242a0b98d1b30ddcc2da698275cfe498ca
  Author: Chuck Burgess <[email protected]>
  Date:   2023-11-25 (Sat, 25 Nov 2023)

  Changed paths:
    M scripts/pecl.bat

  Log Message:
  -----------
  Merge pull request #126 from kevinoid/pecl-remove-n

Remove -n option from pecl.bat for shared extensions


Compare: https://github.com/pear/pear-core/compare/ea7ce8018922...8b93da242a0b