Manual:32-bit

This page is provisional while working on a warning for the installer

Known issues
Known issues with 32-bit PHP:
 * large values in 'bigint' fields in the databases, such as row IDs for very large sites, will fail to be interpreted correctly.
 * This can affect folks importing Wikipedia databases to local installations.
 * uploaded files larger than 4 gigabytes are not possible
 * available memory usage may be limited

Is it safe to ignore?
As of 2017, if you're running a small or modestly-sized site and not importing any data from Wikipedia, you may not actually encounter any problems from using a 32-bit PHP and it will probably work.

However be aware that at some point this may change, and 64-bit servers may be required in future.

How to fix it

 * If your CPU is 32-bit, you're stuck with 32-bit PHP.
 * If your CPU is 64-bit but your operating system is 32-bit, you must update to a 64-bit operating system.
 * If your operating system is 64-bit but your PHP is 32-bit (this is most common on Windows), you may need an alternate PHP installer. If there is a separate 64-bit installer where you got your PHP, choose that.
 * FIXME: check if 64-bit PHP on Windows actually handles 64-bit integers or if it's stuck at 32-bit "long" type