www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@lnd.com>
Subject RE: general/6207: 500 Internal Server Error
Date Mon, 19 Jun 2000 13:29:11 GMT

Does the following advise from the newsgroup help you?

"Martin Atkins" <zneg.ngxvaf@ovtsbbg.pbz> wrote in message news:<394abfdb.33100884@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.

View raw message