PHP doesn't install ''addtype'' in httpd.conf

started at 10 Aug 2008 by mastertk
  • mastertk
    10 Aug 2008

    I am new in the webserver installing on mac.
    I have a mac mini (1.83GHZ) and I have installed mysql and apache with success,
    I installed everything within the root account.
    But when i compile php it doesn't add these two lines in httpd.conf

    AddType application/x-httpd-php .php .phtml
    AddType application/x-httpd-php-source .phps

    The strange thing is that this line does get added:

    LoadModule php5_module modules/

    I used PHP 5.2.6
    And Apache 2.2.9
    and mysql: Mac OS X 10.5 (x86) 5.0.67
    With the source file: Compressed GNU TAR archive (tar.gz) 5.0.67

    I hope someone can tell me how to solve this problem.

    KInd Regards, Thomas

  • Richard
    10 Aug 2008

    Please add them yourself, restart Apache and then everything should work.

  • mastertk
    11 Aug 2008

    Ok thanks.

Topic Closed

This topic has been closed to new replies.