variables_order = "EGPCS"

Author Message

Ben Adamson

Wednesday 06 January 2010 6:05:50 pm

Hi, i'm a big newbie to php and most online programming.

Call me old school, the last thing I did was C++ on the good ol pentium 1s.

I'm trying to get my site up and running through my server, and I've run into a barrier with configuration.

The message is

" 1. PHP does not register environment variables

PHP is currently not configured to register enviroment variables in the global variable $_ENV.

"

The forums have the answer just add " variables_order = "EGPCS" in php.ini "

My question is HOW do I add this command. I've tried pasting it into the config.php but I get nothing but errors.

Whats the syntax or method for adding this line of code?

It's not in the config.php-reccomended.

Thank you well in advance!

ben

Pablo Pernot

Thursday 07 January 2010 12:10:07 am

Hello,

look at php.ini and not config.php

php.ini has nothing to do with config.php from ez.

should be in /etc/php5/...

put a file let say call phpinfo.php with

<?php phpinfo(); // one line is enough

open it with you browser, and seek the php.ini : Configuration File (php.ini) Path

If you change something in the php.ini you need to restart your apache.

Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com

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

Main resources:

Total runtime1.2022 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.0068 589.0313153.4609
Module start 'layout' 0.00680.0040 742.492239.4063
Module start 'content' 0.01081.1898 781.8984524.8203
Module end 'content' 1.20070.0015 1,306.71888.3203
Script end 1.2021  1,315.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3165160.0002
Check MTime0.00150.1222160.0001
Mysql Total
Database connection0.00080.066810.0008
Mysqli_queries1.144595.2068540.0212
Looping result0.00080.0661520.0000
Template Total1.164396.820.5821
Template load0.00250.211120.0013
Template processing1.161796.635420.5809
Template load and register function0.00020.017410.0002
states
state_id_array0.00150.120910.0015
state_identifier_array0.00090.073820.0004
Override
Cache load0.00220.1815260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050020.0003
Fetch class attribute name0.00170.144130.0006
XML
Image XML parsing0.00240.198820.0012
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00390.3232160.0002
String conversion0.00000.000840.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0002 secs