Forums

Skip to content

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

how to install php with socket enable

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
kerberosgentoo
n00b
n00b
Posts: 37
Joined: Mon May 15, 2006 7:35 am

how to install php with socket enable

  • Quote

Post by kerberosgentoo » Wed Jul 19, 2006 8:56 am

hello

I have installed Apache, PHP and Mysql in my Gentoo 2006.0
in this way.....

first i put this in my /etc/portage/package.use

"dev-lang/php apache2 cli"
"dev-db/mysql innodb berkdb another-use-flag "

and then...

1. emerge apache
2. emerge dev-lang/php
3. emerge mysql


after i run http://localhost/phpinfo.php/ to show my php installation
i have found out that socket is disable..

now what i need to do to enable socket in php?
do i need to emerge unmerge php?
or re emerge php will do?
could you please post the step by step in enabling socket in php

Thanks
Top
oKtosiTe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Aug 15, 2005 6:30 pm
Location: Halmstad, Sweden

  • Quote

Post by oKtosiTe » Wed Jul 19, 2006 9:01 am

Add "sockets" to your php USE-flags and re-emerge.

Code: Select all

emerge -auNDvt php
Last edited by oKtosiTe on Wed Jul 19, 2006 10:28 am, edited 1 time in total.
Ask Ubuntu | Super User
Top
kerberosgentoo
n00b
n00b
Posts: 37
Joined: Mon May 15, 2006 7:35 am

  • Quote

Post by kerberosgentoo » Wed Jul 19, 2006 9:11 am

here is my /etc/portage/package.use

"sys-libs/glibc userlocales
dev-lang/php apache2 cli sockets
dev-db/mysql innodb berkdb another-use-flag
media-gfx/gimp-print ppds"

i recieved this error

ithaca kerberos # emerge --auNDvt php
!!! Error: --auNDvt is an invalid option.
ithaca kerberos #

what went wrong?
Top
oKtosiTe
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Aug 15, 2005 6:30 pm
Location: Halmstad, Sweden

  • Quote

Post by oKtosiTe » Wed Jul 19, 2006 10:30 am

Whoops, that should be one -, as in:

Code: Select all

emerge -auNDvt php
I edited my post above aswell.
Ask Ubuntu | Super User
Top
kerberosgentoo
n00b
n00b
Posts: 37
Joined: Mon May 15, 2006 7:35 am

  • Quote

Post by kerberosgentoo » Thu Jul 20, 2006 1:28 am

by the way what is "-auNDvt" stands for?
what will it do with the installation?
Top
kerberosgentoo
n00b
n00b
Posts: 37
Joined: Mon May 15, 2006 7:35 am

  • Quote

Post by kerberosgentoo » Thu Jul 20, 2006 1:47 am

kerberosgentoo wrote:by the way what is "-auNDvt" stands for?
what will it do with the installation?

ne.
==> PASV ... done. ==> RETR glibc-fedora-20060501T0751.tar.bz2 ...
No such file `glibc-fedora-20060501T0751.tar.bz2'.

>>> Downloading http://mirrors.tds.net/gentoo/distfiles ... 51.tar.bz2
--09:48:10-- http://mirrors.tds.net/gentoo/distfiles ... 51.tar.bz2
=> `/usr/portage/distfiles/glibc-fedora-20060501T0751.tar.bz2'
Resolving mirrors.tds.net... 216.165.129.134
Connecting to mirrors.tds.net|216.165.129.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:48:11 ERROR 404: Not Found.

!!! Couldn't download glibc-fedora-20060501T0751.tar.bz2. Aborting.
ithaca kerberos #
Top
kerberosgentoo
n00b
n00b
Posts: 37
Joined: Mon May 15, 2006 7:35 am

  • Quote

Post by kerberosgentoo » Thu Jul 20, 2006 1:49 am

kerberosgentoo wrote:
kerberosgentoo wrote:by the way what is "-auNDvt" stands for?
what will it do with the installation? after typing the "emerge -auNDvt php" i received the error below

ne.
==> PASV ... done. ==> RETR glibc-fedora-20060501T0751.tar.bz2 ...
No such file `glibc-fedora-20060501T0751.tar.bz2'.

>>> Downloading http://mirrors.tds.net/gentoo/distfiles ... 51.tar.bz2
--09:48:10-- http://mirrors.tds.net/gentoo/distfiles ... 51.tar.bz2
=> `/usr/portage/distfiles/glibc-fedora-20060501T0751.tar.bz2'
Resolving mirrors.tds.net... 216.165.129.134
Connecting to mirrors.tds.net|216.165.129.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:48:11 ERROR 404: Not Found.

!!! Couldn't download glibc-fedora-20060501T0751.tar.bz2. Aborting.
ithaca kerberos #

what is i use this "emerge -av dev-lang/php"
instead of this one "emerge -auNDvt php"

would i have the samae effect?
Top
llongi
Retired Dev
Retired Dev
User avatar
Posts: 459
Joined: Thu Apr 15, 2004 8:32 pm
Location: Switzerland
Contact:
Contact llongi
Website

  • Quote

Post by llongi » Thu Jul 20, 2006 3:47 pm

Yes, for the purpose of enabling something in PHP, a simple "emerge -av dev-lang/php" will do it. The "emerge -auNDvt" is total overkill here, that will: a) update all your packages (u flag) b) try to re-emerge all packages with changes in their USE flag status (N flag) c) do a deep dependency resolution for the updates (D flag)... All this is not needed for simply enabling something in one package. :)
Best regards, Luca.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

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