在win下,当你要include多个路径的话,你要用“;”隔开,但在linux下就使用":"隔开的。。
if (substr(php_uname(), 0, 7) == "Windows") ini_set ( "include_path" , ‘.;..\..\common;..\..\include‘ ) ; else ini_set ( "include_path" , ".:../../common:../../include" ) ;
2022-08-20 07:24:26
在win下,当你要include多个路径的话,你要用“;”隔开,但在linux下就使用":"隔开的。。
if (substr(php_uname(), 0, 7) == "Windows") ini_set ( "include_path" , ‘.;..\..\common;..\..\include‘ ) ; else ini_set ( "include_path" , ".:../../common:../../include" ) ;