English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

phpstudy Does Not Support by Default64Solution for PHP

Memo:

Using phpstudy on Windows is relatively simple, butThe default php of all versions is32bitThere are some pitfalls, such as the maximum value of int.

Therefore, from the PHP official website, click to open the link http://windows.php.net/download#php-7.0-nts-VC14-x64 , download a64bit php7Drop it into the php directory under phpstudy (the directory with other versions);

After dropping it in, rename it to a shorter name, stop and restart phpstudy, it will automatically load the php version just dropped in, and switch to it.

I use nginx+php, other types such as APACHE, IIS, etc. have not been tested

Note: The PHP official website points out that only7The above supports64bit, the previous ones are32bit

x86_64 Builds

The x64 builds of PHP 5 for Windows are experimental, and do not provide 64-bit integer or large file support.

PHP 7 provides full 64-bit support. The x64 builds of PHP 7 support native 64-bit integers, LFS, 64-bit memory_limit and much more.

This article is all the content that the editor shares with everyone, hoping to give everyone a reference, and also hope that everyone will support and cheer for the tutorial.

You May Also Like