What processes require PHP command-line?

Author Message

Peter Bailey

Friday 11 April 2003 11:53:48 am

What are all the processes of eZ publish 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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:58:23
Script start
Timing: Jan 18 2025 04:58:23
Module start 'layout'
Timing: Jan 18 2025 04:58:23
Module start 'content'
Timing: Jan 18 2025 04:58:23
Module end 'content'
Timing: Jan 18 2025 04:58:23
Script end

Main resources:

Total runtime0.0194 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0313152.6406
Module start 'layout' 0.00760.0045 740.671939.4766
Module start 'content' 0.01210.0052 780.148489.2734
Module end 'content' 0.01740.0020 869.421934.3047
Script end 0.0194  903.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002814.3943140.0002
Check MTime0.00136.4629140.0001
Mysql Total
Database connection0.00094.639710.0009
Mysqli_queries0.003719.063530.0012
Looping result0.00000.124010.0000
Template Total0.00168.410.0016
Template load0.00094.670410.0009
Template processing0.00073.687010.0007
Override
Cache load0.00063.270810.0006
General
dbfile0.00031.416880.0000
String conversion0.00000.061440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs