Tag:sans config font top Restart Pack ttext ble phpize
install PHP enable Bcmath and GetText (can be added when PHP is installed--
enable-bcmath--
enable-gettext)
1,bcmath Installation Method
Bcmath This extension is available in the PHP source installation package, which needs to be recompiled before it can be supported;
CD Php-5.2.7/ext/bcmath (source package)
/usr/local/ Php/bin/phpize (compiled)
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make Install (make can get so path/usr/local/php/lib/php/extensions/no-debug-zts-20100525/)
Copy the file under so path to the extension path /usr/local/php/lib/php/extensions
Vim php.ini (/usr/loacal/php/etc/php.ini)
Extension=bcmath.so (Echo "Extension=bcmath.so" >>/usr/local/php/etc/php.ini)
Restart Apache
2.gettext Installation method
This installation is a dynamic installationPHPof theGetTextExpansion Modulesin thePHPin the source file, enterExt/gettext
CD Ext/gettext
/usr/local/php/bin/phpize
./configur–with-php-config=/usr/local/php/bin/php-config
Make && make install( makecan get so path/usr/local/php/lib/php/extensions/no-debug-zts-20100525/)
Copy the so path file to the extension path/usr/local/php/lib/php/extensions
Vim PHP.ini (/usr/loacal/php/etc/php.ini)
Extension=gettxt.so (echo "extension=gettext.so" >>/usr/local/php/etc/php.ini)
Apachectl stop
Apachectl start
Restart Apache
Installation after PHP information is missing in Zabbix