Home  >  Article  >  Backend Development  >  phpstudy does not support 64-bit php by default.

phpstudy does not support 64-bit php by default.

高洛峰
高洛峰Original
2017-02-21 15:15:072339browse

Memo:

It is easier to use phpstudy on windows, but all its default php versions are 32-bit , there are pitfalls, such as the maximum value of int.

So click to open the link http://windows.php.net/download#php-7.0-nts-VC14-x64 from the php official website, download a 64-bit php7 and throw it under the php directory of phpstudy ( The directory together with other versions);

After throwing it in, change the name to a shorter one, stop and restart phpstudy, the php version just thrown in will be automatically loaded, just switch it over.

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

Note: PHP official website pointed out that only Only 7 and above support 64-bit, the previous ones were all 32-bit

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.

The above article is all the content shared by the editor. I hope it can give you a reference, and I also hope you will support the PHP Chinese website.

For more related articles on how phpstudy does not support 64-bit PHP by default, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn