Hi,
I just installed the version 2.9.0 of PhpDocumentor via PEAR:
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor
When I tried to execute phpdoc on my PHP project, I received such error:
Warning: require_once(C:\server\htdocs\MyProject\vendor/dompdf/dompdf/dompdf_config.inc.php): failed to open stream: No such file or directory in C:\server\php\pear\phpDocumentor\src\phpDocumentor\Bootstrap.php on line 178
...
But... this bug was solved in version 2.8.4
https://github.com/phpDocumentor/phpDocumentor2/releases/tag/v2.8.4
"Removed DOMPDF"
So I compared the files in GitHub and PEAR
The src/phpDocumentor/Bootstrap.php are not the same on PEAR and GitHub:
Conclusion: the version 2.9.0 on PEAR is curently corrupted!
Please also note that the http://phpdoc.org is currently down (error HTTP 500).
The following issue is related but was badly closed: https://github.com/phpDocumentor/phpDocumentor2/issues/1859
Workaround to install with PEAR but using the archive on GitHub:
1) download https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor-2.9.0.tgz
2) launch PEAR from the command line with the downloaded package:
pear install phpDocumentor-2.9.0.tgz
(Thanks to the comment of miken32 on this issue: https://github.com/phpDocumentor/phpDocumentor2/issues/1764)
Most helpful comment
Workaround to install with PEAR but using the archive on GitHub:
1) download https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor-2.9.0.tgz
2) launch PEAR from the command line with the downloaded package:
pear install phpDocumentor-2.9.0.tgz
(Thanks to the comment of miken32 on this issue: https://github.com/phpDocumentor/phpDocumentor2/issues/1764)