Ich bin bereit, phpunit 5.3 mit MAMP 1.9 zu installieren und muss daher PEAR auf Version 1.9.1 aktualisieren. Die aktuell installierte Version ist 1.9.0.
Wenn ich das Upgrade versuche, erhalte ich Folgendes:
sudo pear channel-update pear.php.net
sudo pear upgrade pear
Could not get contents of package "/Applications/MAMP/bin/php5.3/bin/pear". Invalid tgz file.
upgrade failed
Wenn ich das Upgrade erzwinge Es funktioniert immer noch nicht:
sudo pear upgrade --force PEAR
downloading PEAR-1.9.1.tgz ...
Starting to download PEAR-1.9.1.tgz (293,587 bytes)
.............................................................done: 293,587 bytes
upgrade ok: channel://pear.php.net/PEAR-1.9.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
sudo pear -V
PEAR Version: 1.9.0
Wie bindbn vorgeschlagen hat:
sudo pear install --offline /Users/tom/Downloads/PEAR-1.9.1.tgz
Ignoring installed package pear/PEAR
Nothing to install
sudo pear upgrade --force --alldeps PEAR
downloading PEAR-1.9.1.tgz ...
Starting to download PEAR-1.9.1.tgz (293,587 bytes)
.............................................................done: 293,587 bytes
upgrade ok: channel://pear.php.net/PEAR-1.9.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
pear -V
PEAR Version: 1.9.0
Ich hoffe jemand kann das herausfinden! Vielen Dank!