Solved

PHP 5 issue

Posted on 2010-09-08
7
953 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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