Re: Php page runs from one computer but not another

From: Date: Tue, 20 Aug 2002 04:26:00 +0000
Subject: Re: Php page runs from one computer but not another
Groups: php.general 
Request: Send a blank email to php-general+get-113292@lists.php.net to get a copy of this message
Hi, "I can run the same page on the machine with the problem if I simply rename it." If you could tell what the name was when it didn't work and what when it worked. If by rename you mean change of extension like say from php3 to php then it indicates that apache config file (I am not sure for IIS or others) is not configured to handle that particular extension through php. regards Jaski On Tue, 20 Aug 2002 Jonathan Black wrote :
Hello, php 4.2.1 Internet Explorer 6. After some server upgrades at my webhoster I can see the phpinfo page from a computer running windows 98, but not from another computer running windows 2000 server. Here I just see the php code in my browser. I can run the same page on the machine with the problem if I simply rename it. The relevant url is: http://www.natureinfo.org.il/users/webmaster/phpnatureinfo/phpinfo.php I have tried to disable caching as you can see from the code of the page which follows but this does not help: <?php added by jjb due to caching problems header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT"); header("Cache-Control: no-cache,must-revalidate"); header("Pragma: no-cache"); // Show all information, defaults to INFO_ALL phpinfo(); ?> Thanks Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#113292) next »