Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Debian style php

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
darken
n00b
n00b
User avatar
Posts: 52
Joined: Wed Jan 04, 2006 9:31 am

Debian style php

  • Quote

Post by darken » Tue Apr 17, 2007 8:25 am

Is there a way to compile php with dynamic extensions instead of builtin like it is on Debian? I hate to compile all php just because I need soap, crypt or another extension.
Thanks in advance.
Top
xces
Guru
Guru
User avatar
Posts: 515
Joined: Fri Oct 11, 2002 7:23 pm

  • Quote

Post by xces » Wed Apr 18, 2007 10:24 am

Just set the "sharedext" USE flag. But this won't save you from re-emerging dev-lang/php if some extension is missing.
Top
darken
n00b
n00b
User avatar
Posts: 52
Joined: Wed Jan 04, 2006 9:31 am

  • Quote

Post by darken » Wed Apr 18, 2007 5:54 pm

Thanks, xces. The obvious advantage with this useflag would be to enable most of the useflags and disable the unneeded extensions in php.ini and enable them in case of future need.

But would not be a good idea to create for php a php-meta package as in case of kde that pulls in the activated extensions? And in case just an extension is needed, for instance mysqli, do a

Code: Select all

emerge php-mysqli
Or I'm exagerating? :D
Top
Cadorna
Apprentice
Apprentice
Posts: 215
Joined: Thu Dec 30, 2004 10:16 pm
Location: Argentina

  • Quote

Post by Cadorna » Wed Apr 18, 2007 9:20 pm

darken wrote:Thanks, xces. The obvious advantage with this useflag would be to enable most of the useflags and disable the unneeded extensions in php.ini and enable them in case of future need.

But would not be a good idea to create for php a php-meta package as in case of kde that pulls in the activated extensions? And in case just an extension is needed, for instance mysqli, do a

Code: Select all

emerge php-mysqli
Or I'm exagerating? :D
I don't know if it is something doable by php ebuilds manteiners (maybe much work, maybe just imposible) but yours is an excellent idea and would love to see it implemented
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic