Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php and gd for ifmonitor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 12, 2002 2:37 pm    Post subject: php and gd for ifmonitor Reply with quote

Hi all,

please help me! I've got a problem with installing ifmonitor on
gentoo. Ifmonitor is watching /proc for informations of the network
interfaces and logging them to mysql. This part works fine, but the
php pages don't work. The author is using gd to build the graph of the
interfaces.

<? phpinfo() ?> tells it's build with gd and all image types are
enabled.
http://magus.homeftp.org/test.php

If I log into the error_log I see this line:
[Fri Jul 12 17:13:15 2002] [notice] child pid 8292 exit signal Segmentation fault (11)

every time I go on the page where the graph/images are build!

In the FAQ of ifmonitor the author told to but this line:
extension=gd.so in the php.ini file. But gd.so doesn't exist on
my gentoo box. ;(

If already done a 'emerge apache dev-lang/php mod_ssl --emptytree -p'

All libs are rebuild (zlib and so on ...)

Does anyone knows a solution? Thanks .....

Best regards,
Magnus


Last edited by MaGuS on Fri Jul 12, 2002 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Fri Jul 12, 2002 3:53 pm    Post subject: Reply with quote

Hi all again,

I've tested some other php stuff which use imagelibs, like phpinv. The
author builds images with: print "<img src=\"$url?hash=$hash&action=graph&script=category.php\">";

and this also results in:
[Fri Jul 12 18:39:56 2002] [notice] child pid 9100 exit signal Segmentation fault (11)

I don't have an idear what it could be. ;(

Regards,
Magnus
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Wed Jul 17, 2002 8:06 pm    Post subject: Reply with quote

Any solutions found yet? I think I have the same problem. I can't get the images in ifmonitor to work either. But I also can't find anything on gd in the config file or de phpinfo. I emerge php with a "gd" setting in de USE variables (don't know if it has any effect, probably not). So if you have it working, I'm all ears :P
Back to top
View user's profile Send private message
masaclaw
n00b
n00b


Joined: 18 Jul 2002
Posts: 23
Location: Welly, NZ

PostPosted: Thu Jul 18, 2002 3:41 am    Post subject: Reply with quote

Try this:

https://forums.gentoo.org/viewtopic.php?t=8603

-Tom
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Thu Jul 18, 2002 8:37 am    Post subject: Reply with quote

Yeehaa! that worked! :P :P
Back to top
View user's profile Send private message
masaclaw
n00b
n00b


Joined: 18 Jul 2002
Posts: 23
Location: Welly, NZ

PostPosted: Thu Jul 18, 2002 11:31 am    Post subject: Reply with quote

Glad to hear it :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum