The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dual php

Discussion in 'General Discussion' started by alluser, Nov 17, 2008.

  1. alluser

    alluser Member

    Joined:
    Dec 15, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Dual php is setup on our server.
    PHP 5.2.5 (default)
    PHP 4.4.9

    We need to set php4 for one folder (of a site) but we need php5 default for same site.
    http://domain.com/ --> php5
    http://domain.com/app_1 --> php5
    http://domain.com/app_2 --> php4

    We have tried to add the following line in .htaccess file to set php4 for one folder/application but got “Internal server error”.
    AddHandler application/x-httpd-php4 .php .php5 .php3

    Please assist.

    Thanks.
     
  2. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Whats shown in apache logs?
     
Loading...

Share This Page