not register environment variables, time zone configuration

Author Message

Karlheinz Laping

Saturday 25 April 2009 1:14:24 am

Hi,
I do not have access to the php.ini. How can I fix following issues:
1. php does not register environment variables
2. Time zone configuration

Do I get it correctly that I have to generate a config.php in the root directory for time zone configuration? But how to fix the issue with the env variable?

carolus

André R.

Saturday 25 April 2009 11:10:17 am

Create a file called config.php in root folder and do whatever you want in there (but it will run on every page so be sober about it :) ).
In 4.1 a file called config.php-RECOMMENDED is included with some comments on run time settings you can set with it as well.

link:
http://pubsvn.ez.no/nextgen/stable/4.1/config.php-RECOMMENDED

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Karlheinz Laping

Wednesday 29 April 2009 1:09:24 pm

Thanks for help. Now, I got the message:

2. Missing database handlers
Für alle Datenbanken die eZ Publish unterstützt bietet Ihr PHP keine Unterstützung. Auch wenn eZ Publish ohne Unterstützung dafür läuft, wollen Sie eventuell Unterstützung für diese Datenbank haben. To obtain more database support you need to recompile PHP, the exact recompile options are specified below.
PostgreSQL etc. etc. ...

Does this mean that I can proceed with MySQL instead of PostgreSQL?
carolus

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 19 2025 07:15:57
Script start
Timing: Jan 19 2025 07:15:57
Module start 'layout'
Timing: Jan 19 2025 07:15:57
Module start 'content'
Timing: Jan 19 2025 07:15:57
Module end 'content'
Timing: Jan 19 2025 07:15:57
Script end

Main resources:

Total runtime0.0158 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.0045 589.6406152.6875
Module start 'layout' 0.00450.0034 742.328139.5078
Module start 'content' 0.00800.0057 781.835989.4141
Module end 'content' 0.01370.0021 871.250034.3047
Script end 0.0158  905.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.0671140.0002
Check MTime0.00127.8333140.0001
Mysql Total
Database connection0.00053.176110.0005
Mysqli_queries0.002717.155430.0009
Looping result0.00000.164110.0000
Template Total0.001711.010.0017
Template load0.00106.421410.0010
Template processing0.00074.508210.0007
Override
Cache load0.00074.482610.0007
General
dbfile0.00127.575980.0001
String conversion0.00000.057240.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