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=15&rev2=16

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

  a2dismod php4
  }}}
  
- 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:
+ You're half done now. The last two things that need to be taken care of are 
to '''correct''' Debian's default PHP configuration for Apache. You can do this 
by editing /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
+ Change:
+ 
+ AddType application/x-httpd-php .php
+ 
+ to:
+ 
+ <FilesMatch .php$>
+   SetHandler application/x-httpd-php
+ </FilesMatch>
+ 
+ and save the changes.
  }}}
  And now you'll have to tell Apache to reload its configuration and thus 
enable PHP:
  {{{

Reply via email to