Page 1 of 1

PHP Interpreters for arm64

Posted: Thu 19. Sep 2024, 19:52
by elementary
First of all, thank you for the KeyHelp free panel. It's a great piece of engineering.

I know this has been brought up before but I'll try again.

I understand that the devs won't invest in maintaining PHP builds for arm64 if it's not a company priority.

However, cloud deployments to arm64 instances I would imagine are of increasing interest to hosters and users.

Is there any guidance please on how one may add other PHP versions to KeyHelp itself in a sane and correct way?

Thank you.

Re: PHP Interpreters for arm64

Posted: Fri 20. Sep 2024, 06:48
by Henning
+1

Re: PHP Interpreters for arm64

Posted: Fri 20. Sep 2024, 09:08
by Ralph
One possibility would be to specify a choice: "use of compiled PHP packages" or those "from sury.org" (for all PHP versions).

The sury.org PHP packages have been running very stable for > 10 years ... and even if a problem occurs, it was solved within a few hours (at least within 24 hours).
https://github.com/oerdnj/deb.sury.org/issues

Re: PHP Interpreters for arm64

Posted: Mon 23. Sep 2024, 10:10
by Alexander
I plan to do some tests this week regarding the compilation on arm64 systems.

Re: PHP Interpreters for arm64

Posted: Mon 23. Sep 2024, 19:17
by 24unix
Alexander wrote: Mon 23. Sep 2024, 10:10 I plan to do some tests this week regarding the compilation on arm64 systems.
Whats the point not to use the packages from Sury?
The ones delivered by Debian/Ubuntu also are maintained by him, and they are used by default.

Re: PHP Interpreters for arm64

Posted: Wed 9. Oct 2024, 10:38
by Alexander
I finally found the time to compile and test it on an emulated arm64 system. It works :D.
Now all I need is some real arm hardware. The emulated one is way too slow.

Re: PHP Interpreters for arm64

Posted: Wed 9. Oct 2024, 14:09
by tab-kh
Good news! :) Unfortunately, I can't offer my main ARM64 server, because there are too many third party data on it. If noone else can provide an appropriate server I might consider to rent another (smaller, 6C+8GB should do?) ARM64 server for a month for this purpose.

Re: PHP Interpreters for arm64

Posted: Wed 9. Oct 2024, 14:49
by Alexander
Thank you ;). But don't worry, I'll take care of requesting the new hardware from within the company.

Re: PHP Interpreters for arm64

Posted: Wed 9. Oct 2024, 14:58
by 24unix
Alexander wrote: Wed 9. Oct 2024, 14:49 Thank you ;). But don't worry, I'll take care of requesting the new hardware from within the company.
I don't know if you already made up your mind about the hardware, but I have 2 ARM64 vm running on a Mac Studio with UTM, one with KeyHelp, works like a charm.

Re: PHP Interpreters for arm64

Posted: Wed 9. Oct 2024, 15:12
by tab-kh
Alexander wrote: Wed 9. Oct 2024, 14:49 Thank you ;). But don't worry, I'll take care of requesting the new hardware from within the company.
Ok, that's preferable, of course. ;)

Re: PHP Interpreters for arm64

Posted: Tue 29. Oct 2024, 08:55
by jannisgo
Hi! Thanks for the activity here around the topic of PHP@ARM. @Alexander: Could you just post a "current state" on this topic? I am currently planning a migration of my hosting server from netcup x64 to hetzner ARM. I'm not in a hurry, just want to know if I can already start creating and setting up the server or if it will take some time.

Best regards!

Re: PHP Interpreters for arm64

Posted: Tue 29. Oct 2024, 09:21
by Alexander
Hello,

the hardware is on its way and I should have the hardware setup ready by next week. Software-wise I already have everything in place.
Then I need to build the interpreter for all supported OS. I've tested it on Ubuntu 24 and it works fine, so I don't expect any problems with the OS/OS versions.

Theoretically, you could then install them on ARM. The only remaining issue is that your KeyHelp 24.2 version will always tell you (Configuration -> PHP Interpreters) that there are no interpreters available for your system. This will change with KeyHelp 24.3. But I do not have an ETA for this version yet. However, I could upload a file to make it work with 24.2 here when I have the interpreters ready.

Re: PHP Interpreters for arm64

Posted: Thu 2. Jan 2025, 01:59
by hzm120
i agree, using arm64 is must faster as well i use it from OCI.. how ever there is no add-ons for this for PHP 7.x > PHP 8.X this should be a thing as AAPanel as this options.. The only issue i have is the email server not working - so am working a bypass for it as we speak just to get it working with Keyhelp but i doubt i can due to issues i been having...

Hope Keyhelp as ideas for arm64 and not just worry on AMD64 and not giving us arm64 users more features.. I know arm64 is limited and hope we can change it..

Re: PHP Interpreters for arm64

Posted: Thu 2. Jan 2025, 08:56
by Tobi
hzm120 wrote: Thu 2. Jan 2025, 01:59
möp, möp, möp
Did you read the post right before yours?

Re: PHP Interpreters for arm64

Posted: Wed 12. Mar 2025, 14:59
by elementary
I would just like to thank @Alexander for picking up on this request and his tremendous work in shipping ARM based PHP interpreters as standard in version 25.0+.

This enhancement builds upon what is already an excellent world class control panel.

Thank you.