How to execute a PHP file outside of Apache?
Posted: 24. July 2008 22:08
I know that this is possible because in Linux you use:
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:
Thanks and kind regards.
- 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.