this is very simple question for some of you but I am having a hard time doing this. So I am using a mac and I connected to the ftp server through the terminal. $ ftp ftp.server.com after entering username and password I am connected and I see the ftp prompt ftp> Now I am trying to execute my php files here but it says invalid command, for example:
ftp> php test.php
what am I doing wrong? how do I run my php files in the remote server? ?invalid command
You can't use shell commands with ftp connection. Use "help" to show ftp commands
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.