php4 and cgi
| From: | john dot horton at cognito dot co dot uk | Date: | Mon, 20 Nov 2000 14:50:38 +0000 |
| Subject: | php4 and cgi | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-853@lists.php.net to get a copy of this message | ||
hi,
i have compiled php and am trying to get apache to interpret php4 files.
I had php3 running as a module before, but now I want to run php
separatly from apache - has anyone done this ? I have read the
documentation and have done the things it has said - but am a little
confused!
I either get bad requests or only the text shows up - i have set up
handlers in httpd.conf - but to little avail!
If anyone can help it would be much appreciated!
tia
--
John Horton DBA Cognito (Informix on Linux)
john.horton@cognito.co.uk
sysadmin and mahjongg player
use
Tk;$s="";@l=(121,101,116,95,97,110,111,116,104,101,114,95,112,101,114,108,95,104,97,99,107,101,114,33);$ll=24;for($a=0;$a<$ll;$a++){$s=$s.chr($l[$a]);}$mw=tkinit;$t=$s;$a=0;$c=$mw->Canvas(-width=>155,-height=>15);$c->create('text',80,9,-text=>$t);$c->pack();$c->CanvasBind(''=>sub{my($x,$y)=($Tk::event->x,$Tk::event->y);$x=int(rand($mw->screenheight));$y=int(rand($mw->screenwidth));$mw->geometry("+$x+$y");$a++;if($a==5){exit;}});MainLoop;