2016-08-20 1 views
0
AmazonでLinux上

をPHP梨のStructures_Graphをインストールした後、私は、「構造/ Graph.php」を見つけることができませんでした梨をインストールし、私は梨ディレクトリ内Structures_Graphディレクトリを持っていることがわかった -

/home/ec2-user/pear/tests 

しかし、私は見つけることができません

-

https://pear.php.net/package/Structures_Graph/docs/latest/li_Structures_Graph.htmlで述べたようにStructures/Graph.phpStructures/Graph/Node.php私はStructures_Graphのインストールはこれで行う必要があり、この記事http://www.codediesel.com/algorithms/building-a-graph-data-structure-in-php/、次のように従っていました

私が取得 -

pear/Structures_Graph is already installed and is the same as the released version 1.1.1 
install failed 

答えて

0

私は/home/ec2-user/pear/testsはPEARのディレクトリであることを疑います。あなたはおそらく、システム全体の梨のインストールを持っています。

$ pear config-get php_dir 
とその場所を取得