コマンドラインでPEARをインストールしようとしているのですが、上手くできません。下記を試しました。
wget http://pear.php.net/go-pear.phar php go-pear.phar
それと、suhosin.iniのsuhosin.executor.include.whitelist = phar の有効化も試しましたが、syslog に下記のようなエラーが表示されます。
ALERT - script tried to disable memory_limit by setting it to a negative value -1 bytes
which is not allowed (attacker 'REMOTE_ADDR not set', file '/go-pear.phar', line 1128)
ALERT - Include filename ('phar://go-pear.phar/index.php') is an URL that is not
allowed (attacker 'REMOTE_ADDR not set', file '/go-pear.phar', line 1236)
php.iniでsuhosinを無効にすることで、エラーが解消するかもしれないということはわかったのですが、php.iniのファイルでsuhosinのエントリを探すことができません。
どなたか手を貸していただけないでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。