Find the answer to your Linux question:
Results 1 to 4 of 4
pastebin.com/FjxhKwrk Any ideas on what is happening?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    10

    Bash script error


    pastebin.com/FjxhKwrk


    Any ideas on what is happening?

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    Can you post the issue here ? So that it will act as reference for future users.

    /tmp/php: line 20: [FATAL]: command not found
    Any way above line shows you are missing some command- Do you have php installed.

    You can debug shell script by running it with -xe option. It will stop as soon as an error is encountered
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    10
    Quote Originally Posted by Lakshmipathi View Post
    Can you post the issue here ? So that it will act as reference for future users.


    Any way above line shows you are missing some command- Do you have php installed.

    You can debug shell script by running it with -xe option. It will stop as soon as an error is encountered
    I solved it. It only took to put echo before the `'php -p...

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    Glad you solved it yourself
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

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