1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice
  1. Blondie63

    Blondie63 Guest

    0
     
    I've Plesk Panel 10.3.1 and i'm Admin
    Some days ago, on one My Space Web site i've added a job like this "cron/job.php" that does'nt work and i receive an email with this message: -: php: command not found

    why i cannot use php command ? path problem ? permission problem ?

    Someone can help me ?? :)

    Thanks

    Mauro
     
    Last edited by a moderator: Aug 31, 2011
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did you try to specify full path to php?
     
  3. Blondie63

    Blondie63 Guest

    0
     
    can you give me an example of full path for php ?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    For example - /usr/bin/php
     
  5. Blondie63

    Blondie63 Guest

    0
     
    this the message:

    -: /usr/bin/php: No such file or directory
     
  6. sid61

    sid61 Basic Pleskian

    23
    57%
    Joined:
    May 8, 2007
    Messages:
    29
    Likes Received:
    0
    I have exactly the same and today i install instead Debian5 now Ubuntu 10.4 - Both Systems are new setup, but cron dont found the path /usr/bin/php !!! THIS IS A BUG BY PLESK !!
    I have installed now two different Systems Debian5/Ubuntu10.4
    And the Error is after fresh install in both Systems. Bootstrapper does nothing repair, so What is it now. Where can we look, where can we edit.

    The Software uses the same Path (php info) /usr/bin/php and will work fine.
    So if PHP not there (but it is !) then why work the script and cron not.

    So how can we fix this for the moment (dirty or not) - without cron Jobs, my Software dont want run correct !

    Thanks Sven
     
  7. swewing

    swewing Guest

    0
     
  8. Blondie63

    Blondie63 Guest

    0
     
    fail

    I've tried to lunch this command as root user but fail:

    myhost:~$ /usr/local/psa/bin/server_pref -u -crontab-secure-shell "/bin/sh"

    Could not open Repository at "/etc/sw/keys": Cannot open file
    Unable to connect to database: get_admin_password() failed: file_get_contents() failed:


    my server is: psa v10.3.1_build1013110726.09 os_Ubuntu 10.04

    what's wrong ?

    Mauro
     
Loading...