|
Comments for: michael20020812
| Message # 1013067: |
|
Date: 08/23/02 23:33
By: Mark Constable Subject: Re: A simpler way I agree with Tony that it could be simpler by adding "addhandler cgi-script .php" inside a virtualhost directive and treat the PHP script exactly like a perl CGI, that is, add a shebang line pointing to the particular PHP executable and also a 'echo "Content-type: text/html\n\n";' at the top of whatever page finally pushes out HTML to the browser. The normal apache module PHP works fine outside of that virtualhost and the CGI'ish version works inside this vhost area. I use this method to test and run PHP 4.3 code on a server otherwise running "normal" code. |
Previous Message | Next Message |
| Comments: | ||
| RE: Another way to do this | Bruce | 01/16/04 11:31 |
| Another way to do this | MoSs | 05/25/03 08:23 |
| RE: Overhead of CGI squanders benefits of C? | Ian | 12/30/02 14:31 |
| RE:Stupid Article and other things | Will Green | 09/03/02 15:18 |
| need some help | fantaghiro | 09/02/02 04:17 |
| RE: A simpler way | Amit Kothari | 08/31/02 07:51 |
| RE:Stupid Article and other things | Michael Galloway | 08/27/02 11:59 |
| RE: To anwser some questions | Tony | 08/26/02 06:57 |
| I stand corrected | Michael Galloway | 08/24/02 14:24 |
| Stupid article | James | 08/24/02 11:47 |
| Re: A simpler way | Mark Constable | 08/23/02 23:33 |
| To answer some questions | Michael Galloway | 08/20/02 12:18 |
| Overhead of CGI squanders benefits of C? | Jeff | 08/16/02 03:23 |
| very useful! | chickoslav | 08/15/02 01:42 |
| A simpler way | Tony | 08/13/02 05:22 |
| CGI vs PHP module | Joe Li | 08/12/02 03:55 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


