Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #7686 phpdoc not run in dos box
Submitted: 2006-05-21 10:39 UTC Modified: 2006-05-22 19:42 UTC
From: farell Assigned: cellog
Status: Closed Package: PhpDocumentor (version 1.3.0RC6)
PHP Version: 5.1.4 OS: windows xp
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-21 10:39 UTC] farell (Laurent Laville)
Description: ------------ Then i want to compare phpDocumentor results produces by Web interface and the CLI command, i found this problem. 1. open a dos box 2. cd to php5 directory where we can find the phpdoc.bat script for windows platform. 3. run it with -h parameter to get command help. 4. got the warning messages below. To fix this little problem, i suggest to add : * in the package script generator of phpDocumentor a task to replace %PEAR_DIR% by pear config php_dir * in phpdoc.bat, something like "%phpCli%" -d include_path="%PEAR_DIR%" Laurent Expected result: ---------------- E:\wamp\php>phpdoc -h PHP Version 5.1.4 phpDocumentor version 1.3.0RC6 Parsing configuration file phpDocumentor.ini... done using tokenizer Parser [etc ...] Actual result: -------------- E:\wamp\php>phpdoc -h Warning: include(PhpDocumentor/phpDocumentor/phpdoc.inc): failed to open stream: No such file or directory in E:\wamp\php\phpdoc on line 37 Warning: include(): Failed opening 'PhpDocumentor/phpDocumentor/phpdoc.inc' for inclusion (include_path='.;C:\php5\pear') in E:\wamp\php\phpdoc on line 37

Comments

 [2006-05-22 19:42 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.