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

Reply via email to