2010-12-22 127 views
0

好球员,我有一个奇怪的问题,PHP eAccelerator在包含路径问题

我一直在使用通过set_include_path eAccelerator在之前和所有workded伟大的,但现在我无法得到它的工作,它不是我的设置路径和有时也在设置新的get_include_path之前使用get_include_path追加旧的get_include_path返回二进制字符串而不是字符串。

任何想法?

欢呼声, /马辛

回答

1

试试这个:

set_include_path(implode(PATH_SEPARATOR, array(
    realpath('/../your_path1'), 
    realpath('/../your_path2'), 
    get_include_path(), 
))); 
+0

已切换到APC,没有问题出现。 – Marcin 2010-12-23 10:56:22