Forums / Developer / What processes require PHP command-line?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

What processes require PHP command-line?

Author Message

Peter Bailey

Friday 11 April 2003 11:53:48 am

What are all the processes of Exponential that require the installaion of the non-apache version of PHP?

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