Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple apache2+php+mysql+phpmyadmin CONF.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
antsel
n00b
n00b


Joined: 12 Feb 2007
Posts: 22

PostPosted: Thu Feb 15, 2007 1:09 pm    Post subject: Simple apache2+php+mysql+phpmyadmin CONF. Reply with quote

I want to emerge apache2+php4&php5+mysql+phpmyadmin on my fresh gentoo install.
What lines should I put to these files? ::
/etc/make.conf
/etc/portage/package.use
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Thu Feb 15, 2007 1:59 pm    Post subject: Reply with quote

http://gentoo-wiki.com/HOWTO_Apache2_with_PHP_MySQL
http://overlays.gentoo.org/proj/php/
http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml

Use flags you will find are very important to apache/php configuration.

what I use for php specifically is
Code:
echo dev-lang/php "apache2 berkdb bzip2 calendar cgi cli crypt ctype curl curlwrappers exif flatfile force-cgi-redirect ftp gd gdbm gmp imap inifile ipv6 kerberos ldap memlimit mhash mssql mysql ncurses nls odbc pcntl pcre pic posix postgres readline reflection sasl session simplexml snmp soap sockets spell ssl sysvipc threads truetype unicode wddx xml xmlrpc xsl yaz zip zlib -adabas -apache -bcmath -birdstep -cdb -cjk -concurrentmodphp -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filepro -firebird -frontbase -gd-external -hardenedphp -hash -hyperwave-api -iconv -informix -interbase -iodbc -java-external -libedit -mcve -ming -msql -mysqli -oci8 -oci8-instant-client -pdo -pdo-external -qdbm -recode -sapdb -sharedext -sharedmem -solid -spl -sqlite -sybase -sybase-ct -tidy -tokenizer -vm-goto -vm-switch -xmlreader -xmlwriter -xpm" >> /etc/portage/package.use


I just use
Code:
echo net-www/apache ldap mpm-worker >> /etc/portage/package.use
For apache and make sure atleast apache2 is in make.conf
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum