Zabbix page php bcmath parameter fail problem resolution

Source: Internet
Author: User

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/92/56/wKioL1j-s-vx568lAAI2CY7PG9s881.png-wh_500x0-wm_ 3-wmp_4-s_2717131835.png "title=" 111.png "alt=" Wkiol1j-s-vx568laai2cy7pg9s881.png-wh_50 "/>

Open the Zabbix page and modify the php.ini configuration file. The PHP bcmath parameter was found to have no effect after modification.

Tip: #PHPbcmath extension Missing (PHP configuration parameter--enable-bcmath)

Resolution Steps

1 Installing PHP Bcmath

Yum Install *bcmath*--skip-broken

2 Restart PHP discovery after installation does not work, check the data Discovery Bcmath after the installation is complete, you need to recompile

Into the PHP unpacked package/usr/local/php extracted directory/ext/bcmath

My path to/usr/local/php5620/ext/bcmath

Execute the following command/usr/local/php-5.6.20/bin/phize

./configure--with-php-config=/usr/local/php/bin/php-config

And then execute

Make

Make install

A path is generated when the execution is complete

/usr/local/php-5.6.20/lib/php/extensions/no-debug-non-zts-20131226/(this path is different for everyone) after entering found a bcmath.so file in this directory

Then find the path to configure Extension_dir configuration in php.ini to copy bcmath.so to this path. Then restart PHP

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/92/57/wKioL1j-ubTyCLh8AACawb1GKKQ154.png-wh_500x0-wm_ 3-wmp_4-s_1298476361.png "title=" 222.png "alt=" Wkiol1j-ubtyclh8aacawb1gkkq154.png-wh_50 "/>

Zabbix page php bcmath parameter fail problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.