View Poll Results: Did you need multiple PHP versions feature?

Voters
4. You may not vote on this poll
  • Yes, that would make happy many of my clients

    4 100.00%
  • No, I don't need it yet

    0 0%
Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2016
    Posts
    16
    Points
    844
    Level
    11

    Question Multiple PHP versions

    Is multiple PHP versions feature available?
    I see on https://www.interworx.com/ideas/
    This feature Added to bug tracker.

    Name:  Screenshot_309.jpg
Views: 216
Size:  40.7 KB

  2. #2
    Join Date
    Apr 2012
    Posts
    2,179
    Points
    24,207
    Level
    68
    Hi khairil

    Yes, Iw devs are working on it but there is no time scale for delivery of multi php versions

    Hopefully, it may not be to far away

    Many thanks

    John

  3. #3
    Join Date
    May 2004
    Location
    Miami
    Posts
    1,279
    Points
    23,139
    Level
    66
    Check out this thread for more info on getting this done. This is in no way official, but I tested on a server I was decommissioning after moving to a new server and it did the job.

    http://forums.interworx.com/threads/...-1-on-CentOS-7
    [ JUSTIN ]
    [ OFF unit ]
    [ WEB DESIGN / DEVELOPMENT, GRAPHIC DESIGN, OTHER STUFF
    ]

  4. The Following User Says Thank You to Justec For This Useful Post:


  5. #4
    Join Date
    Apr 2012
    Posts
    2,179
    Points
    24,207
    Level
    68
    Hi Justin

    Many thanks, I was rushed yesterday and completely forgot about your working multi php. Kudos to you

    Many thanks

    John

  6. #5
    Join Date
    May 2010
    Location
    Newcastle upon Tyne, UK
    Posts
    92
    Points
    5,494
    Level
    31
    The above link looks good! Would be really nice to see InterWorx actually make some effort to integrate such a thing into the panel, perhaps with some InterWorx approved PHP repos.

    Jon


    Sent from my iPhone using Tapatalk
    “Invention, my dear friends, is 93% perspiration, 6% electricity, 4% evaporation, and 2% butterscotch ripple...”

  7. #6
    Join Date
    Apr 2012
    Posts
    2,179
    Points
    24,207
    Level
    68
    Hi hacman

    I would be surprised if Iw gave Iw repos for php for this, as it's standard php used, but it depends upon the integration of multiphp I think, as the exact method of integrating is unknown until it hits beta

    I know Iw we're working on this prior to Justin's thread, which I forwarded the thread to Iw to make sure Iw were aware.

    As always, I could be wrong, so I apologise in advance but kudos to justec.

    Many thanks

    John

  8. #7
    Join Date
    May 2004
    Location
    Miami
    Posts
    1,279
    Points
    23,139
    Level
    66
    I still have my testing VPS cloud server setup with Iworx on CentOS 7, so I think I'll give my link above another try with that (since that was on CentOS 6). I don't think it should work any different, but can't hurt to double check.
    [ JUSTIN ]
    [ OFF unit ]
    [ WEB DESIGN / DEVELOPMENT, GRAPHIC DESIGN, OTHER STUFF
    ]

  9. The Following User Says Thank You to Justec For This Useful Post:


  10. #8
    Join Date
    Apr 2012
    Posts
    2,179
    Points
    24,207
    Level
    68
    Hi Justin

    Many thanks, and look forward to your update

    Many thanks

    John

  11. #9
    Join Date
    Jul 2016
    Posts
    16
    Points
    844
    Level
    11
    Hello All,

    Thanks for replying my thread,

    Currently my server also have multiple PHP versions 5.6, 7.0 and 7.1 with Litespeed web server.
    I just following this tutorial: https://www.litespeedtech.com/suppor...-control-panel

    Now my clients can switch php version, they only need write this code on .htaccess file

    For PHP 5.6
    AddHandler application/x-httpd-php5 php
    For PHP 7
    AddHandler application/x-httpd-php7 php
    For PHP 7.1
    AddHandler application/x-httpd-php71 php
    I hope on new multiple php feature, Interworx will support litespeed web server.
    Last edited by Khairil Gunawan; 01-31-2017 at 04:43 AM.

  12. The Following 2 Users Say Thank You to Khairil Gunawan For This Useful Post:


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •