Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

RRDTool with PHP on Ubuntu

  • 13-04-2010 09:10PM
    #1
    Registered Users, Registered Users 2 Posts: 1,161 ✭✭✭


    Hi,

    Im following the tutorial at this link to install rrdtool and work with PHP.

    http://thirdroute.com/installing-rrd...ubuntu-server/

    Now I have successfully installed rrdtool but when it comes to getting the php extension working i come into problems.

    I downloaded the source for the extension and untarred it but im not sure if im putting the rrdtool folder in the right place.

    My php source isnt at /usr/include/php5/ext/

    It is at /etc/php5. I put the rrdtool folder in there from the extension i downloaded and tried sudo phpize but it said command not found.

    Any suggestions?


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    mossy464 wrote: »
    My php source isnt at /usr/include/php5/ext/

    It is at /etc/php5.

    Are you sure??? That sounds very unlikely. /etc would be a really bad place to have a source tree. It is where configuration is kept but usually nothing else.

    Just because you have PHP installed doesn't mean you have the PHP source installed.


  • Registered Users, Registered Users 2 Posts: 1,161 ✭✭✭mossy464


    I figured it out eventually. I was missing the php5-devel package. Its installed now anyway along with rrdtool and the php extension for RRDTool.

    RRDTool is gonna take a while to get my head around though. If only I had the luxury of time.


  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    mossy464 wrote: »
    I figured it out eventually. I was missing the php5-devel package. Its installed now anyway along with rrdtool and the php extension for RRDTool.

    RRDTool is gonna take a while to get my head around though. If only I had the luxury of time.

    I'll post a quick how-to later on. Its not too bad!


  • Registered Users, Registered Users 2 Posts: 1,161 ✭✭✭mossy464


    Cheers. I need it.


Advertisement