WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PHP 8  (Read 2479 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
PHP 8
« on: December 26, 2020, 07:20:14 AM »
PHP 8 is out in the wild now. I am testing 32 and 64-bit versions. To all the PHP users, any requests? I'm trying to decide between naming the extension php8 and managing it like I do php7, or start with php80, then php81, and so on as minor releases come out, as I noticed with php7 that so-called minor releases were not really that minor.

Offline TT

  • Newbie
  • *
  • Posts: 45
Re: PHP 8
« Reply #1 on: December 26, 2020, 08:42:43 AM »
A humble suggestion would be to have it in x32 ABI (32-bit on stamina with 64-bit instructions). If, and only if, you have such a platform and freewill. Double-digit releases sound better, but why not having it as php$major.$minor? If php development increases tenfold, one would not to be confused ;) Thanks for heads-up, andyj.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: PHP 8
« Reply #2 on: December 26, 2020, 10:03:04 AM »
x32 ABI (32-bit on stamina with 64-bit instructions)
I don't know what this is. Why would we prefer it over all 32-bit or all 64-bit?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11229
Re: PHP 8
« Reply #3 on: December 26, 2020, 10:20:50 AM »
Hi andyj
It's not enabled in the kernel config:
Code: [Select]
# CONFIG_X86_X32 is not set

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10964
Re: PHP 8
« Reply #4 on: December 26, 2020, 10:33:44 AM »
X32 is a different ABI, a third option to 32 or 64. 32-bit pointers but 64-bit registers, giving more speed for apps that do not need >4gb ram. It needs a full rebuild, and almost no distro supports it.
The only barriers that can stop you are the ones you create yourself.

Offline TT

  • Newbie
  • *
  • Posts: 45
Re: PHP 8
« Reply #5 on: December 26, 2020, 12:47:50 PM »
Thanks for clarification. I'm going to give the x32 ABI a spin once I am comfortable with compiling the kernel under TCL on my own - since I'm considering the TCL the ideal distribution for this for its unrivaled frugality, simplicity, and remarkable boot time. Having that x32 ABI icing on the top of such a great distribution and a minimal number of system libraries to recompile would be a thrill.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11229
Re: PHP 8
« Reply #6 on: December 26, 2020, 05:37:24 PM »
Hi TT
... once I am comfortable with compiling the kernel under TCL on my own ...
The following link is a writeup I did on compiling a kernel, packaging kernel modules, and creating a new core.gz:
http://forum.tinycorelinux.net/index.php/topic,23797.msg149402.html#msg149402

What I built is core64.gz (not corepure.gz). That's 64 bit kernel modules + 32 bit rootfs running under a 64 bit kernel.
If you have any questions, please start a new thread.