Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    166
    Whats shown in apache logs?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice