RE: [PHP-DEV] possible --extension-dir directive?

2001-04-16 Thread Jason Greene

If not this idea, what about a symbolic link for /usr/local/lib/php/extensions/current 
to the correct dir?
- Jason
 - Original Message - 
 From: "Jason Greene" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, April 16, 2001 11:10 AM
 Subject: [PHP-DEV] possible --extension-dir directive?
 
 
  Has there ever been any thought about an extension-dir directive. I don't know
  what everyone else thinks, but I personally get tired of 
/usr/local/lib/php/extensions/no-debug-whatever-zendapinum.
  
  I think just having an option to force them in /usr/local/lib/php/extensions would 
be great.
  I am not familiar of an instance where I have needed multiple extensions per 
version and type of compile I have performed
  
  -Jason
  
  
  
  
  -- 
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
  
 
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] possible --extension-dir directive?

2001-04-16 Thread Sascha Schumann

On Mon, 16 Apr 2001, Jason Greene wrote:

 If not this idea, what about a symbolic link for 
/usr/local/lib/php/extensions/current to the correct dir?

There is no single correct dir.  We would not need this long
path, if there would be such a directory which is correct in
all circumstances.

- Sascha Experience IRCG
  http://schumann.cx/http://schumann.cx/ircg


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] possible --extension-dir directive?

2001-04-16 Thread Stig Sæther Bakken

["Jason Greene" [EMAIL PROTECTED]]
 
 Has there ever been any thought about an extension-dir directive. I
 don't know what everyone else thinks, but I personally get tired of
 /usr/local/lib/php/extensions/no-debug-whatever-zendapinum.
 
 I think just having an option to force them in
 /usr/local/lib/php/extensions would be great.  I am not familiar of
 an instance where I have needed multiple extensions per version and
 type of compile I have performed

Hi,

I changed this to /usr/local/lib/php/APISPEC in the patch Sascha
reverted, but I'll put that part back.  The APISPEC part should
definitely be included, or we'll have a boatload of mails asking why
loading module X failed.  If for example some Linux distributions want
to skip it (Mandrake cooker does at least), that's up to them.

Anyway, the APISPEC will be shortened from "20001222-no-debug-non-zts"
to just "20001222", and the "extensions" part of the path is skipped.
The PEAR stuff is moved to /usr/local/share/php.  Both of these paths
can be set with the --datadir and --libdir configure options.

I try to put it back in tomorrow.

 - Stig

-- 
  Stig Sther Bakken [EMAIL PROTECTED]
  Fast Search  Transfer ASA, Trondheim, Norway

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] possible --extension-dir directive?

2001-04-16 Thread Jason Greene

Hi Stig,
 I changed this to /usr/local/lib/php/APISPEC in the patch Sascha
 reverted, but I'll put that part back.  The APISPEC part should
 definitely be included, or we'll have a boatload of mails asking why
 loading module X failed.  If for example some Linux distributions want
 to skip it (Mandrake cooker does at least), that's up to them.

 Anyway, the APISPEC will be shortened from "20001222-no-debug-non-zts"
 to just "20001222", and the "extensions" part of the path is skipped.
 The PEAR stuff is moved to /usr/local/share/php.  Both of these paths
 can be set with the --datadir and --libdir configure options.

 I try to put it back in tomorrow.

Ok, sounds good.
What do you think of the possibility of autobuilding a php.ini file with extensions 
installed,
similar to apache. If one already exists, it could install under a different name?

-Jason


  - Stig

 --
   Stig Sther Bakken [EMAIL PROTECTED]
   Fast Search  Transfer ASA, Trondheim, Norway



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]