Re: checking functionality of PEAR

From: Date: Thu, 05 Jun 2008 16:40:42 +0000
Subject: Re: checking functionality of PEAR
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28975@lists.php.net to get a copy of this message
Chuck Burgess wrote:
On Wed, Jun 4, 2008 at 5:35 PM, Tyson Vanover <tvanover@pdx.edu> wrote:
I am having problems getting PHPDocumenter to work, and I think it may be a configuration issue with pear or php. My machine is a r-path lamp VM, so I didn't build or configure it. I have tried following the instructions at http://pear.php.net/package/PhpDocumentor But I have had no luck. I get http://smg.photobucket.com/albums/v133/wyrmul/?action=view&current=phpdoc.jpgwhen I try to open the page. What sort of configuration, structure, etc. do I need to make this work?
Judging from the title on that webpage, "phpDocumentor vPHPDOCUMENTOR_VER Web Interface", it does *not* appear that you installed it using the PEAR installer. A PEAR-based installation of phpDocumentor would have performed a text replacement of PHPDOCUMENTOR_VER to the current version number, e.g. "phpDocumentor v1.4.2 Web Interface". I'd recommend performing a PEAR-managed installation via *pear install phpdocumentor* to see if the configuration gets set properly.
I have run pear uninstall PhpDocumentor and deleted everything in my /srv/www/html directory that involves phpdocumentor. I run: $ pear channel-update pear.php.net It returns that pear.php.net is up to date Followed by:$ pear config-set data_dir /srv/www/html Which returns that is succeded. Then $ pear install PhpDocumentor which returns: Did not download optional dependencies: pear/XML_Beautifier, use --alldeps to download automatically pear/PhpDocumentor can optionally use package "pear/XML_Beautifier" (version >= 1.1) downloading PhpDocumentor-1.4.2.tgz ... Starting to download PhpDocumentor-1.4.2.tgz (2,421,028 bytes) .............................................................................................................................................................................................................................................................................................................................................................................................................................done: 2,421,028 bytes install ok: channel://pear.php.net/PhpDocumentor-1.4.2 Then I browse to http://hostname/pear/PhpDocumentor and I get the page http://smg.photobucket.com/albums/v133/wyrmul/?action=view&current=phpdoc.jpgwhen

« previous php.pear.general (#28975) next »