Important information in phpinfo, nts, x86

Important information in phpinfo, nts, x86

When we use phpinfo, most of the time we check whether the module is installed, but other important information is ignored. For example, why can't my extension be installed? What does the long list of downloaded extensions mean? nts x86 5.5 and so on, these are important information, especially for installing extensions! 
write picture description here

Several important parameters above:

compiler :编译器
Architecture :CPU架构
Configuration File (php.ini) Path :php配置文件的位置,这里才是你的配置文件加载的真正地方,apache的同学小心了!
Thread Safety :线程安全与否
PHP Extension Build :php拓展建立的编号
  • 1
  • 2
  • 3
  • 4
  • 5

The above parameters are related to whether you can install extensions, so look carefully! There are many options when downloading the extension .dll file, and the options in that correspond to those here! 
For example, the following: 
just take one to analyze:

php_igbinary-1.2.1-5.3-nts-vc9-x86.zip
  • 1

It means: the php_igbinary extension of version 1.2.1 is suitable for php version 5.3 and above. This extension compiled by vc9 does not support thread safety and can be used on x86 cpu architecture. Note that 64-bit machines can also be used! But not the other way around.

write picture description here

Is it much clearer? I encountered this problem when installing redis.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325188749&siteId=291194637