View previous topic :: View next topic |
Author |
Message |
antsel n00b
Joined: 12 Feb 2007 Posts: 22
|
Posted: Thu Feb 15, 2007 1:09 pm Post subject: Simple apache2+php+mysql+phpmyadmin CONF. |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Thu Feb 15, 2007 1:59 pm Post subject: |
|
|
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 |
|
|
|