《PHP編程:phpstudy默認不支持64位php的解決方法》要點:
本文介紹了PHP編程:phpstudy默認不支持64位php的解決方法,希望對您有用。如果有疑問,可以聯系我們。
PHP實戰備忘一下:
PHP實戰windows上用phpstudy比較簡便,但是其默認的php所有版本都是32位的,有坑,比如int最大值.
PHP實戰所以從php官網 點擊打開鏈接http://windows.php.net/download#php-7.0-nts-VC14-x64 , 下載一個64位的php7丟到phpstudy的php目錄下面去(和其他版本一起的那個目錄);
PHP實戰丟進去之后,把名字改短一點,停掉并重啟phpstudy,會自動加載剛丟進去的php版本,切換過來即可.
PHP實戰我用的是nginx+php,其他類型如APACHE, IIS 等 未嘗試
PHP實戰注意:PHP官網指出來了,只有7以上才支持64位,以前的都是32位的
PHP實戰x86_64 Builds
PHP實戰The x64 builds of PHP 5 for Windows are experimental, and do not provide 64-bit integer or large file support.
PHP實戰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.
PHP實戰以上這篇就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持維易PHP.
轉載請注明本頁網址:
http://www.snjht.com/jiaocheng/1715.html