Ad Widget

Collapse

Zabbix 1.8 and PHP 5.1.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrmurdock
    Member
    • Aug 2009
    • 85

    #1

    Zabbix 1.8 and PHP 5.1.6

    I know this has been discussed, however, when I make the changes to my server, the MB String checks ok, but the MB String Overload still fails and the php memory size and post size requirements fail. this is on a non-patched RHEL5 OS. ?? I have created and run the php checker and it is looking at the /etc/php.ini file.
  • mrmurdock
    Member
    • Aug 2009
    • 85

    #2
    * Edit /etc/php.ini and set the date and timezone (US/Mountain).
    * Edit /etc/php.ini and set the php.max_memory_size for 128M (for zabbix 1.8)
    * Edit /etc/php.ini and set the php.post_size for 16M (zabbix 1.8).
    * Edit /etc/php.ini and set the mb_string.overload to = 2 (zabbix 1.8)
    * Edit /home/zabbix/public_html/include/locales.inc.php and make the following changes for php 5.1.6.
    function_exists('mb_strtoupper') &&
    function_exists('mb_strpos') &&
    function_exists('mb_substr'); # &&
    # function_exists('mb_stristr') &&
    # function_exists('mb_strstr');

    Yes, include the M at the end of the values in php.ini, or it will be mis-construde as bytes (i.e. 128bytes instead of 128MB).

    Comment

    Working...