Re: RedHat 5.2, Apache, PHP

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: RedHat 5.2, Apache, PHP
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3002@lists.php.net to get a copy of this message
> Running the same installation on a RedHat 5.1 box (Apache 1.3.3 and PHP > 3.0.5, just like you), I was not able to reproduce the problem (my test > PHP script worked). The reason you get this save-file dialog is probably > that your browser is served a document with the MIME type > application/x-httpd-php3. This typically happens when PHP is not loaded > into Apache, or if it is not restarted properly. > > If you still have problems, try using apxs rather than recommending people > to use an old version of Apache. I logged into his system and had a look. It looks like the problem is somehow related to the way he is loading most of the modules except PHP dynamically from his httpd.conf file. I suggested that he build stuff statically. I didn't have time to figure out exactly what he had screwed up in his httpd.conf file. The PHP module was in his binary, and he did have the right mime type defined in the httpd.conf and I made sure that it was restarted correctly. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3002) next »