Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error

From: Date: Mon, 03 Aug 2009 11:52:55 +0000
Subject: Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-45191@lists.php.net to get a copy of this message
Quoting Jani Taskinen <jani.taskinen@sci.fi>:
On 08/03/2009 07:52 AM, daniel@zoltak.com wrote:
Jani Taskinen wrote: [snip]
Obviously you haven't compiled using --enable-debug OR most likely are not using the compiled libphp5.so. Check your phpinfo() that you actually use the one you compiled first.. --Jani
Here is the correct backtrace. Hope it can bring some insight. #0 0x00007f51031d12eb in _zend_is_inconsistent (ht=0x5a5a5a5a5a5a5a5a,
    file=0x7f510350bf58 "/var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c", line=875)
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c:53
#1  0x00007f51031d4085 in zend_hash_find (ht=0x5a5a5a5a5a5a5a5a, arKey=0x7f51034eee80 "DOCUMENT_ROOT", nKeyLength=14,
    pData=0x7fff10fff068) at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c:875
#2  0x00007f510316b29c in custom_open_base_check (basedir=0x3dd0f40 "VIRTUAL_DOCUMENT_ROOT",
    resolved_name=0x7fff11003170 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log")
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:709
#3  0x00007f5103169c56 in php_check_specific_open_basedir (basedir=0x3dd0f40 "VIRTUAL_DOCUMENT_ROOT",
    path=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log")
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:118
#4  0x00007f510316a07f in php_check_open_basedir_ex (path=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log",
    warn=1) at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:249
#5  0x00007f5103169fd4 in php_check_open_basedir (path=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log")
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:225
#6 0x00007f510315fadb in OnUpdateErrorLog (entry=0x3bff8d0,
    new_value=0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", new_value_length=47, mh_arg1=0x68,
    mh_arg2=0x7f510386cc20, mh_arg3=0x0, stage=32) at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/main.c:317
#7  0x00007f51031de346 in zend_alter_ini_entry_ex (name=0x3e30680 "error_log", name_length=10,
    new_value=0x3e20910 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", new_value_length=47, modify_type=2, stage=32,
    force_change=0) at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_ini.c:293
#8  0x00007f51031de11c in zend_alter_ini_entry (name=0x3e30680 "error_log", name_length=10,
    new_value=0x3e20910 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", new_value_length=47, modify_type=2, stage=32)
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_ini.c:248
#9 0x00007f5103250ded in apply_config (dummy=0x3e21aa0)
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/apache_config.c:195
#10 0x00007f5103250033 in php_handler (r=0x3e262c8)
    at /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/sapi_apache2.c:531
#11 0x00000000004369fc in ap_run_handler (r=0x3e262c8) at config.c:157 #12 0x0000000000439aa4 in ap_invoke_handler (r=0x3e262c8) at config.c:372 #13 0x000000000044370c in ap_process_request (r=0x3e262c8) at http_request.c:282 #14 0x0000000000440d85 in ap_process_http_connection (c=0x3e12138) at http_core.c:190 #15 0x000000000043d3f8 in ap_run_process_connection (c=0x3e12138) at connection.c:43 #16 0x000000000043d4ca in ap_process_connection (c=0x3e12138, csd=0x3e11f48) at connection.c:178 #17 0x0000000000447814 in child_main (child_num_arg=<value optimized out>) at prefork.c:650 #18 0x00000000004479a0 in make_child (s=0x66f850, slot=99) at prefork.c:746 #19 0x0000000000447a00 in startup_children (number_to_start=1) at prefork.c:764 #20 0x0000000000447ed7 in ap_mpm_run (_pconf=0x66a138, plog=<value optimized out>, s=<value optimized out>) at prefork.c:985 #21 0x0000000000426039 in main (argc=27, argv=0x7fff11004b48) at main.c:740

« previous php.internals (#45191) next »