문제

I'm trying to install PEAR on my newly installed EasyPHP 13.1. Basically, I'm following the steps described here: How to install PEAR with EasyPHP 5.3.8?

The problem is that when I run command "php go-pear.phar" (as administrator), I get the following error message: Could not open input file: go-pear.phar

I even tried to download and run the non-phared file from http://pear.php.net/go-pear, but I got the same result.

도움이 되었습니까?

해결책 2

So it turned out that before running command "php go-pear.phar", the current working directory must be set to the directory which contains go-pear.phar (with command cd).

다른 팁

Does the go-pear.phar file exist in the directory your are currently in and are executing php right now?

Learn about the "current working directory" of a shell.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top