CyberPanel Community

How to Add php version 5.4 to cyberpanel on ubuntu 20.04

ya
yayyo #1

Hello,

Please how i can add php version 5.4 to cyberpanel on ubuntu 20.04.

anyone can help me please.

Thank you in advance

2 replies
NK
Nitesh Kunnath #2

Ubuntu doesnt support php5 lately because of some major changes done to the OS development.

Currently Centos7, 8 and Almalinux supports it. You can try these OS for php5 support.

Ka
Kais #3

Best solution is to port applications to use PHP7, but maybe there is a solution for your question:

But I did not know if this can work. Never tried it. So my hints:

  1. Install PHP5.6. under your Ubuntu 20.04 like described here:
  1. Compile you PHP Version to use with LiteSpeed webserver:

https://www.litespeedtech.com/support/wiki/doku.php/archive:php:lsapi

Don´t know if this works. Try it on your own risk. And maybe it doesn´t work with cyberpanel without do some “tricks”

Sign in to reply