Re: Re: PhpDocumentor installation fails
| From: | Greg Beaver | Date: | Thu, 25 Sep 2003 04:01:44 +0000 |
| Subject: | Re: Re: PhpDocumentor installation fails | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8031@lists.php.net to get a copy of this message | ||
Hi,
This is most likely because your include_path doesn't have /usr/local/lib/php in it.
Regards,
Greg
Jason wrote:
Greg,You are correct, originally the include path in/usr/local/bin/phpdoc didn't have the leading / "my typo" Although when typing phpdoc -h into the command line nothing happened, then I changed it to include("/usr/local/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc"); And I get the phpdoc help commands Jason ----- Original Message ----- From: "Greg Beaver" <greg@chiaraquartet.net> To: "Jason" <okitek@kda.attmil.ne.jp> Cc: <pear-general@lists.php.net> Sent: Thursday, September 25, 2003 12:23 PM Subject: Re: [PEAR] Re: PhpDocumentor installation failsJason: I'm confused - shouldn't this be: include "PhpDocumentor/phpDocumentor/phpdoc.inc"; as set by pear installer? (No leading /). By the way, if something doesn't work and you have to manually set it, that is a bug. Greg Jason wrote:Pear, To run phpdoc on the command line on FreeBSD, Edit /usr/local/bin/phpdoc and add the path /usr/local/lib/php/ to this include, include("/PhpDocumentor/phpDocumentor/phpdoc.inc"); Jason ----- Original Message ----- From: "Jason" <okitek@kda.attmil.ne.jp> To: <pear-general@lists.php.net> Sent: Thursday, September 25, 2003 9:53 AM Subject: Re: [PEAR] Re: PhpDocumentor installation fails-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpGreg - Pear, The index.html file is the one I could never find, because, The install places the webfiles in a different directory than the .inc files. They are located in /usr/local/lib/php/data/PhpDocumentor/ I linked this directory to the webserver and its running like butter. Thanks again Jason ----- Original Message ----- From: "Greg Beaver" <greg@chiaraquartet.net> To: <m.wallner@iworks.at> Cc: <pear-general@lists.php.net>; <okitek@kda.attmil.ne.jp> Sent: Wednesday, September 24, 2003 10:16 PM Subject: Re: [PEAR] Re: PhpDocumentor installation failsHi, Actually, there is a MUCH easier way: browse to http://localhost/PhpDocumentor/index.html This will initiate the web interface :). The web interface has many options, you'll know you're at it if you see pretty colors and stuff. Setup.inc.php is simply one of the main files. Greg Michael Wallner wrote:-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jason, you wrote:-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phphttp://localhost/PhpDocumentor/phpDocumentor/Setup.inc.phpYou should create a directory in you document root ie. phpdoc/ and then create an index.php with the following content: require_once("PhpDocumentor/phpdoc.php"); That's it :) HTH, Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Cygwin) iD8DBQE/cVAQ3645gzRPvy8RAqTQAJ9g5kACmmBdjjcpqeFK3CYCoLEjMgCfSLBC bt02vFamj0H8RCBK9ja1RGI= =DvB6 -----END PGP SIGNATURE-----