in my php scripts has writen
<?
define('APP_DIR', '/home/a/avtecwest.com/pw/girl');
ini_set("include_path",','.;APP_DIR.'/lib/Pear;'.APP_DIR.'/lib/Smarty;');
include 'Smarty.php';
include 'DB.php';
// some other codes
//..........................
?>
that can work well in Windows ,but when i try to run it in Linux£¬
the server push some errors.
(the dir "/home/a/avtecwest.com/pw/girl/lib/.." is readabled.)
Warning: main(Smarty.php): failed to open stream: No such file or directory in /home/a/avtecwest.com/pw/girl/reg.php on line 4
Warning: main(): Failed opening 'Smarty.php' for inclusion (include_path='.;/home/a/avtecwest.com/pw/girl/lib;/home/a/avtecwest.com/pw/girl/lib/Pear;/home/a/avtecwest.com/pw/girl/lib/Smarty;/home/a/avtecwest.com/pw/girl/lib/App;') in /home/a/avtecwest.com/pw/girl/reg.php on line 4
Fatal error: Cannot instantiate non-existent class: mysmarty in /home/a/avtecwest.com/pw/girl/reg.php on line 5