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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    720
    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.)
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page