Ad Widget

Collapse

php error messasge after install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • net_nok
    Junior Member
    • Jul 2012
    • 3

    #1

    php error messasge after install

    Hi

    I have just installed Zabbix on a CentOS system.

    How do I fix this?

    Thanks in advance.

    When I login I get:

    putenv() [<a href='function.putenv'>function.putenv</a>]: Safe Mode warning: Cannot override protected environment variable 'LC_ALL' [include/config.inc.php:179]
    putenv() [<a href='function.putenv'>function.putenv</a>]: Safe Mode warning: Cannot override protected environment variable 'LANG' [include/config.inc.php:180]
    putenv() [<a href='function.putenv'>function.putenv</a>]: Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list [include/config.inc.php:181]

    php.ini:
    [root@ns3 ~]# cat /etc/php.ini
    [PHP]
    engine = On
    zend.ze1_compatibility_mode = Off
    short_open_tag = On
    asp_tags = Off
    precision = 14
    y2k_compliance = On
    output_buffering = 4096
    zlib.output_compression = Off
    implicit_flush = Off
    unserialize_callback_func=
    serialize_precision = 100
    allow_call_time_pass_reference = Off
    safe_mode = Off
    safe_mode_gid = Off
    safe_mode_include_dir =
    safe_mode_exec_dir =
    safe_mode_allowed_env_vars = PHP_
    safe_mode_protected_env_vars = LD_LIBRARY_PATH, LANG, LC_ALL
    disable_functions =
    disable_classes =
    expose_php = Off
    max_execution_time = 300
    max_input_time = 300
    post_max_size = 16M
    memory_limit = 128M
    date.timezone = EST

    Thanks,
  • net_nok
    Junior Member
    • Jul 2012
    • 3

    #2
    Can any one help?

    Comment

    Working...