[php-src] PHP-8.3: Persist the `pear/install-pear-nozlib.phar` file
| From: | Daniel Scherzer | Date: | Mon, 02 Nov 2026 23:26:53 +0000 |
| Subject: | [php-src] PHP-8.3: Persist the `pear/install-pear-nozlib.phar` file | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143248@lists.php.net to get a copy of this message | ||
Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-11-02T14:13:58-08:00
Commit: https://github.com/php/php-src/commit/a082f1211aa417096372dbca4b8d207308563e18
Raw diff: https://github.com/php/php-src/commit/a082f1211aa417096372dbca4b8d207308563e18.diff
Persist the
pear/install-pear-nozlib.phar file
Rather than downloading it as part of the makedist script, add the script to
the project's version control. The installation instructions are updated to
indicate that the needed phar script is always present, and the only thing
needed is to become the superuser and run make install-pear.
The phar is currently marked as binary in the git attributes since it is not
entirely text, it is committed as-is from the pear server and can be cleaned up
in future commits.
This also fixes the installation process when previously the installation would
try to fallback to the fetch.php helper - it seems that the https stream
wrapper is not included in PHP by default. Now that the phar is committed to
version control, the fetch.php helper script is no longer needed. After this
patch, ./configure --with-pear --enable-xml allows installing pear with
make without additional manual actions.
Changed paths:
A pear/install-pear-nozlib.phar
D pear/fetch.php
M .gitattributes
M .gitignore
M pear/Makefile.frag
M pear/install-pear.txt
M scripts/dev/makedist
Diff exceeded maximum size.