phpDocumentor - “Is phpdoc in either the path or include_path in your php.ini file?”

房东的猫 提交于 2019-12-07 00:08:39

Parsing configuration file phpDocumentor.ini... (found in C:\php\pear\data/PhpDocumentor/)... ERROR: cannot open phpDocumentor.ini in directory C:/xampp/php/pear/PhpDocumentor -Is phpdoc in either the path or include_path in your php.ini file?

Error is cause of phpdoc.bat settings. Simple solutions is copy folder C:/xampp/php/pear/PhpDocumentor to C:\php\pear\data\ place or you can set your path with in phpdoc.bat file. Check if you have no any phpDocumentor.ini file then create or download from internet.

The "found in C:\php\pear\data/PhpDocumentor" piece of the error makes me wonder if you have things installed in C:\php\ or in C:\xampp\php. Might the phpDocumentor.ini file be in C:\php\ instead of C:\xampp\php\ ?

As an aside, you probably don't need "C:\xampp\php\pear\phpDocumentor" in your $PATH... just its /bin subdirectory in order to have the "phpdoc" executable available to your command line prompt.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!