tbaldur / cyberpanel-mods

Small changes to cyberpanel core installation
19 stars 7 forks source link

Php 8.2? #4

Closed master3395 closed 1 year ago

master3395 commented 1 year ago

Not sure if 8.2 is out for CyberPanel or OLS yet.

rafalohaki commented 1 year ago

image probably but there is still lack of some modules like ioncube, etc so its better to wait.

master3395 commented 1 year ago

Did you get 82 installed with CyberPanel? I still haven't got it installed, even if I upgrade my install.

image

tbaldur commented 1 year ago

Haven't tested it as well, currently not using cyberpanel

master3395 commented 1 year ago

What are you using?

rafalohaki commented 1 year ago

i installed cp on alma8, ran only cp installation, nothing more

master3395 commented 1 year ago

Did a few changes, but haven't tested yet @tbaldur https://github.com/master3395/cyberpanel-mods

tbaldur commented 1 year ago

@master3395 thank you. I tested the lsphp82 and at least for phpmyadmin it's working correctly. I will update the current script to your approach, easier to maintain

tbaldur commented 1 year ago

@master3395 refactored the phpmod.sh It now uses less redundancy as you did on yours and it will install the lsphp if it's missing Can you test it, please?

master3395 commented 1 year ago

Sure, i can test :)

master3395 commented 1 year ago

@master3395 refactored the phpmod.sh It now uses less redundancy as you did on yours and it will install the lsphp if it's missing Can you test it, please?

Does not seem to change anything. Tried all options, but no change at all.

image image

master3395 commented 1 year ago

It seems to have installed the latest php version, which I didn't even know was released. I thought Php 8.2.5 was the latest. image

tbaldur commented 1 year ago

Check this command: ls -la /usr/local/lscp/fcgi-bin/lsphp If it says the version that you changed to as the link, then it should be some cache going on (need to look)

master3395 commented 1 year ago

I did the command, and it does show 80 I deleted all cache on the IP, and logged in again. Still showing 74 on SnappyMail and PhpMyAdmin. image

tbaldur commented 1 year ago

Alright, going to do a fresh install of the latest version to see what's happening and why it's not using the version we changed

tbaldur commented 1 year ago

Alright, I found that restarting the lscpd service after the change is enough to make it work. Strange as it wasn't needed before. Added that change to the script imagem

master3395 commented 1 year ago

Did it show on SnappyMail also by restarting LSCPD?

Nvm, it did.

image image