简体   繁体   中英

Running PHP from Command Line Interface

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

Type:

php /cli/moveattachments.php

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

Then press the return key.

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM