Quote:
Originally Posted by MrSako
because normaly dont you need php files to be accesed through the webserver(apache) for them to run?
|
Not necessarily. Many PHP scripts do need to be run by the web server, but it depends on the details of the script.
If you have the command-line PHP interpreter installed (it may or may not be packaged with the Apache module), then you can run a script from the command line like this:
Code:
php /path/to/yourscript.php