Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php ApiGen模板config.config';不存在-Ubuntu_Php_Ubuntu_Netbeans_Pear_Apigen - Fatal编程技术网

Php ApiGen模板config.config';不存在-Ubuntu

Php ApiGen模板config.config';不存在-Ubuntu,php,ubuntu,netbeans,pear,apigen,Php,Ubuntu,Netbeans,Pear,Apigen,我最近升级了Ubuntu,本地主机根目录是/var/www,改为/var/www/html 我做了所有必要的调整,但现在apigen似乎被锁定在旧的www位置搜索config.neon文件 这就是错误: Template config "/var/www/ApiGen/templates/default/config.neon" doesn't exist 我不得不更改/usr/bin/apigen以修复以前的include错误,但我似乎找不到config.neon文件位置所在的文件。我甚至想

我最近升级了Ubuntu,本地主机根目录是
/var/www
,改为
/var/www/html

我做了所有必要的调整,但现在apigen似乎被锁定在旧的www位置搜索
config.neon
文件

这就是错误:

Template config "/var/www/ApiGen/templates/default/config.neon" doesn't exist
我不得不更改
/usr/bin/apigen
以修复以前的include错误,但我似乎找不到config.neon文件位置所在的文件。我甚至想到,也许pear安装程序已经初步控制了这一点,但我也找不到任何线索


因此,一个简单的问题是,我如何修复上述
不存在的
错误?

我只是通过使用Ubuntu的软件中心安装它来修复这个问题,作为pear的替代方案。现在它工作得非常好

如果你自己找到了解决方案,你应该接受自己的答案!