URN Logo
UNIX Resources » Linux » Linux Forum » Gentoo Help » Page.10 » php module for Apache
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
php module for Apache
Subject: php module for Apache
Author: jasper    Posted: 2005-06-30 13:58:36    Length: 791 byte(s)
[Original] [Print] [Top]
Hi,

I'm running a webserver with Gentoo and Apache, no problems :)
But recently I've taught myself a little PHP, so I made a photo gallery
with PHP, and would like to put it on my server.
A friend of mine said that I need to install a PHP module, and from my
experience with SuSE Linux, there's a mod_php for Apache.

Unfortunately, when I do "emerge -a mod_php", the Portage system demands
me to install Xorg, which I don't want or need on my webserver...
There are some required library's depending on that package, but I
wonder why you have to install a (base) graphical system for using a PHP
module?
Also, can I avoid it some way by disabling some USE flags?

Thanks,

Jasper.

[Original] [Print] [Top]
Subject: php module for Apache
Author: Raymond Baastad    Posted: 2005-06-30 14:14:53    Length: 1,125 byte(s)
[Original] [Print] [Top]
jasper wrote:
QUOTE
Hi,

I'm running a webserver with Gentoo and Apache, no problems :)
But recently I've taught myself a little PHP, so I made a photo gallery
with PHP, and would like to put it on my server.
A friend of mine said that I need to install a PHP module, and from my
experience with SuSE Linux, there's a mod_php for Apache.

Unfortunately, when I do "emerge -a mod_php", the Portage system demands
me to install Xorg, which I don't want or need on my webserver...
There are some required library's depending on that package, but I
wonder why you have to install a (base) graphical system for using a PHP
module?
Also, can I avoid it some way by disabling some USE flags?

Try:

USE="-qt -gtk -gtk2 -X" emerge php mod_php

May have forgotten one or two, but you still get the drift...

--
/ray

[Original] [Print] [Top]
Subject: php module for Apache
Author: Whoever    Posted: 2005-06-30 14:58:53    Length: 1,198 byte(s)
[Original] [Print] [Top]
On Thu, 30 Jun 2005, Raymond Baastad wrote:

QUOTE
jasper wrote:
Hi,

I'm running a webserver with Gentoo and Apache, no problems :)
But recently I've taught myself a little PHP, so I made a photo gallery
with PHP, and would like to put it on my server.
A friend of mine said that I need to install a PHP module, and from my
experience with SuSE Linux, there's a mod_php for Apache.

Unfortunately, when I do "emerge -a mod_php", the Portage system demands
me to install Xorg, which I don't want or need on my webserver...
There are some required library's depending on that package, but I wonder
why you have to install a (base) graphical system for using a PHP module?
Also, can I avoid it some way by disabling some USE flags?

Try:

USE="-qt -gtk -gtk2 -X" emerge php mod_php

Assuming the OP never wants X, QT, etc. he should probably add these to
his USE flags in /etc/make.conf

[Original] [Print] [Top]
Subject: php module for Apache
Author: Sybren Stuvel    Posted: 2005-07-01 00:53:28    Length: 1,118 byte(s)
[Original] [Print] [Top]
Raymond Baastad enlightened us with:
QUOTE
USE="-qt -gtk -gtk2 -X" emerge php mod_php

DO NOT use environment variables like that. It'll break the next time
OP wants to upgrade those packages. Use /etc/make.conf, or
/etc/portage/packages.use for package-specific USE flags.

Also, OP only wants mod_php, and that is what should be emerged. Let
Portage handle the dependencies. That way, if he ever wants to unmerge
mod_php, php can be cleaned by Portage.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
                                             Frank Zappa

[Original] [Print] [Top]
« Previous thread
Apache fails to compile
Gentoo Help
Page. 10
Next thread »
gentoo for sparc 4
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 13:18:19, cost 0.035467863082886 ms.