0

I am trying to complete the upgrade tutorial for Kayako SupportSuite (a ticket/knowledge based system)

It states the following:- Execute the script by running php /cli/moveattachments.php.

Can anyone explain how I run this command from the command line? (I've never had to do it before) Thanks in advance

2
  • 1
    Where exactly are you stuck? Have you researched this yourself yet? Tried anything? Commented Mar 14, 2012 at 10:50
  • Sorry - my fault it was badly worded. I realise now I need to use SSH, I am just in the process of installing the software now. thanks again. Commented Mar 14, 2012 at 11:48

2 Answers 2

2

Type:

php /cli/moveattachments.php

(adjusting the path to match wherever you put the file)

Then press the return key.

Sign up to request clarification or add additional context in comments.

4 Comments

Definitely recommend not starting with the /
@Tom: Creating a cli directory off the root would be an odd thing to do, and not something I'd recommend, but it is possible that an earlier part of the instructions said to do that. I did say to adjust the path to wherever the file actually was.
a cursory google shows the command is allegedly as typed in the question
Can I just do the following cron command to run this in CPanel 11? 0 0 * * * php /cli/moveattachments.php
1

assuming you're on windows, click the window-button and 'R' and type 'CMD', you're then in a DOS prompt. There you can type your PHP command (php /cli/moveattachments.php)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.