查看linux系统是64位还是32位

法1:

root@debian:~# file /sbin/init 
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
 
法2:
root@debian:~# getconf LONG_BIT
32
 
 

上一篇: PHP扩展发送邮件smtpmail   下一篇: Windows系统VS编译PHP源码5.3

提交疑问

回顶部