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
[EMAIL PROTECTED]
-------


-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, 7 April 2002 3:32 PM
To: [EMAIL PROTECTED]
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to