-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pear output hundreds of deprecation message about E_STRICT with PHP 8.4.1_1 #148
Comments
Looks to be fixed by #144 |
Thanks @dmertl |
I am using version 1.10.16, and there is no fix for this issue. |
A dirty way I got around this is by setting the hope this helps less /usr/local/bin/pecl # launch script details
PHP_PEAR_PHP_BIN="php -d error_reporting=0" pear install xdebug |
I've updated the php code directly, but @JimTools 's solution is less dirty :D |
I'm trying to upgrade to 1.10.16 but apt-get gives me 1.10.12 as the latest version |
I think this is an issue with brew, I tried running curl -L -O https://pear.php.net/go-pear
sudo php go-pear.phar # needs root to pickup correct install paths
sudo chown -R $USER:admin /usr/local/Cellar/php/8.4.1_1/ # resets permissions back to your user
pear upgrade --force PEAR to validate it's actually worked. pear version
# PEAR Version: 1.10.16
# PHP Version: 8.4.1
# Zend Engine Version: 4.4.1
# Running on: Darwin... |
Hi,
I've updated PHP from 8.3 to 8.4.1 (a bit accidentally via homebrew on Mac intel), and I had to reinstall some extensions.
with this new version of PHP, I get hundreds of lines of Deprecation messages while using PECL (which uses PEAR).
Some worth reading messages are lost in the middle of this with some other commands that the uninstall one below.
It makes the PECL commands output hard to read.
I've updated the code on my machine to get rid of it, see https://stackoverflow.com/questions/79263415/php-8-4-1-constant-e-strict-is-deprecated-in-pearcmd-php-on-line-441
The text was updated successfully, but these errors were encountered: