[Pnp4nagios-users] PHP GD Extension not available
Jatin Davey
jashokda at cisco.com
Fri Mar 26 06:29:47 CET 2010
Hi
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:
1. rpm -q php
php-5.3.2-1.fc10.remi.x86_64
2. rpm -q php-gd
php-gd-5.3.2-1.fc10.remi.x86_64
After that i restarted the apache web server using the command: service
httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Mar 25 09:13:16 2010] [warn] module php5_module is
already loaded, skipping
[ OK ]
When i scroll to the pnp4nagios link using : http://x.x.x.x/pnp4nagios/
Here i am still seeing that the php-gd extension is not available.
Please let me know how to proceed next ?
Thanks
Jatin
On 3/25/2010 7:17 PM, Franky Van Liedekerke wrote:
> On Thu, Mar 25, 2010 at 2:04 PM, Jatin Davey <jashokda at cisco.com
> <mailto:jashokda at cisco.com>> wrote:
>
> Ok , here is the list of modules loaded in the file that you have
> indicated:
>
> LoadModule auth_basic_module modules/mod_auth_basic.so
> LoadModule auth_digest_module modules/mod_auth_digest.so
>
> ...
>
> LoadModule file_cache_module modules/mod_file_cache.so
> LoadModule mem_cache_module modules/mod_mem_cache.so
> LoadModule cgi_module modules/mod_cgi.so
>
>
> Please let me know what to do next.
>
> Thanks
> Jatin
>
>
> The php-gd extension has nothing to do with apache configuration
> itself. It is totally within php. Do try the following command:
>
> rpm -q php-gd
>
> 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:
>
> # download the remi rpm file itself
> wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
> # install the remi repo (by default disabled)
> rpm -Uvh remi-release-5*.rpm
> # now upgrade php and install php-gd
> yum -y --enablerepo=remi install php php-gd
>
> Afterwards, restart apache to reload the new php version and addons.
> 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:
>
> <?php
> phpinfo();
> ?>
>
> 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"
>
> Hope this helps,
>
> Franky
>
>
> ------------------------------------------------------------------------------
> Download Intel® 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.
> http://p.sf.net/sfu/intel-sw-dev
>
>
> _______________________________________________
> Pnp4nagios-users mailing list
> Pnp4nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100326/67e22061/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® 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.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list