Default Site php

Discussion in 'Installation/Configuration' started by Ajazza, May 8, 2006.

  1. Ajazza

    Ajazza New Member

    Hi there,
    I have been playing around with installing ISPConfig..
    the one question I have is... if I install on a server that is accessible via.... for example

    how can I allow php to run on this site as I cannot add it via ISPConfig (site already exists). the default site is /var/www and will not be controlled by ISPConfig.

    Please Help
    Kind Regards
  2. falko

    falko Super Moderator ISPConfig Developer

    You must add the appropriate Apache directives for PHP to that site's vhost conatainer in the Apache configuration, e.g.
    AddType application/x-httpd-php .php .php3 .php4 .php5
    and restart Apache.

Share This Page