Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 5 of 5
  1. #1
    Oldbie
    Mr Webname's Avatar
    Join Date
    Jan 2003
    Location
    USA
    Posts
    3,899
    DNF$
    2,282
    Bank
    0
    Total DNF$
    2,282
    Donate  

    Path to PHP?

    Anyone tell me the way to simply establish the path to PHP on your server?

    Thanks

    And more ..... please see Post 3
    V
    Last edited by Mr Webname; 10-19-2004 at 12:31 PM.

  2. #2
    Exclusive Lifetime Member
    theparrot's Avatar
    Join Date
    Mar 2004
    Posts
    641
    DNF$
    36,545
    Bank
    0
    Total DNF$
    36,545
    Donate  

    Re: Path to PHP?

    Do you have shell access? If so try 'which php'.

    Else if you run phpinfo() it will show you a lot of into, not sure it it shows the path directly but I do know it shows the ini file locations from which you can usually dervive the path as being ../bin/php file that location. Also look at the --prefix option if any in the configure command it outputs. If there is one that will give you the path to append to bin/php
    else it is /usr/local/bin/php


    Also there does not have to be a path to php, it can be build in such a way that it is built into the webserver.
    Last edited by theparrot; 10-19-2004 at 10:55 AM.

  3. #3
    Oldbie
    Mr Webname's Avatar
    Join Date
    Jan 2003
    Location
    USA
    Posts
    3,899
    DNF$
    2,282
    Bank
    0
    Total DNF$
    2,282
    Donate  

    Re: Path to PHP?

    Thanks "which php" did it.
    I am trying to configure my Hivemail to pickup mail from my mailserver and I did have the path to php correct.
    I have a cron.php setup to do the pickup but get the following report emailed to the account:-
    Subject: Cron <email address> ./home/mysite/pop.cron.php
    /bin/sh: line 1: ./home/mysite/pop.cron.php: No such file or directory
    Anything obvious that sticks out?
    I've put the pop.cron.php almost everywhere and still get the same - I am working on a VPS with full WHM/CPanel.

  4. #4
    Exclusive Lifetime Member
    theparrot's Avatar
    Join Date
    Mar 2004
    Posts
    641
    DNF$
    36,545
    Bank
    0
    Total DNF$
    36,545
    Donate  

    Re: Path to PHP?

    Quote Originally Posted by Mr Webname
    Thanks "which php" did it.
    I am trying to configure my Hivemail to pickup mail from my mailserver and I did have the path to php correct.
    I have a cron.php setup to do the pickup but get the following report emailed to the account:-


    Anything obvious that sticks out?
    I've put the pop.cron.php almost everywhere and still get the same - I am working on a VPS with full WHM/CPanel.

    yeah, ./ makes it relative to where cron runs, try removing the '.'

  5. #5
    Oldbie
    Mr Webname's Avatar
    Join Date
    Jan 2003
    Location
    USA
    Posts
    3,899
    DNF$
    2,282
    Bank
    0
    Total DNF$
    2,282
    Donate  

    Thumbs up Re: Path to PHP?

    Quote Originally Posted by theparrot
    yeah, ./ makes it relative to where cron runs, try removing the '.'
    That's all it took - many thanks.

Similar Threads

  1. Free PHP email form
    By system0 in forum Website Development and Design Discussion
    Replies: 5
    Last Post: 02-24-2004, 12:00 PM
  2. Need a good PHP and mySQL programmer
    By CoolDot in forum Help Wanted!
    Replies: 0
    Last Post: 02-23-2004, 10:58 AM
  3. Im looking for some design jobs! need a new design or some php stuff?
    By Mo Money in forum Advertising and Related Offers
    Replies: 7
    Last Post: 02-24-2003, 09:03 AM
  4. a nice one: mysqlphp.com
    By in forum Domain Name Appraisal Discussion
    Replies: 2
    Last Post: 04-27-2002, 04:29 PM

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
  •  

Domain name forum recommended by Domaining.com