PHP selector per domain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • franco.tauceri
    Junior Member
    Forum Explorer
    • Mar 2021
    • 11

    #1

    PHP selector per domain

    Is there any way there a client can choose the php version per domain?
  • apb
    Senior Member
    • Feb 2018
    • 386

    #2
    Yes, the following articles should help you to set this up:
    https://www.cloudlinux.com/cloudlinu...g-php-selector
    https://www.cloudlinux.com/cloudlinu...sing-mod-lsapi

    Comment

    • apb
      Senior Member
      • Feb 2018
      • 386

      #3
      So right now there is no way a customer can setup per directory php versions using php chooser in cpanel (in the web gui) ?

      Comment

      • apb
        Senior Member
        • Feb 2018
        • 386

        #4
        It is possible to set per-domain PHP version in cPanel -> MultiPHP Manager (https://documentation.cpanel.net/dis...ger+for+cPanel)

        Comment

        • apb
          Senior Member
          • Feb 2018
          • 386

          #5
          In cPanel there is a MultiPHP Manager but in DirectAdmin there is no way by GUI to change PHP version per domain ?

          Comment

          • skhristich
            Senior Member
            • Nov 2019
            • 595

            #6
            > In cPanel there is a MultiPHP Manager but in DirectAdmin there is no way by GUI to change PHP version per domain ?

            Hello Mateusz,
            Thank you for reaching out! In this case, the selector replaces the "system" version, and MultiPHP replaces the version in the site directory. To work around you can use these tips here:
            https://cloudlinux.zendesk.com/hc/en...sing-mod-lsapi
            https://cloudlinux.zendesk.com/hc/en...es-using-suPHP
            Please let us know if you have any questions. Thanks in advance!

            Comment

            • skhristich
              Senior Member
              • Nov 2019
              • 595

              #7
              @Sergey Khristich: Thank you your reply. I would like to report feature request - ability to change PHP version per domain by simple GUI in DirectAdmin.

              Comment

              • skhristich
                Senior Member
                • Nov 2019
                • 595

                #8
                > @Sergey Khristich: Thank you your reply. I would like to report feature request - ability to change PHP version per domain by simple GUI in DirectAdmin.

                Hello Mateusz,
                Thank you for continuing. You can create a feature request via a ticket here https://cloudlinux.zendesk.com/hc/en-us/requests/new and technical experts will help you asap. If you have any other questions, feel free to ask here.
                Thank you for contacting us.

                Comment

                Working...