You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Stefan Voigt <st...@csmd.cs.uni-magdeburg.de> on 2000/06/19 09:37:11 UTC

general/6207: 500 Internal Server Error

>Number:         6207
>Category:       general
>Synopsis:       500 Internal Server Error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jun 19 00:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     stvoigt@csmd.cs.uni-magdeburg.de
>Release:        3.1.12
>Organization:
apache
>Environment:
WinNT 4.0 ServicePack 4
>Description:
I got the latest php4 version (4.0.0), before that I used php3 and it worked. 
If I use php4 in a DOS-box it works (I tried it with a simple functioncall of
the phpinfo() function) and php4 is giving me back a lot of htmlcode, so I think
it works. If I start the Apache and run a php4Script I get the 500 Internal Server
Error. I think I did the configuration correctly (just changed the MIME-types
from php3 to php4). If I replace just the pp.exe (version3 instead of 4, everything 
is okay again.) I will also ask the php-developers for help and will inform you
if it should be a php-bug. Thanks in advance! 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


RE: general/6207: 500 Internal Server Error

Posted by "William A. Rowe, Jr." <wr...@lnd.com>.
Does the following advise from the newsgroup help you?

"Martin Atkins" <zn...@ovtsbbg.pbz> wrote in message news:<39...@news.vossnet.net>...
> 
> This mystified me for quite a while. What you are supposed to do when
> running php via CGI is to set up an Action to run the php interpreter when a
> file with the .php extension is accessed, thusly:
> 
> ScriptAlias /php "C:/progra~1/php4/"
> AddHandler php .php
> Action php /php/php.exe
> 
> Now, when you access /blah.php the server internally redirects (that is, the
> client is none the wiser) to /php/php.exe/blah.php where php can then nab
> the file and process it.