Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The "DebianPHP" page has been changed by thumbs.
http://wiki.apache.org/httpd/DebianPHP?action=diff&rev1=14&rev2=15

--------------------------------------------------

  
  You're half done now. The last two things that need to be taken care of are 
to '''correct''' Debian's [and php.net's] default PHP configuration for Apache. 
You can do this by typing:
  {{{
- sed -r 's/AddType/AddHandler/g' -i /etc/apache2/mods-available/php5.conf
+ sed -r 's/AddType application/x-httpd-php .php/<FilesMatch .php$>\nSetHandler 
application\/x-httpd-php\n<\/FilesMatch>/g' -i 
/etc/apache2/mods-available/php5.conf
  }}}
  And now you'll have to tell Apache to reload its configuration and thus 
enable PHP:
  {{{

Reply via email to