#3046 - Drop 32-bit support (on hold)
0 guests and 0 members have recently viewed this.
The top 3 point earners from 23rd Nov 2025 to 30th Nov 2025.
| PDStig |
|
|
|---|---|---|
| Master Rat |
|
|
| cupper3 |
|
There are no events at this time
So we probably have to wait a while until we can realistically make a change.
OR, we could just throw out a warning at installation and say we don't support 32-bit officially and why, but let it continue to work for 99.999% of things.
If a user enters a huge value, PHP will lock it to it's maximum integer size.
However, we are using ints, not bigints, so it overflows trying to save into the DB.
Note that we can use bigints in MySQL even if MySQL is installed as 32 bit. So we don't need to check if MySQL is 64 or 32 bit at all.
- Desktop processors have not been 32-bit for at least 15 years
- ARM is dropping 32-bit support for new CPU designs in 2022
- Windows no longer supports 32-bit installs
- Ubuntu dropped 32-bit library support then back-tracked (so people can run old games)
- Linux Mint dropped 32-bit library support
- Mac migrated ages ago
So to me the only likely situations of running 32 bit would be:
- Older Raspberry Pis running 32-bit ARM chips
- People who weirdly install 32-bit PHP on 64-bit Windows (a build is still provided as of this date)
Probably we can leave this a few more years, we're still 17 years from 2038, so it's still unlikely people are going to use dates that far ahead.