phpdocumentor doesn't work
Posted: 14. May 2009 02:58
PhpDocumentor(phpdoc.bat) falis with an error below.
I looked into the problem and I found wrong path "C:\php5\pear\data" exists on files below. It must be replaced with "xampp\php\data".
And defenition below might be added in xampp\install\xamppbasic.inc.
Furthermore phpDocumentor.ini is missing. The file should be included as php\data\PhpDocumentor\phpDocumentor.ini.
Parsing configuration file phpDocumentor.ini...
(found in C:\php5\pear\data/PhpDocumentor/)...
ERROR: cannot open phpDocumentor.ini in directory D:/xampp/php/PEAR/PhpDocumentor
I looked into the problem and I found wrong path "C:\php5\pear\data" exists on files below. It must be replaced with "xampp\php\data".
- php\procwatch-lint
php\PEAR\Console\CommandLine\XmlParser.php
php\PEAR\docs\examples\example.php
php\PEAR\phing\Phing.php
php\PEAR\PHP\CompatInfo\Renderer\Html.php
php\PEAR\PhpDocumentor\phpDocumentor\Converter.inc
php\PEAR\PhpDocumentor\phpDocumentor\Setup.inc.php
And defenition below might be added in xampp\install\xamppbasic.inc.
- Code: Select all
$backslashrootreal[] = "$partwampp\php\\procwatch-lint
$backslashrootreal[] = "$partwampp\php\PEAR\phing\\Phing.php
$backslashrootreal[] = "$partwampp\php\PEAR\PHP\CompatInfo\Renderer\\Html.php
Furthermore phpDocumentor.ini is missing. The file should be included as php\data\PhpDocumentor\phpDocumentor.ini.