Results 1 to 5 of 5

Thread: Can't find PHP4 path!

  1. #1
    Join Date
    Jun 2005
    Location
    Chicago Suburb
    Beans
    69
    Distro
    Ubuntu 6.10 Edgy

    Can't find PHP4 path!

    I've been trying to find the path to PHP(4) for practically half an hour now. I can't seem to find it! It's running fine on my system, but I set up Trac and want to point it to the php path for its mimeviewer. I looked everywhere, does anyone know how to find the php path and/or where it is by default?

  2. #2
    Join Date
    Jun 2005
    Location
    Chicago Suburb
    Beans
    69
    Distro
    Ubuntu 6.10 Edgy

    Re: Can't find PHP4 path!

    Found the problem. There was no path to it! I had to do install php4-cli (the command-line interface), which wasn't included with the initial php4 package. I now have /usr/bin/php and /usr/bin/php4



    Hope this may help somebody else..

  3. #3
    Join Date
    Jul 2006
    Location
    Israel
    Beans
    154
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Can't find PHP4 path!

    Code:
    sudo updatedb
    locate php4
    "You've tried the rest, now experience the best!"

    Leonardo Juszkiewicz

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: Can't find PHP4 path!

    Quote Originally Posted by dudinatrix View Post
    Found the problem. There was no path to it! I had to do install php4-cli (the command-line interface), which wasn't included with the initial php4 package. I now have /usr/bin/php and /usr/bin/php4



    Hope this may help somebody else..
    Wow, thanks dudinatrix, after exactly 5 hours of trying to figure out why i didnt seem to have the php4 binary even though i did an apt-get install php4 it is finally working!

    now if only i could get that 5 hours back and use it for productive work rather than fighting php the entire time :/

  5. #5
    Join Date
    Jul 2008
    Beans
    5

    Re: Can't find PHP4 path!

    thx helped me too

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •