Project

General

Profile

Actions

TutorialLighttpdAndPHP » History » Revision 13

« Previous | Revision 13/91 (diff) | Next »
Anonymous, 2006-01-01 23:10


= Lighttpd and PHP =
`Startingpoint` Lighttpd is already [wiki:TutorialInstallation installed and working]
PHP and FastCGI
First of all you need a PHP which is providing FastCGI support. Depending on your
distribution you might already have it: === ArchLinux ===
Read http://wiki.archlinux.org/index.php/Fastcgi_and_lighttpd === MeawNix === {{{
  1. cd /pkg
  2. milk install php.meaw
    }}} === FreeBSD === {{{
    $ cd /usr/ports/www/php-cgi
    $ make install clean
    }}} === Gentoo ===
    Add the USE flag 'fastcgi' to compile php with fastcgi support. {{{
  3. emerge php-cgi
    }}} === Debian ===
    Debian provides (at least in Sarge) a fastcgi enabled version - though it's called php4-cgi. {{{
  4. apt-get install php4-cgi
    }}} === Others ===
    Download a source tar-ball from http://www.php.net/ and configure it with at least this settings: {{{
    $ ./configure \
    --enable-fastcgi \
    --enable-discard-path \
    --enable-force-redirect
    }}}
    If you want to have the same PHP as you are using in a mod_php configuration somewhere else call {{{

    }}}

Updated by Anonymous over 19 years ago · 91 revisions