I installed pear and found that I have the Structures_Graph
directory inside pear directory -
/home/ec2-user/pear/tests
But, I cannot find the Structures/Graph.php
and Structures/Graph/Node.php
as mentioned in https://pear.php.net/package/Structures_Graph/docs/latest/li_Structures_Graph.html
I was following this article http://www.codediesel.com/algorithms/building-a-graph-data-structure-in-php/, following which installation of Structures_Graph has to be done with this -
pear install Structures_Graph
I get -
pear/Structures_Graph is already installed and is the same as the released version 1.1.1
install failed