简体   繁体   中英

Running a .php file from the command line?

I want run a .php file in the command line, but I can't.

When I get to the file and want to run was opened with IDE:

>cd c:\wamp\www\GXC-CMS-2-master\GXC-CMS-2-master

core\cms\cms.php

Should certain system settings to do?

你应该这样做:

C:\path\to\php.exe file.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