Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

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 thisBruce01/16/04 11:31
Another way to do thisMoSs05/25/03 08:23
RE: Overhead of CGI squanders benefits of C?Ian12/30/02 14:31
RE:Stupid Article and other thingsWill Green09/03/02 15:18
need some helpfantaghiro09/02/02 04:17
RE: A simpler wayAmit Kothari08/31/02 07:51
RE:Stupid Article and other thingsMichael Galloway08/27/02 11:59
RE: To anwser some questionsTony08/26/02 06:57
I stand correctedMichael Galloway08/24/02 14:24
Stupid articleJames08/24/02 11:47
Re: A simpler wayMark Constable08/23/02 23:33
To answer some questionsMichael Galloway08/20/02 12:18
Overhead of CGI squanders benefits of C?Jeff08/16/02 03:23
very useful!chickoslav08/15/02 01:42
A simpler wayTony08/13/02 05:22
CGI vs PHP moduleJoe Li08/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.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.