RE: [PHP] Curious about something....

2003-11-21 Thread Dan Joseph
Hi,

  The question sounded more like a technical one - is it an advantage in
  terms of memory? CPU? startup overhead? etc.

Yeah, it was mostly a technical one, and it was also one that left me
scratching my head.  I guess in other languages, I just import or include
the library I want to use for each project.  Unfortunately, I can't just
always recompile PHP everytime I want to use a different one, and was trying
to find some justification for this.  I've decided that I'm gonna go thru
and get a list of all the libraries I want to enable, and do it all at once
when I can.

-Dan Joseph

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



Re: [PHP] Curious about something....

2003-11-21 Thread Curt Zirzow
* Thus wrote Dan Joseph ([EMAIL PROTECTED]):
 Hi,
 
   The question sounded more like a technical one - is it an advantage in
   terms of memory? CPU? startup overhead? etc.
 
   Yeah, it was mostly a technical one, and it was also one that left me
 scratching my head.  I guess in other languages, I just import or include
 the library I want to use for each project.  Unfortunately, I can't just
 always recompile PHP everytime I want to use a different one, and was trying
 to find some justification for this.  I've decided that I'm gonna go thru
 and get a list of all the libraries I want to enable, and do it all at once
 when I can.

You can build php with what you consider you'll be using the most
and enable (as shared modules) the other modules you might consider
using in certain scripts.

Then in a script that uses the shared module, you can just add
dl('mcrypt.so') in the sript.


Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
http://zirzow.dyndns.org/html/mlists/

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



Re: [PHP] Curious about something....

2003-11-20 Thread CPT John W. Holmes
From: Dan Joseph [EMAIL PROTECTED]

 Is there any particular advantage to having the default PHP install
exclude
 a lot of useful modules such as mcrypt, cli, sockets, etc?

Yes. I've found that I do not need those libraries and have a secret
agreement preventing them from being included...

Honestly, this has kind of been discussed this week in the encoder thread.
Where do you draw the line on what's useful or not and who does the deciding
on that? What's useful to you may not be to me. The modules are easy enough
to install if you need them, so you're just going to have to do that.

---John Holmes...

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



Re: [PHP] Curious about something....

2003-11-20 Thread Mike Migurski
 Is there any particular advantage to having the default PHP install
 exclude a lot of useful modules such as mcrypt, cli, sockets, etc?

Honestly, this has kind of been discussed this week in the encoder
thread. Where do you draw the line on what's useful or not and who does
the deciding on that? What's useful to you may not be to me. The modules
are easy enough to install if you need them, so you're just going to have
to do that.

The question sounded more like a technical one - is it an advantage in
terms of memory? CPU? startup overhead? etc.

-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html

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



RE: [PHP] Curious about something....

2003-11-20 Thread Vail, Warren
I also thought it was a technical or resource question.  When not running as
a cgi, don't the extensions gain persistence, loading only the first time
requested or first time PHP is used, instead of loading with each request?
That kind of question.

Warren Vail

-Original Message-
From: Mike Migurski [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 3:22 PM
To: CPT John W. Holmes
Cc: Dan Joseph; [EMAIL PROTECTED]
Subject: Re: [PHP] Curious about something


 Is there any particular advantage to having the default PHP install
 exclude a lot of useful modules such as mcrypt, cli, sockets, etc?

Honestly, this has kind of been discussed this week in the encoder
thread. Where do you draw the line on what's useful or not and who does
the deciding on that? What's useful to you may not be to me. The modules
are easy enough to install if you need them, so you're just going to have
to do that.

The question sounded more like a technical one - is it an advantage in
terms of memory? CPU? startup overhead? etc.

-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html

-- 
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



Re: [PHP] Curious about something....

2003-11-20 Thread John W. Holmes
Mike Migurski wrote:
Is there any particular advantage to having the default PHP install
exclude a lot of useful modules such as mcrypt, cli, sockets, etc?
The question sounded more like a technical one - is it an advantage in
terms of memory? CPU? startup overhead? etc.
Yeah, I think I misread that one. Sorry.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

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