On Tue, Jul 27, 2004, Alexander Belck wrote:
> [...]
> In openpkg-2.0 I could compile apache --with_php_pear, but not simultaneosly php
> --with_pear.
Apache's with_mod_php_pear option was an error.
It made no sense. The PHP package's with_pear option is the correct one.
> Now, in openpkg-2.1 apache does not accept --with_php_pear, but I can install
> simultaneosly to apcahe, php compiled --with_pear.
>
> Will the apache php module be able to use the PEAR compiled thru PHP ?
Yes, Apache's PHP should be able to use the PEAR stuff compiled
with the "php" package.
> (Off-topic, but perhaps somebody can explain it to me). Why do I need to
> versions for aparently the same code 1-apache_mod_php, the other is php itself.
Because the PHP in Apache is running _inside_ the Apache process space
and is a very fast Apache-only solution. The PHP in the standalone
package is the slower but Apache-independent CLI version (usually also
needed for CGI scripts with #!/path/to/php shebang lines or if you have
to run Apache with PHP4 and PHP5 in parallel, etc).
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]