Re: Tries to download file, rather that display it

From: Date: Mon, 31 Jul 2000 02:38:27 +0000
Subject: Re: Tries to download file, rather that display it
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1420@lists.php.net to get a copy of this message
> Hello, I read in a previous post a problem with php4 sometimes trying > to download a file, rather than display it. Mine started doing that, > without me changing anything, but just shutting down apache and > restarting it. I can't seem to find that old post that had the > solution to the problem though. Would someone please re-post the > solution. This happens when your Apache process does not have the PHP module available. I have seen it happen on sites where the admins swore to me a million times that they didn't change a thing. In the end it turned out that they had rebooted their server and their /etc/rc.d/init.d/httpd script started a different Apache server than the one they were running before the reboot. To avoid problems like this, make really really sure you only have a single httpd binary on your system and that the various scripts that start and stop your server are all referring to the same and correct httpd binary. -Rasmus

« previous php.windows (#1420) next »