Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Help With SSH Command
post Jun 19 2012, 08:22 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 3
Joined: 19-June 12
Member No.: 17,665

I wonder if someone could help me, I am trying to run a script from the command line and need a little help. The file is located in the public_html/xp/regen-codebook.php folder of our server, I have tried the following command,

php regen-codebook.php -run public_html/xp

but get the following error, "Could not open input file: regen-codebook.php". I have changed the permissions on the file and that does not help.

Any ideas?
Go to the top of the page
+Quote Post
Start new topic
post Jun 19 2012, 02:24 PM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

If your current working directory is not where the file is located or if it isn't in your path environment then you will need to use the entire path in your command statement.
php /public_html/xp/regen-codebook.php -run public_html/xp
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th July 2018 - 12:49 PM