public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] PHP5 Quick Question
@ 2005-08-02 14:32 Michael Crute
  2005-08-02 14:47 ` A. Khattri
  2005-08-02 15:30 ` Hans-Werner Hilse
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Crute @ 2005-08-02 14:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

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. Crute
Software Developer
SoftGroup Development Corporation

"In a world without walls and fences, who needs windows and gates?"

[-- Attachment #2: Type: text/html, Size: 475 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] PHP5 Quick Question
  2005-08-02 14:32 [gentoo-user] PHP5 Quick Question Michael Crute
@ 2005-08-02 14:47 ` A. Khattri
  2005-08-02 15:21   ` Michael Crute
  2005-08-02 15:30 ` Hans-Werner Hilse
  1 sibling, 1 reply; 5+ messages in thread
From: A. Khattri @ 2005-08-02 14:47 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] PHP5 Quick Question
  2005-08-02 14:47 ` A. Khattri
@ 2005-08-02 15:21   ` Michael Crute
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Crute @ 2005-08-02 15:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

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?

-Mike

On 8/2/05, A. Khattri <ajai@bway.net> 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 two
> USE flags to explicitly configure it (such as "gd-external" etc).
> 
> 
> --
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

"In a world without walls and fences, who needs windows and gates?"

[-- Attachment #2: Type: text/html, Size: 1665 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] PHP5 Quick Question
  2005-08-02 14:32 [gentoo-user] PHP5 Quick Question Michael Crute
  2005-08-02 14:47 ` A. Khattri
@ 2005-08-02 15:30 ` Hans-Werner Hilse
  2005-08-02 15:39   ` Michael Crute
  1 sibling, 1 reply; 5+ messages in thread
From: Hans-Werner Hilse @ 2005-08-02 15:30 UTC (permalink / raw
  To: gentoo-user

Hi,

On Tue, 2 Aug 2005 10:32:21 -0400
Michael Crute <mcrute@gmail.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] PHP5 Quick Question
  2005-08-02 15:30 ` Hans-Werner Hilse
@ 2005-08-02 15:39   ` Michael Crute
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Crute @ 2005-08-02 15:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

Well grepping that file is a nice trick that I didnt know. Thanks! Thats 
what I needed to know.

-Mike

On 8/2/05, Hans-Werner Hilse <hilse@web.de> wrote:
> 
> Hi,
> 
> On Tue, 2 Aug 2005 10:32:21 -0400
> Michael Crute <mcrute@gmail.com> 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
> 
> 


-- 
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

"In a world without walls and fences, who needs windows and gates?"

[-- Attachment #2: Type: text/html, Size: 1552 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-02 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 14:32 [gentoo-user] PHP5 Quick Question Michael Crute
2005-08-02 14:47 ` A. Khattri
2005-08-02 15:21   ` Michael Crute
2005-08-02 15:30 ` Hans-Werner Hilse
2005-08-02 15:39   ` Michael Crute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox