Page 1 of 1

How to execute a PHP file outside of Apache?

PostPosted: 24. July 2008 22:08
by ToXiCaTioN.d
I know that this is possible because in Linux you use:

Code: Select all
/usr/bin/php -q .....


So, how do I execute a PHP file outside of Apache? I am making a calendar script with scheduled tasks. So, is there anyway of doing this with Windows? Also, I have tried this:

Code: Select all
CD C:\xampp\PHP\
php -q C:\xampp\htdocs\file.php


Thanks and kind regards.