Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: bakedjake
I remembered how to use 'cd' and was able to find my way to the right place but I don't know how to run a script through a command line. I tried guessing with 'run update.php' - but I got an error, I think it was 'command not found'.
I did a search for putty commands but didn't see anything - I could have been looking in the wrong place.
What is the command and syntax to run a php script though a command line with putty?
Navigate to the directory as you did before and run a php command:
I tried that and I get:
Sorry! This version requires php5; you are running 4.3.9.
If you are sure you already have php5 installed, it may be installed in a different path from php4. Check with you system administrator.
But I'm not - according to a page with 'phpinfo();' - its 5.2.0. Is it possible to do something like: