<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I added remi repo and installed the latest versions in it , After
installation i executed the following to check whether they are
installed or not:<br>
<br>
1. rpm -q php<br>
php-5.3.2-1.fc10.remi.x86_64<br>
<br>
2. rpm -q php-gd<br>
php-gd-5.3.2-1.fc10.remi.x86_64<br>
<br>
After that i restarted the apache web server using the command: service
httpd restart <br>
Stopping httpd:                                            [  OK  ]<br>
Starting httpd: [Thu Mar 25 09:13:16 2010] [warn] module php5_module is
already loaded, skipping<br>
                                                           [  OK  ]<br>
<br>
When i scroll to the pnp4nagios link using : <a class="moz-txt-link-freetext" href="http://x.x.x.x/pnp4nagios/">http://x.x.x.x/pnp4nagios/</a><br>
Here i am still seeing that the php-gd extension is not available.
Please let me know how to proceed next ?<br>
<br>
Thanks<br>
Jatin<br>
<br>
On 3/25/2010 7:17 PM, Franky Van Liedekerke wrote:
<blockquote
 cite="mid:60567dcc1003250647n456cae07w253ca917f0dad3d0@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Thu, Mar 25, 2010 at 2:04 PM, Jatin Davey
  <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:jashokda@cisco.com">jashokda@cisco.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ok
, here is the list of modules loaded in the file that you have
indicated:<br>
    <br>
LoadModule auth_basic_module modules/mod_auth_basic.so<br>
LoadModule auth_digest_module modules/mod_auth_digest.so<br>
  </blockquote>
  <div> </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">...</blockquote>
  <div> </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">LoadModule
file_cache_module modules/mod_file_cache.so<br>
LoadModule mem_cache_module modules/mod_mem_cache.so<br>
LoadModule cgi_module modules/mod_cgi.so<br>
    <br>
    <br>
Please let me know what to do next.<br>
    <br>
Thanks<br>
    <font color="#888888">Jatin</font><br>
  </blockquote>
  <div><br>
The php-gd extension has nothing to do with apache configuration
itself. It is totally within php. Do try the following command:<br>
  <br>
rpm -q php-gd <br>
  <br>
If this doesn't give any output, it is not installed. If it does, it
must be at least of a high enough version (mine is php-gd-5.3.2 on
RHEL5). On RHEL servers, I use the remi repository to update php to a
reasonable version and install php-gd next to it:<br>
  <br>
# download the remi rpm file itself<br>
wget <a moz-do-not-send="true"
 href="http://rpms.famillecollet.com/enterprise/remi-release-5.rpm">http://rpms.famillecollet.com/enterprise/remi-release-5.rpm</a><br>
# install the remi repo (by default disabled)<br>
rpm -Uvh remi-release-5*.rpm<br>
# now upgrade php and install php-gd<br>
yum -y --enablerepo=remi install php php-gd<br>
  <br>
Afterwards, restart apache to reload the new php version and addons.<br>
To check wether php has the gd module activated, create a simple
php-file (called eg. test.php) and put the following php code in it:<br>
  <br>
<?php<br>
phpinfo();<br>
?><br>
  <br>
When you call this test.php from your webserver, you should find a
gd-specific section and the first line of it should say "GD Support"
with value "enabled"<br>
  <br>
Hope this helps,<br>
  <br>
Franky<br>
  </div>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a></pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pnp4nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pnp4nagios-users@lists.sourceforge.net">Pnp4nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users">https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users</a>
  </pre>
</blockquote>
</body>
</html>