For those people who cannot complete @Tomalak answers:
Check if there are spaces in your directory ( ) If so, you need to attach them to. "
"C:\Path\to php file\php.exe" -f "C:\Path\to php file\file.php"
And if it still does not work, check file.php if there are files in it.
include("file2.php"); include_once("file2.php");
Remove it. And if the required file in your file.php really needed, try moving the / script code from the included file to your main file.
Logan Wayne Oct 07 '15 at 0:52 2015-10-07 00:52
source share