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.

Help locating a folder

  • 23-01-2008 02:58PM
    #1
    Registered Users, Registered Users 2 Posts: 357 ✭✭


    Bit of a beginner to the whole linux world.

    Using Ubuntu 7.10

    I need to find where the <php root>/php/include/php/ext/ folder is.

    I need to install rrd tool to this folder.

    I know how to install rrd tool but I'm just having trouble locating where the php/include/... folder is

    I've installed php5 with the apt-get

    Any help would be much appericated


Comments

  • Registered Users, Registered Users 2 Posts: 159 ✭✭magooly


    <?php
    phpinfo();
    ?>

    save the above to a file and execute it.
    ie php file.php
    should list your environment.


  • Registered Users, Registered Users 2 Posts: 357 ✭✭apoch632


    What path should I be looking for?


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


    I love locate. Do this:

    sudo updatedb
    then
    locate <filename>

    e.g. locate ext | grep php/include


  • Registered Users, Registered Users 2 Posts: 357 ✭✭apoch632


    Cheers for the help.

    Found out the folder wasn't there because I install PHP with apt-get.

    When I compiled the source the folder was there


Advertisement