Re: Tries to download file, rather that display it

From: Date: Mon, 31 Jul 2000 03:01:59 +0000
Subject: Re: Tries to download file, rather that display it
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-1421@lists.php.net to get a copy of this message
On 30 Jul 2000 19:36:33 -0700, rasmus@php.net (Rasmus Lerdorf) wrote: >> 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 Hey Rasmus, I am running it on a Win98 box. apache is v. 1.3.9 and php4 is 1.0.1pl2 I am using the mod_php4 instead of setting it up as cgi. What I was thinking(as the solution), was something in php.ini, but I don't recall what. JasonWP P.S. I did a find on all local hard drives for an executable httpd, and didn't find one(expected), and on an executable apache and found only one, where it was expected to be.

« previous php.windows (#1421) next »