ID:               29144
 Comment by:       ekcheu at uncg dot edu
 Reported By:      php at soapi dot com
 Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: RedHat Enterprise Linux 3.0
 PHP Version:      5.0.0
 New Comment:

I have a better idea of what is going on with this type of bug.  What I
think is happening is that if your php is somehow messed up (this
happens quite frequently when you "upgrade your version of php", without
also checking to see if your php.ini is up to date, and possibly some of
your shared objects are not compatable with the new php binary
executable - such as you are installing php in the same directory as the
php4 location), it will print out messages to stdout with some error
message.  Apache will see these error messages before it sees the html
code.. the result being that it doesn't know what to do with the file
because it doesn't recognize the resulting garbage plus html code
(you're not supposed to define it anyway in httpd.conf).  So it usually
asks you to download it (which is the correct response) unless you for
some strange reason have incorrectly defined the type in your version of
windows, or incorrectly put it in httpd.conf (such as the AddHandler
directive).


Previous Comments:
------------------------------------------------------------------------

[2007-10-25 17:02:17] ekcheu at uncg dot edu

I had this problem too.  I think the problem is that the php
installation is not set up right.  I managed to fix the problem by
updating the php.ini file in the php installation directory to reflect
the new path of the shared object modules (the
php5/lib/php/extensions/no-debug-non-zts-200*  directory).
And also ran php manually by hand to see if there were any problems
with any shared objects loading up (I had to add and also recompile some
modules to fix the issue, or mess with the php.ini to resolve all
problems).

------------------------------------------------------------------------

[2007-09-18 19:27:08] php at worldwebmaster dot com

I'm experiencing the same problem with PHP5 on Debian with Apache
1.3.34. I have tried modifying the AddType lines in httpd.conf several
times to no avail.

------------------------------------------------------------------------

[2004-09-14 01:00:08] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2004-09-06 18:59:34] [EMAIL PROTECTED]

So install Apache1

------------------------------------------------------------------------

[2004-09-06 09:27:03] jesse at eonstreet dot com

I don't know about apache1 because my server is apache2.  

The verson I am trying is 5.0.1

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/29144

-- 
Edit this bug report at http://bugs.php.net/?id=29144&edit=1

Reply via email to