edoceo

Apache Installation & Configuration


Adding mod_php §

Ensure that USE="apache2" is set for dev-lang/php and emerge

[ebuild   R   ] dev-lang/php-5.3.3-r1  USE="-adabas apache2 bcmath berkdb -birdstep bzip2 \
    -calendar cdb cgi -cjk cli -concurrentmodphp crypt ctype curl -curlwrappers -db2 -dbmaker \
    -debug -doc -embed -empress -empress-bcs -enchant -esoob -exif fileinfo filter -firebird \
    -flatfile -fpm -frontbase ftp gd -gd-external gdbm gmp hash iconv imap inifile -interbase \
    -intl -iodbc ipv6 json -kerberos -kolab ldap -ldap-sasl -libedit -mssql -mysql -mysqli \
    -mysqlnd nls -oci8 -oci8-instant-client -odbc pcntl pdo phar -pic posix postgres -qdbm \
    readline -recode -sapdb session -sharedext sharedmem simplexml snmp soap sockets -solid \
    spell sqlite -sqlite3 ssl -suhosin -sybase-ct sysvipc -threads -tidy tokenizer truetype \
    unicode -wddx xml xmlreader xmlrpc xmlwriter -xpm -xsl zip zlib" 0 kB

Update /etc/conf.d/apache to include -D PHP5 in the Apache opts. Check configurations in /etc/apache2/ and /etc/php/apache2-php5/.

Adding php-cgi §

Ensure that USE="cgi" is set for dev-lang/php and emerge

[ebuild   R   ] dev-lang/php-5.3.3-r1  USE="-adabas apache2 bcmath berkdb -birdstep bzip2 \
    -calendar cdb cgi -cjk cli -concurrentmodphp crypt ctype curl -curlwrappers -db2 -dbmaker \
    -debug -doc -embed -empress -empress-bcs -enchant -esoob -exif fileinfo filter -firebird \
    -flatfile -fpm -frontbase ftp gd -gd-external gdbm gmp hash iconv imap inifile -interbase \
    -intl -iodbc ipv6 json -kerberos -kolab ldap -ldap-sasl -libedit -mssql -mysql -mysqli \
    -mysqlnd nls -oci8 -oci8-instant-client -odbc pcntl pdo phar -pic posix postgres -qdbm \
    readline -recode -sapdb session -sharedext sharedmem simplexml snmp soap sockets -solid \
    spell sqlite -sqlite3 ssl -suhosin -sybase-ct sysvipc -threads -tidy tokenizer truetype \
    unicode -wddx xml xmlreader xmlrpc xmlwriter -xpm -xsl zip zlib" 0 kB

Adding mod_python §

See Also

Loading Comments from Disqus...