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!

Possible to select different PHP versions for subdomains and folders?

Discussion in 'CloudLinux' started by electric, Sep 9, 2017.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    731
    Likes Received:
    3
    Trophy Points:
    318
    We have several different subdomains created. How can we use PHP Selector to set the PHP version/options for each subdomain or folder?

    (We're using the mod_lsapi handler.)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sysdop

    sysdop Member

    Joined:
    Sep 10, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    International
    cPanel Access Level:
    Root Administrator
    @electric You apply it for each subdomain as well as for each domain, if you make use of the code that is inserted in the .htaccess I think that as much you can manually do it by folder. But even what I have done, subdomains and domains from the options provided by cPanel.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Haym likes this.
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