On Thu, 30 Jun 2005, Raymond Baastad wrote:
> 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