krish – 起死回生 [Wake up from death & return to life.]

February 5, 2010

Fixing PHP woes for Zabbix

For Zabbix server installation you may need to change one or more php directives depending on the version of Zabbix server being installed.

Here’s some that I had to change,


[root@zabbix ~]# egrep -i '(max_execution_time|date.timezone|mbstring.func_overload|memory_limit)' /etc/php.ini
max_execution_time = 300     ; Maximum execution time of each script, in seconds
memory_limit = 128M      ; Maximum amount of memory a script may consume
date.timezone = "America/New_York"
mbstring.func_overload = 2

Make sure that you remove the prefix “;” if you are changing an ignored directive and do not forget to restart httpd. :)

About these ads

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Please leave a Reply / Discuss this topic here :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: