Phpize is belong to the Php-devel, the main thing is to set the PHP plug-in module settings
For example, your PHP does not support MySQL, mbstring, etc.
Example application:
Environment php5.2.6, MySQL extension not supported
If PHP's source code package is/usr/local/src/php-5.2.6
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
This time you will see mysql.so copied to a directory, copy the mysql.so to your Extension_dir pointing path, add extension=mysql.so in php.ini
Restart the Web server, look at Phpinfo, should support MySQL, finished!
Note: Some errors may be prompted when executing/usr/local/php/bin/phpize, for example: Cannot find autoconf, which installs the relevant software according to the error, and the Rhel series uses yum-y install Autoconf can do it.
Other errors, please leave a message to me!
So install Php-devel related kit will have phpize can use (file presets stored in/usr/bin/phpize)
The Phpize command is used to prepare the compiler environment for the PHP plug-in module. In the following example, the source program for the plug-in module is located in the Extname directory:
# CD Extname
# phpize
#./configure (Note i)
# make
# make Install
A successful installation will be built extname.so and placed in the PHP plug-in module directory (preset to be stored in/usr/lib/php/modules/).
You need to adjust php.ini, add extension=extname.so this line before you can use this plug-in module.
Excerpted from Miyae
http://www.bkjia.com/PHPjc/478278.html www.bkjia.com true http://www.bkjia.com/PHPjc/478278.html techarticle Phpize is belong to the Php-devel, the main thing is to set some PHP plug-in module settings such as your PHP does not support MySQL, mbstring and other instances of the application: Environment php5.2.6, does not support MySQL extension ...