View Single Post

   
  #2 (permalink)  
Old 02-21-2008, 11:09 AM
Raymond Baastad
 
Posts: n/a
Default Re: php module for Apache

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

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

--
/ray

Reply With Quote