RE: [PHP] /usr/bin/php Question

From: Date: Sun, 07 Apr 2002 11:37:48 +0000
Subject: RE: [PHP] /usr/bin/php Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91919@lists.php.net to get a copy of this message
So I should compile without axps to make the binary then recompile --with-axps to compile the apache module again.? Cause I want both apache module and command line. Or will it work as a apache module without axps? ------- Chris Kay, Eleet Internet Services chris@eleet.com.au ------- -----Original Message----- From: Jason Wong [mailto:php-general@gremlins.com.hk] Sent: Sunday, 7 April 2002 3:32 PM To: php-general@lists.php.net Subject: Re: [PHP] /usr/bin/php Question On Sunday 07 April 2002 13:18, Chris Kay wrote: > Hi > > I have compiled php -with-apxs option and I read in the archives it > don't create a /usr/bin/php. But I wish to run 2 scripts I have made > by command line, I have the 2 scripts outside the web server > Root. > > Is there a way to compile a php binary to use for my scripts? Yes. > Or does someone have any idea's what's the best way to go about this > would be... >From the manual "The default is to build PHP as a CGI program". By using the "--with-apxs" option you're telling it to build an Apache module and not a standalone binary. So just: ./configure; make; then copy the resulting "php" executable somewhere. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* "Show business is just like high school, except you get paid." - Martin Mull */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#91919) next »