PHP build manually through SSH not working

Discussion in 'Install/Configuration' started by capbiker, Aug 31, 2009.

  1. capbiker

    capbiker Active Member

    I am currently trying to rebuild my PHP to 5.2.10 and I have followed the instructions for 4.0.10 and logged in through my SSH and when I try to run the file manually I always ma getting the following message:-

    I have checked and is actually present in that directory so I don't know why it is not being executed for.

  2. mistwang

    mistwang LiteSpeed Staff

    command should be.
  3. MikeDVB

    MikeDVB Well-Known Member

    mistwang is right.

    If you run /scriptnamehere it will try to run the file located directly in / (base folder) which if you do "ls / | grep scriptname" you will see it does not exist.

    "./" signifies the current directory. If you do "cd ." you will see that you don't change to a different directory so ./scriptnamehere will run the script in the current folder. You can do "ls ./ | grep scriptname" and you will see that the file shows up :)

Share This Page