忍者ブログ
出来損ないのカメレオン

CentOS
up2date -i php-pear

pear
pear remote-list xxx
pear remote-info xxx
pear list xxx

古いバージョンのPEAR (< 1.3.6) がインストールされている場合は、 
最新の PEAR をインストールする必要があります。

$ pear upgrade -a PEAR-1.3.6
$ pear upgrade -a PEAR

PEAR のバージョンが 1.4.0 未満の時のエラー
"No handlers for package.xml version 2.0" 

PHP-PEARをインストール
Archive_Tarをアップグレード
Structures_Graphをインストール

PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted
 (tried to allocate 23040 bytes)
 in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1558
Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

PHP Fatal error: Allowed memory size of 8388608 bytes exhaustedというエラーメッセージ。
php.iniのmemory_limitが原因。この値をあげた後、apacheを再起動。

変更後
max_execution_time = 60
memory_limit = 12M

おまけ

<?PHP
phpinfo();
?>

PR
ブログ内検索
Counter


カレンダー
02 2025/03 04
S M T W T F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
忍者ブログ [PR]