Re: running a stand-alone PHP program

From: Date: Thu, 17 May 2001 17:52:37 +0000
Subject: Re: running a stand-alone PHP program
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-53290@lists.php.net to get a copy of this message
Not if you are currently running it as an apache module. If you are running it as a cgi, then it might. But it sounds as if you are running it as an apache module. Nathan Cook ncook@pcsedu.com ----- Original Message ----- From: "midget2000x" <midget@elaris.com> To: "Nathan Cook" <security@pcsedu.com>; <php-general@lists.php.net> Sent: Thursday, May 17, 2001 10:38 AM Subject: Re: [PHP] running a stand-alone PHP program > OK, thanks. This is great. But will this affect my existing installation of > PHP? excuse the newbie questions! > > I appreciate your help. > > Thanks, > > Rory > > On Wed, 16 May 2001, Nathan Cook wrote: > > Assuming you are running linux... > > > > Just remove the "--with-apache", from the ./configure statement... should look > > something like this > > > > # ./configure [DIRECTIVES] [--with-mysql=/usr/local/mysql] > > # make > > # make install > > > > Should install to: > > # /usr/local/bin/php > > > > then you can run scripts by: > > # /usr/local/bin/php /path/to/script/scriptname > > > > Have Fun! > > Nathan Cook > > ncook@pcsedu.com > > ----- Original Message ----- > > From: "midget2000x" <midget@elaris.com> > > To: <php-general@lists.php.net> > > Sent: Wednesday, May 16, 2001 2:52 PM > > Subject: RE: [PHP] running a stand-alone PHP program > > > > > > > I suppose I need to be more clear. I already have PHP running, but I want to > > > run actual PHP code that I write as a stand-alone program. Is this what > > you're > > > doing? > > > > > > On Wed, 16 May 2001, you wrote: > > > > yeah. i run it as a CGI. > > > > > > > > compile it as a binary, then edit the apache config... > > > > > > > > that's it > > > > > > > > > -----Original Message----- > > > > > From: midget2000x [mailto:midget@elaris.com] > > > > > Sent: Wednesday, May 16, 2001 4:18 PM > > > > > To: php-general@lists.php.net > > > > > Subject: [PHP] running a stand-alone PHP program > > > > > > > > > > > > > > > I apologize if this has already been covered...I can't seem to find it in > > the > > > > > archives... > > > > > > > > > > can PHP be coded and run as a stand-alone program? If so, where can I get > > more > > > > > info on that? > > > > > > > > > > I am running Linux and would like to pass some data to PHP from a > > > > > CGI program. > > > > > > > > > > Thanks! > > > > > > > > > > Rory > > > > > ----------- > > > > > providing the finest in midget technology > > > > > > > > > > -- > > > > > PHP General Mailing List (http://www.php.net/) > > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > > For additional commands, e-mail: php-general-help@lists.php.net > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > > > ----------- > > > providing the finest in midget technology > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > ----------- > providing the finest in midget technology >

« previous php.general (#53290) next »