register globals and safe_mode

Author Message

Jindrich Rezac

Thursday 04 November 2010 12:07:54 pm

I'm having problems installing eZ Publish version 4.3 and 4.4. . One option appears to be an incorrect setting register_globals and safe_mode. I have read many articles in the forum, but the exact answer to how these two parameters PHP setting I could find. Most often both parameters should be set to OFF.
How to set both parameters for use eZ Publish?
P: S: In the administration of the System information is very often both of these parameters are wrongly placed in comparison with the settings on the server and dump the phpinfo.
And a reminder to look in the forum - the search result is not sorted, so I'm already old news hours discussing contributions of 5 or more years old.

Gaetano Giunta

Thursday 04 November 2010 2:54:46 pm

1 - go to the Setup / System Information page, click on the 'Details' link, look for the line where it says "Configuration File (php.ini) Path", note where your currently in use php.ini file is located

2- edit that file

3- look for the lines starting with "safe_mode" and "register_globals". Nb: lines starting with a semicolon are comments. If the lines are there, change them. Otherwise, add them:

safe_mode = Off

register_globals = Off

Principal Consultant International Business
Member of the Community Project Board

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:27:57
Script start
Timing: Jan 18 2025 04:27:57
Module start 'layout'
Timing: Jan 18 2025 04:27:57
Module start 'content'
Timing: Jan 18 2025 04:27:58
Module end 'content'
Timing: Jan 18 2025 04:27:58
Script end

Main resources:

Total runtime0.7359 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.4609152.6406
Module start 'layout' 0.00550.0030 742.101639.4844
Module start 'content' 0.00840.7258 781.5859522.7344
Module end 'content' 0.73420.0016 1,304.32038.3047
Script end 0.7358  1,312.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4597160.0002
Check MTime0.00140.1863160.0001
Mysql Total
Database connection0.00090.122610.0009
Mysqli_queries0.678892.2391540.0126
Looping result0.00050.0655520.0000
Template Total0.707796.220.3539
Template load0.00210.280520.0010
Template processing0.705795.894020.3528
Template load and register function0.00020.024910.0002
states
state_id_array0.00120.157610.0012
state_identifier_array0.00080.113820.0004
Override
Cache load0.00170.2243150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.105720.0004
Fetch class attribute name0.00110.150630.0004
XML
Image XML parsing0.00060.081820.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00110.1533160.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs