• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 961
  • Last Modified:

PHP 5 issue

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
Eugenes18t
Asked:
Eugenes18t
  • 4
  • 3
2 Solutions
 
Bryan ButlerCommented:
Have you try reloading the modules:

apt-get install php5-gd
apt-get install gdlib-dev apt-get install-dev gdlib
0
 
Bryan ButlerCommented:
And rebooting afterwards.
0
 
Eugenes18tAuthor Commented:
Yes i have done both of those things
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Bryan ButlerCommented:
If you are running on 64bit, you may need the 64bit module(s).
0
 
Eugenes18tAuthor Commented:
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
 
Bryan ButlerCommented:
Any luck?  It may be a VM issue.  Have you tried on a non-VM?
0
 
Eugenes18tAuthor Commented:
closing Q
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now