Re:PHP Must Die
by jrockway on Saturday January 09, 2010 @11:40PM
(#1042661)
Installing mod_php:
apt-get install libapache2-mod-php5
a2enmod php
Installing mod_perl:
apt-get install libapache2-mod-perl2
a2enmod perl
But, in general, running app code in the webserver is a bad idea. This is why everyone uses fastcgi in production, and why every web framework (except PHP) ships a standalone dev server for development work.
PHP is the one that's hard to use now, unless you are developing on an already-configured system.
PHP is the one that's hard to use now, unless you are developing on an already-configured system.