Using php5 with apache2-mpm-worker: # apt-get install apache2-mpm-worker libapache2-mod-fcgid note: this command will remove apache2-mpm-prefork and libapache2-mod-php5 # apt-get install php5-cgi php5-cli # vim /etc/apache2/sites-available/default ... AddHandler fcgid-script .php FCGIWrapper /usr/lib/cgi-bin/php5 .php Options Indexes MultiViews FollowSymLinks ExecCGI AllowOverride All Order allow,deny allow from all ... :wq # /etc/init.d/apache2 restart test with browser: http://localhost/phpinfo.php
Page 1 of 1