欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

phpstudy默認不支持64位php的解決方法

 更新時間:2017年02月20日 09:16:32   投稿:jingxian  
下面小編就為大家?guī)硪黄猵hpstudy默認不支持64位php的解決方法。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧

備忘一下:

windows上用phpstudy比較簡便,但是其默認的php所有版本都是32位的,有坑,比如int最大值。

所以從php官網(wǎng) 點擊打開鏈接http://windows.php.net/download#php-7.0-nts-VC14-x64 , 下載一個64位的php7丟到phpstudy的php目錄下面去(和其他版本一起的那個目錄);

丟進去之后,把名字改短一點,停掉并重啟phpstudy,會自動加載剛丟進去的php版本,切換過來即可。

我用的是nginx+php,其他類型如APACHE, IIS 等 未嘗試

注意:PHP官網(wǎng)指出來了,只有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.

以上這篇就是小編分享給大家的全部內(nèi)容了,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論