PHPDocumentor problem

From: Date: Wed, 30 Jul 2003 22:36:12 +0000
Subject: PHPDocumentor problem
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18983@lists.php.net to get a copy of this message
Howdy, I am trying to run phpdoc on a box w/ php documentor installed, and am getting a lot of errors because phpdoc wants to write/touch files in /usr/local/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib//templates_c/ Here are some of the errors. PHP Warning: touch(): Unable to create file /usr/local/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib//templates_c/docblock.tpl because Permission denied in /usr/local/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.5.0/libs/Smarty.class.php on line 1516 PHP Warning: _smarty_include(/usr/local/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib//templates_c/docblock.tpl): failed to open stream: No such file or directory in /usr/local/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.5.0/libs/Smarty.class.php on line 1713 PHP Warning: _smarty_include(): Failed opening '/usr/local/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib//templates_c/docblock.tpl' for inclusion (include_path='/usr/local/lib/php/PhpDocumentor:.:/www/lib:/usr/local/lib/php:/www/htdocs/datemeister.sh.nu/lib:/www/htdocs/datemeister.sh.nu/lib/phplib') in /usr/local/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.5.0/libs/Smarty.class.php on line 1713 PHP Warning: Smarty error: problem writing temporary file '/usr/local/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib//templates_c/3f28479555748' in /usr/local/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.5.0/libs/Smarty.class.php on line 1051 IMHO this tool should not try and write/touch files in the pear installed dir, because this prevents anyone other then someone w/ write privs to the pear install dir to even run phpdoc....as I am seeing in this case. Here is my command line for running phpdoc #!/bin/bash cd ..; BASEDIR=pwd; export BASEDIR; cd doc; /usr/local/bin/PhpDocumentor/phpdoc -o HTML:default:phphtmllib \ -j \ -q \ -t $BASEDIR/doc \ -d $BASEDIR -dn phpHtmlLib \ -ti phpHtmlLib \ -i includes.inc,test*,localinc.php,thumbnail.php,bluetheme.php,redtheme.php,defaulttheme.php,css.php Walt

« previous php.pear.dev (#18983) next »