处理一款OA系统从windows平台迁移到linux平台时遇到这样的问题:

Warning: include_once(inc/conn.php) [function.include-once]: failed to open stream: No such file or directory in D:\MYOA\webroot\general\test.php on line 2
Warning: include_once() [function.include]: Failed opening 'inc/conn.php' for inclusion (include_path='.;C:\php5\pear') in D:\MYOA\webroot\general\test.php on line 2

解决办法是:
修改php.ini中的include_path以及doc_root后为实际目录路径即可解决。

Related Posts: Failed opening ‘inc/conn.PHP’ for inclusion (include_path=’.;C:\\PHP5\\pear’)解决办法 :

  1. 请问要将php.ini中的path修改为什么实际目录?不太懂