时时商务社区

标题: phpstudy默认不支持64位php的解决方法 [打印本页]

作者: bewin83    时间: 2018-2-14 05:27

            备忘一下:
windows上用phpstudy比较简便,但是其默认的php所有版本都是32位的,有坑,比如int最大值。
所以从php官网 点击打开链接http://windows.php.net/download#php-7.0-nts-VC14-x64 , 下载一个64位的php7丢到phpstudy的php目录下面去(和其他版本一起的那个目录);
丢进去之后,把名字改短一点,停掉并重启phpstudy,会自动加载刚丢进去的php版本,切换过来即可。
我用的是nginx+php,其他类型如APACHE, IIS 等 未尝试
注意:PHP官网指出来了,只有7以上才支持64位,以前的都是32位的
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.
以上这篇就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。
            
            
您可能感兴趣的文章:
  • phpStudy 2011 简体中文版(A B版)
  • 关于Windows 不能在 本地计算器 启动 Apache2(phpstudy)
  • phpStudy访问速度慢和启动失败的解决办法
  • phpStudy中升级MySQL版本到5.7.17的方法步骤
  • phpStudy配置多站点多域名和多端口的方法
  • phpstudy的php版本自由修改的方法
            




    欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2