[ale] quickstart php4?

Matt Smith msmith at risklabs.com
Fri Oct 25 11:41:18 EDT 2002


You'll need something along the lines of this:

AddHandler php-script .php

In you httpd.conf for apache to interpret the php file rather than serving
it.
It may already be in there somewhere and you can just uncomment it.

--Matt

-----Original Message-----
From: Robert L. Harris [mailto:Robert.L.Harris at rdlg.net]
To: ale at ale.org
Sent: Friday, October 25, 2002 11:36 AM
To: Atlanta Linux Enthusiasts
Subject: [ale] quickstart php4?




A friend sent me a php script I want to check out.  I installed php4,
php4-cgi and put the script in /var/www/test.

I know the guy isn't sending me a reason to kill him and it's something
that may become permanent but right now is just interesting.

When I go to site.com:/var/www/test/script.php it offers to download the
script.  I've put that path in a few places and nothing has changed.
Even restarted apache.  

I'm going out of town in 2 hrs so don't have time to dedicate right now.
Any quick thoughts off the top of your heads to get this working real
quick?  I'll be looking at the documentation more next week when I get
back.


:wq!
---------------------------------------------------------------------------
Robert L. Harris                
                               
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be

sent to listmaster at ale dot org.


----- 
Confidential Information 

The information in this e-mail message (including any attachments) is
privileged and confidential information intended only for the use of the
individual or entity named above.  If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list