Phpize introduction. Phpize is a part of php-devel. it mainly sets some settings of the php plug-in module. for example, your php does not support mysql, mbstring, and other instance applications: the php5.2.6 environment, mysql extension phpize is not supported in php-devel. it is mainly used to set some settings of the php plug-in module.
For example, your php does not support mysql or mbstring.
Instance application:
The php5.2.6 environment does not support mysql extension
Assume that the php source code package is in the/usr/local/src/php-5.2.6
The php installation directory is/usr/local/php.
# Cd/usr/local/src/php-5.2.6
# Cd./ext/mysql
#/Usr/local/php/bin/phpize
#./Configure-with-php-config =/usr/local/php/bin/php-config
# Make
# Make install
At this time, you will see that mysql. so is copied to a directory, copy mysql. so to the path pointed to by your extension_dir, and add extension = mysql. so in php. ini.
Restart the web server and check phpinfo. mysql is supported!
Note: Some errors may be prompted when executing/usr/local/php/bin/phpize, for example, Cannot find autoconf. install the relevant software according to the error prompt, the RHEL series uses yum-y install autoconf.
Other errors. please leave a message to me!
Therefore, php-devel related suites can be installed with phpize (files are pre-stored in/usr/bin/phpize)
The phpize command is used to prepare the compiling environment of the PHP plug-in module. In the following example, the source program of the plug-in module is located in the extname Directory:
# Cd extname
# Phpize
#./Configure (note 1)
# Make
# Make install
After successful installation, extname. so is created and placed in the directory of the PHP plug-in module (pre-stored in/usr/lib/php/modules ).
You must adjust php. ini and add extension = extname. so to use this plug-in module.
From miyae
Http://www.bkjia.com/PHPjc/478278.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/478278.htmlTechArticlephpize is a php-devel in the thing, mainly set some php plug-in module settings such as your php does not support mysql, mbstring and other instance applications: environment php5.2.6, mysql extension not supported...