Zabbix Installation tips php gettext off Warning

Source: Internet
Author: User
Tags gettext

There are two possibilities of this error

    1. You compile the installation is not the time to specify this library--with-gettext

    2. You installed the system and did not find

How to Solve

    1. Recompile plus--with-gettext

2. Compiling php dynamic Extension Library

In the first case, we're not going to mention it.

Basically, the second kind

First enter the PHP source package

Enter the Ext directory and we'll find a gettext module.

Execute the following command

/application/php5.3.27/bin/phpize # /application/php5.3.27/ PHP installation path depends on your installation path

./configure--with-php-config=/application/php5.3.27/bin/php-config

Make && make install

/application/php5.3.27/lib/php.ini #根据自己系统安装路径而定

Add gettext.so to the php.ini.

Extension = "gettext.so"

Restarting PHP will be OK.

If you install this library but not, you can edit the php.ini to add the path.

#根据自己系统安装路径而定

Add gettext.so to the php.ini.

Extension = "gettext.so"

Put him in.

This article is from the "Tomxia" blog, make sure to keep this source http://tomxia.blog.51cto.com/2842856/1720047

Zabbix Installation tips php gettext off Warning

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.