I'm using PHP compiled by Marc Liyanage at http://www.entropy.ch/ (I think it's an Apache module). It works great in every respect, however, I would like to run .php files with cron and have tried using cronnix to do this but have had no luck.
I was using the shebang line #!/usr/bin/php which has worked on virtual web hosting accounts on linux in the past.
Now, there's no "php" in /usr/bin/php only "php-config" "phpextdist" "phpize" and "phptar".
So how do I execute "test.php". Is it possible with the apache module version of PHP or does it need to be the CGI version. And where is php, if in the terminal I go "whereis sendmail" I get "/usr/sbin/sendmail", but if I do "whereis php" I get nothing!
Regards
Zimbop
I was using the shebang line #!/usr/bin/php which has worked on virtual web hosting accounts on linux in the past.
Now, there's no "php" in /usr/bin/php only "php-config" "phpextdist" "phpize" and "phptar".
So how do I execute "test.php". Is it possible with the apache module version of PHP or does it need to be the CGI version. And where is php, if in the terminal I go "whereis sendmail" I get "/usr/sbin/sendmail", but if I do "whereis php" I get nothing!
Regards
Zimbop