LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > PHP build manually through SSH not working

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2009, 08:38 AM
capbiker capbiker is offline
Member
 
Join Date: May 2008
Posts: 29
Default PHP build manually through SSH not working

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:-

Quote:
-bash: /buildphp_manual_run.sh: No such file or directory
root@mydomain [/usr/local/lsws/phpbuild]#
I have checked and buildphp_manual_run.sh is actually present in that directory so I don't know why it is not being executed for.

cap
Reply With Quote
  #2  
Old 08-31-2009, 12:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
command should be.
Quote:
./buildphp_manual_run.sh
Reply With Quote
  #3  
Old 09-04-2009, 12:56 PM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:24 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.