[英]PHP wrong folder ? include_path='.:/usr/share/php:/usr/share/pear'
[英]In resin, using PHP the include_path directive is defaulted to /usr/share/php , even though I changed it?
这是我在php.ini中添加的行
include_path = "/usr/share/php/smarty:/usr/share/php5:/usr/share/php:/usr/share/php/pear"
我没有echo "Include Path: ". get_include_path();
echo "Include Path: ". get_include_path();
这是输出
Include Path: .:/usr/share/php
我使用正确的php.ini的phpinfo()
确认了它,但是未更新路径。
ed1:我什至将路径简化为2条路径,但仍然没有更新。 (我也每次都重新启动树脂)
ed2:绝对正确的文件,例如,如果我更改其他设置并执行echo ini_get('display_errors')
,我可以看到它已更改。 那么,包含路径是怎么回事?
ed3:为确保它不是格式错误的uri或其他内容,我只使用了1条路径,但仍然无法使用。
谢谢,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.