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

phpstudy默認(rèn)不支持64位php的解決方法

 更新時(shí)間:2017年02月20日 09:16:32   投稿:jingxian  
下面小編就為大家?guī)?lái)一篇phpstudy默認(rèn)不支持64位php的解決方法。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧

備忘一下:

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

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

丟進(jìn)去之后,把名字改短一點(diǎn),停掉并重啟phpstudy,會(huì)自動(dòng)加載剛丟進(jìn)去的php版本,切換過(guò)來(lái)即可。

我用的是nginx+php,其他類(lèi)型如APACHE, IIS 等 未嘗試

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

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

相關(guān)文章

最新評(píng)論