Basedir restriction

Author Message

Jan Borsodi

Monday 31 March 2003 5:34:01 am

Since so many people have had problems with basedir restrictions I want to check it out further.
Could anyone having these problems do the follow:

1. Edit index.php and place the following line somewhere at the top.
phpinfo();

2. Open the browser to your site and save the html to a file.
3. Send it to me by email: jb at ez dot no (at=@, dot=.).
4. It would be nice if you added some more information on your site, virtual host/nvh etc.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

V A Burden

Monday 31 March 2003 8:12:21 am

I had this error even though my home directory whas listed in my open_basedir & include_path. I turned debugging on and found PHP could not open files in "./lib/"

The soultion was to include my web servers root directory in my include_path.

I belive include_path can only be changed in the apache config or the php.ini file so changes to an htaccess file would have no effect.

Zeno Streich

Monday 31 March 2003 9:47:04 am

Thats the same limitation as i found out. I will try it also with the root path as a workaround.

other modules seems to use lib instead of ./lib an didn't cause any problems.

i sent out the info as requested before....

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 15:01:29
Script start
Timing: Jan 18 2025 15:01:29
Module start 'layout'
Timing: Jan 18 2025 15:01:29
Module start 'content'
Timing: Jan 18 2025 15:01:30
Module end 'content'
Timing: Jan 18 2025 15:01:30
Script end

Main resources:

Total runtime0.7980 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9141152.6250
Module start 'layout' 0.00610.0036 740.539139.4453
Module start 'content' 0.00970.7866 779.9844564.2422
Module end 'content' 0.79640.0016 1,344.22668.1719
Script end 0.7980  1,352.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4558160.0002
Check MTime0.00150.1852160.0001
Mysql Total
Database connection0.00070.092910.0007
Mysqli_queries0.752594.2994590.0128
Looping result0.00050.0635570.0000
Template Total0.765896.020.3829
Template load0.00200.253420.0010
Template processing0.763895.715220.3819
Template load and register function0.00010.009810.0001
states
state_id_array0.00090.107410.0009
state_identifier_array0.00100.121320.0005
Override
Cache load0.00160.2053190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.074230.0002
Fetch class attribute name0.00090.117140.0002
XML
Image XML parsing0.00060.077430.0002
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00120.1564170.0001
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 6

Time used to render debug report: 0.0001 secs