Share » Forums » Developer » What processes require PHP command-line?

What processes require PHP command-line?

What processes require PHP command-line?

Friday 11 April 2003 11:53:48 am - 3 replies

Modified on Friday 11 April 2003 11:54:15 am by Peter Bailey

Author Message

Paul Borgermans

Friday 11 April 2003 12:28:56 pm

None as far as I can see, provided you can live with a command-line browser (like lynx) or wget + some rewrite rules to run the cron jobs with these tools.

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Peter Bailey

Thursday 17 April 2003 7:45:54 am

I got this answer in another thread: some of the workflows (such as approval) require a cron, therefore need the non-apache PHP

Paul Borgermans

Thursday 17 April 2003 8:23:08 am

That's one way (using the command line php),

another one is to configure the apache rewrite rules to directly execute the cron php file (not letting it pass through the index.php script) when called over http. So no commandline php necessary. You can configure a cronjob entry with lynx or wget performing the http request to the cronjob's php file and dumping the output to /dev/null or some log file. I used that in the early days of ezp 2.2.X, now I compile me own php module and command-line client.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu