Suphp
De Admin -- TALEVAS.
4. Alternative 3: PHP4 and PHP5 CGI with suPHP
Install PHP4 and PHP5
Add cgi and force-cgi-redirect USE flag to /etc/portage/package.use:
Code Listing 4.1: /etc/portage/package.use
=dev-lang/php-4* cgi force-cgi-redirect =dev-lang/php-5* cgi force-cgi-redirect
Emerge PHP4 and PHP5:
Code Listing 4.2: emerge PHP
emerge '=dev-lang/php-4*' '=dev-lang/php-5*'
Note: Putting force-cgi-redirect into your USE flags is recommended for security.
Install mod_suphp
Code Listing 4.3: emerge mod_suphp
emerge mod_suphp