Installed on linux - something wrong!

Author Message

Mike Schachanski

Sunday 08 June 2003 7:27:36 am

After I had transferred eZ publish to the host server, I ran the startup-setup. The System check said:

---------------------------------------------------------------------------------------
Warning
- open_basedir
- open_basedir is in use and can give problems running eZ publish due to bugs in some PHP versions.
- It's recommended that it is turned off if you experience problems running eZ publish.
---------------------------------------------------------------------------------------

and...

---------------------------------------------------------------------------------------
Issues
1. PHP safe mode is enabled
---------------------------------------------------------------------------------------

Very well, but how do I turn these off?

Cause now nothing works. The demo-news interface is locked!
( www.solamente.no)

Marius

Dan Miner

Sunday 08 June 2003 12:27:46 pm

I had a similar issue with Mandrake 9.1 distro. There should be a file /etc/php.ini (or something very close to this). In that file, you will find an option called safe_mode. Change it to Off.

Now, if that file doesn't exist -- you *might* need to install a package to get it (like mdk9.1 does). If you still can't find it -- you'll probably find a php.ini-dist on your system somewhere. You can start with it (by copying it to /etc/php.ini).

Hope this helps...

Mike Schachanski

Monday 09 June 2003 3:37:09 pm

It says somewhere on ez.no that eZ publish will work, even if open_basedir and safe mode is enabled, on the newer versions of PHP. My host told me that PHP 4 was installed on the linux-server.. (That's the newest PHP version, right?) What can be wrong?

(The host need to have safe mode enabled, because it's a shared server.)

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 19:10:58
Script start
Timing: Jan 18 2025 19:10:58
Module start 'layout'
Timing: Jan 18 2025 19:10:58
Module start 'content'
Timing: Jan 18 2025 19:10:59
Module end 'content'
Timing: Jan 18 2025 19:10:59
Script end

Main resources:

Total runtime0.7750 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.8125152.6406
Module start 'layout' 0.00820.0034 742.453139.4766
Module start 'content' 0.01150.7619 781.9297471.3438
Module end 'content' 0.77350.0015 1,253.27348.1406
Script end 0.7750  1,261.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4919160.0002
Check MTime0.00150.1919160.0001
Mysql Total
Database connection0.00120.161210.0012
Mysqli_queries0.722493.2134570.0127
Looping result0.00060.0832550.0000
Template Total0.733994.720.3670
Template load0.00220.288620.0011
Template processing0.731794.403820.3658
Template load and register function0.00020.028910.0002
states
state_id_array0.00110.141410.0011
state_identifier_array0.00090.116420.0005
Override
Cache load0.00180.2333260.0001
Sytem overhead
Fetch class attribute can translate value0.00110.138620.0005
Fetch class attribute name0.00260.338230.0009
XML
Image XML parsing0.00020.030320.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.0983100.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs