PHP does not compile as a binary (CLI) and as a module at the same time.
You will have to compile as binary first then compile again as a module.

For compiling as a CLI do this:

$ ./configure --prefix=/path/to/php
$ make
$ make install

Move the files in the bin directory to somewhere like /usr/bin
Then delete the file "config.cache" and run "make clean", next recompile
with the options that you want for your apache module...make...make
install...

That is all to it...

"Nicholas Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have another question, how do I compile php so that have it as a
> module in apache and also a shell binary? I want to call php from a cron
> job (for cacti.)
>
> Nicholas
>
>



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

Reply via email to