In linux fileinfo extension installation, the following error prompt, what is the meaning (Baidu over, cannot find the answer) [root@AY130324201613791bcaFileinfo-1.0.4] # peclinstallfileinfoWARNING: & quot; pearFileinfo & quot; isdeprecatedinfavor... when fileinfo extension is installed in linux, the following error message is displayed, indicating what it means (Baidu has passed and cannot find the answer)
[Root @ AY130324201613791bca Fileinfo-1.0.4] #Pecl install fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of "channel: // php-src/ext/fileinfo/in php sources"
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" to update
Downloading Fileinfo-1.0.4.tgz...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
... Done: 5,835 bytes
3 source files, building
WARNING: php_bin/alidata/server/php/bin/php appears to have a suffix/bin/php, but config variable php_suffix does not match
Running: phpize
Cannot find config. m4.
Make sure that you run '/alidata/server/php/bin/phpize' in the top level source directory of the module
ERROR: 'phpize' failed
This sentence
Make sure that you run '/alidata/server/php/bin/phpize' in the top level source directory of the module
Reply content:
When fileinfo extension is installed in linux, the following error message is displayed, indicating what it means (Baidu has passed and cannot find the answer)
[Root @ AY130324201613791bca Fileinfo-1.0.4] #Pecl install fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of "channel: // php-src/ext/fileinfo/in php sources"
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" to update
Downloading Fileinfo-1.0.4.tgz...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
... Done: 5,835 bytes
3 source files, building
WARNING: php_bin/alidata/server/php/bin/php appears to have a suffix/bin/php, but config variable php_suffix does not match
Running: phpize
Cannot find config. m4.
Make sure that you run '/alidata/server/php/bin/phpize' in the top level source directory of the module
ERROR: 'phpize' failed
This sentence
Make sure that you run '/alidata/server/php/bin/phpize' in the top level source directory of the module
Somehow your pecl program does not find the phpize path
Then try the manual installation:
1. Check the phpize path first.which phpize
(Assume that \ use \ bin \ phpize)
2. Select the Fileinfo extension version you need (this is the latest version ).wget http://pecl.php.net/get/Fileinfo-1.0.4.tgz
)
3. tar-xvf Fileinfo-1.0.4.tgz & cd Fileinfo-1.0.4 & \ use \ bin \ phpize
4. Add the absolute path of Fileinfo extension to php. ini as prompted.
5. php-m. Check whether the extension is loaded.