Perhaps the php.ini file has different values for each machine?
One thing that I usually do, mainly because I'm absolutely anal-retentive about not changing anything when I move code from one machine to another, is set a constant for my include path which is dependent upon the server:
switch($HTTP_SERVER_VARS["SERVER_NAME"]) {
case "laptop.mufin":
define(APPS_PATH,"/home/mrmufin/apps/");
break;
case "bitchinservers.com":
define(APPS_PATH,"/usr/home/bitchins/apps/");
break;
default:
define(APPS_PATH,"");
}
With that being done, all I need to do is add a case when I move stuff to another machine. Then in my application I can always call includes using the APPS_PATH constant:
include_once(APPS_PATH . "myBitchinTools.php");
Just one o' those thangs I find useful, mainly because it always works. A sysadmin can futz around the php.ini file all week long without breaking my script...
Have fun.