: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/usieve/stoopidsimple.com/includes/common.inc on line 1782.
: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/usieve/stoopidsimple.com/includes/common.inc on line 1782.
Gentoo + Apache2 + PHP | stoopidsimple.com

Gentoo + Apache2 + PHP

salem | 2005-08-11 02:00

Gentoo is a strange beast... It seems like many things were done differently just to be different. Gentoo places the configuration files Apache2 reads on startup in:

/etc/apache2/conf

The configuration files are then setup with <IfDefine> directives for loading specific modules. You must edit /etc/conf/apache2 to set an environment variable (APACHE2_OPTS) to include the PHP4 directive:

APACHE2_OPTS="-D PHP4"

Note that the APACHE2_OPTS line already exists in /etc/conf/apache2, it just needs to be uncommented and modified to include "-D PHP4"
After you have enabled the PHP4 define you can just restart the web server:

/etc/init.d/apache2 restart

Lfhex

Tonality

User login

Navigation

PHP

Kccmp

Java

Homestar

Slashdot


Advertisement