1月 132011
 

【症状】
go-pear.batでPEARインストール時に以下のようなエラーが出て、インストールできない!
phar “C:\php\PEAR\go-pear.phar”
does not have a signaturePHP Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: phar error: invalid u
rl or non-existent phar “phar://go-pear.phar/index.php” in C:\php\PEAR\go-pear.phar on line 1236
【解決方法】
PHPディレクトリの中にあるgo-pear.batを開き、以下のように書き換える。
%PHP_BIN% -d output_buffering=0 PEAR\go-pear.phar

%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar

よく読まれている記事

この記事を読んだ人は次の記事も読んでいます:

このエントリーをはてなブックマークに追加
はてなブックマーク - php5.3 pearインストールできない 
[`google_buzz` not found]
[`yahoo` not found]
[`livedoor` not found]
[`friendfeed` not found]
[`tweetmeme` not found]
[`grow` not found]
[`evernote` not found]

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)