Solved

PHP 5 issue

Posted on 2010-09-08
7
950 Views
Last Modified: 2012-05-10
I am in a middle of installing a Centreon Web front end for my nagios server. i keep running into one issue.
Component      Status
PHP Version 5.x      OK (ver 5.2.6-3ubuntu4.5)
PHP Extension       
   MySQL              OK
   GD                    Critical: gd.so not loaded in php.ini
   LDAP              OK
   XML Writer      OK
   MB String      OK
   PHP-POSIX      OK
   PEAR      OK
Writable Nagios Config Directory      OK

php5-gd is installed, this is running on a ubuntu Virtual machine, Any idea how to fix the GD error. Also here is the infor from phpinfo page.


System      Linux nagios-desktop 2.6.28-19-generic #61-Ubuntu SMP Wed May 26 23:35:15 UTC 2010 i686
Build Date      Jan 6 2010 21:56:40
Server API      Apache 2.0 Handler
Virtual Directory Support      disabled
Configuration File (php.ini) Path      /etc/php5/apache2
Loaded Configuration File      /etc/php5/apache2/php.ini
Scan this dir for additional .ini files      /etc/php5/apache2/conf.d
additional .ini files parsed      /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/ldap.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mssql.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_dblib.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
PHP API      20041225
PHP Extension      20060613
Zend Extension      220060519
Debug Build      no
Thread Safety      disabled
Zend Memory Manager      enabled
IPv6 Support      enabled
Registered PHP Streams      zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports      tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters      string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

0
Comment
Question by:Eugenes18t
  • 4
  • 3
7 Comments
 
LVL 16

Accepted Solution

by:
Bryan Butler earned 500 total points
ID: 33630763
Have you try reloading the modules:

apt-get install php5-gd
apt-get install gdlib-dev apt-get install-dev gdlib
0
 
LVL 16

Expert Comment

by:Bryan Butler
ID: 33630767
And rebooting afterwards.
0
 
LVL 2

Author Comment

by:Eugenes18t
ID: 33631152
Yes i have done both of those things
0
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 
LVL 16

Expert Comment

by:Bryan Butler
ID: 33631510
If you are running on 64bit, you may need the 64bit module(s).
0
 
LVL 2

Author Comment

by:Eugenes18t
ID: 33631649
Nope, running 32 bit 9.04, i am downloading CentOS right now and will try to do a fresh install on anew vm and just move my nagios config files over, as I have all the probes setup already.
0
 
LVL 16

Assisted Solution

by:Bryan Butler
Bryan Butler earned 500 total points
ID: 33704052
Any luck?  It may be a VM issue.  Have you tried on a non-VM?
0
 
LVL 2

Author Comment

by:Eugenes18t
ID: 33890180
closing Q
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now