php install location

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
msw1970
Cacti User
Posts: 206
Joined: Tue Jan 09, 2007 8:28 am
Location: London, UK

php install location

#1 Post by msw1970 » Wed Jan 17, 2007 9:31 am

Hi

Can anyone advise where I can find my php root location on Linux. Apparently, to use the reportit plug-in I need to install PHP-Bindings, however, I can't find the location to do this.

Thanks

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#2 Post by gandalf » Wed Jan 17, 2007 1:06 pm

rpm -qa php -l|more
Reinhard

msw1970
Cacti User
Posts: 206
Joined: Tue Jan 09, 2007 8:28 am
Location: London, UK

#3 Post by msw1970 » Wed Jan 17, 2007 3:11 pm

Think I found this. I'm having trouble doing the php-bindings to get the reportit plug in working.

Copied the rrdtools folder to /var/lib/php and followed the instructions to configure and make and it keeps coming back saying the path to rrdtool is wrong or the installation is incomplete.

I know the path's right so I must be doing something wrong. Any ideas?

User avatar
browniebraun
Developer
Posts: 788
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

#4 Post by browniebraun » Thu Jan 18, 2007 1:57 am

Use the path to your installation of RRDtool (not the php-bindings):

e.g. if RRDtool is installed in /thishost/unix/cen/rrdtool-1.2.12:

./configure --with-rrdtool=/thishost/unix/cen/rrdtool-1.2.12
--with-php-config=/thishost/unix/cen/php/bin/php-config

In one case Frizz had a problem with RRDtool 1.2.15 that was installed in root.

./configure --with-rrdtool=/ --with-php-config=/thishost/unix/cen/php/bin/php-config

Best regards

Andreas

PS: Sorry for my late answer, I'm just learning for my oral examination next Monday. Then I'll start coding (integration of RRDServer) again.
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list

Post Reply