[gentoo-user] PHP5 Quick Question

2005-08-02 Thread Michael Crute
Is there a way to build the php 5 extensions (I.E. GD, mysql, etc) as
external libraries instead of compiling it all into the core? I assume
this is the sharedext flag but I want to make sure before I go try it
and muck things up.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] PHP5 Quick Question

2005-08-02 Thread A. Khattri
On Tue, 2 Aug 2005, Michael Crute wrote:

 Is there a way to build the php 5 extensions (I.E. GD, mysql, etc) as
 external libraries instead of compiling it all into the core? I assume this
 is the sharedext flag but I want to make sure before I go try it and muck
 things up.

Most of the extensions are external libraries though there are one or two
USE flags to explicitly configure it (such as gd-external etc).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP5 Quick Question

2005-08-02 Thread Michael Crute
Hmm... for some reason when I emerged PHP 5 it built all the extensions
into the core and now its running very slow (4 ms for most pages as
opposed to .007 ms for the same page under PHP 4) my use flags are...

dev-db/php apache2 mysql xml
xml2 msession gd bcmath bzip2 calendar curl ftp iconv odbc ldap snmp
imap memlimit mhash mysqli posix simplexml sharedmem soap sockets
threads tidy wddx xmlrpc xsl exif cpdflib mime session

Am I missing something?

-MikeOn 8/2/05, A. Khattri [EMAIL PROTECTED] wrote:
On Tue, 2 Aug 2005, Michael Crute wrote: Is there a way to build the php 5 extensions (I.E. GD, mysql, etc) as external libraries instead of compiling it all into the core? I assume this is the sharedext flag but I want to make sure before I go try it and muck
 things up.Most of the extensions are external libraries though there are one or twoUSE flags to explicitly configure it (such as gd-external etc).
gentoo-user@gentoo.org mailing list-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] PHP5 Quick Question

2005-08-02 Thread Hans-Werner Hilse
Hi,

On Tue, 2 Aug 2005 10:32:21 -0400
Michael Crute [EMAIL PROTECTED] wrote:

 Is there a way to build the php 5 extensions (I.E. GD, mysql, etc) as 
 external libraries instead of compiling it all into the core? I assume this 
 is the sharedext flag but I want to make sure before I go try it and muck 
 things up.

$ grep sharedext /usr/portage/profiles/use.desc   
sharedext - Adds support for building shared extensions in php

sounds good, doesn't it ;-)?

Regarding the gd-external A. Khattri mentioned, I think this is to
make php use a separately compiled (by emerging it as a dependency) GD
lib instead of using the sources that php has integrated.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP5 Quick Question

2005-08-02 Thread Michael Crute
Well grepping that file is a nice trick that I didnt know. Thanks! Thats what I needed to know.

-MikeOn 8/2/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
Hi,On Tue, 2 Aug 2005 10:32:21 -0400Michael Crute [EMAIL PROTECTED] wrote: Is there a way to build the php 5 extensions (I.E. GD, mysql, etc) as external libraries instead of compiling it all into the core? I assume this
 is the sharedext flag but I want to make sure before I go try it and muck things up.$ grep sharedext /usr/portage/profiles/use.descsharedext - Adds support for building shared extensions in php
sounds good, doesn't it ;-)?Regarding the gd-external A. Khattri mentioned, I think this is tomake php use a separately compiled (by emerging it as a dependency) GDlib instead of using the sources that php has integrated.
-hwh--gentoo-user@gentoo.org mailing list-- Michael E. CruteSoftware Developer
SoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?