Results 1 to 3 of 3

Thread: PHP 5 through htaccess?

  1. #1
    Join Date
    Mar 2008
    Posts
    2

    Default PHP 5 through htaccess?

    My settings have php4 as the primary app on my site, but I'm trying to direct apache to use php5 on one of my sub-domains.

    I modified my htaccess file with the following line

    Code:
    AddType x-mapp-php5 .php
    Fully expecting this to work, it didn't. Any ideas how I can make this happen?

  2. #2
    Join Date
    Sep 2006
    Location
    The Wasatch Front
    Posts
    171

    Default

    Try using this instead:

    Code:
    AddHandler application/x-httpd-php5 .php

  3. #3
    Join Date
    Mar 2008
    Posts
    2

    Default

    Great! Thank you. I don't know why I didn't try that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •