Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81085 invoked from network); 3 Aug 2009 11:53:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2009 11:53:05 -0000 Authentication-Results: pb1.pair.com header.from=daniel@zoltak.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=daniel@zoltak.com; spf=permerror; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zoltak.com from 203.16.214.57 cause and error) X-PHP-List-Original-Sender: daniel@zoltak.com X-Host-Fingerprint: 203.16.214.57 ipmail04.adl2.internode.on.net Received: from [203.16.214.57] ([203.16.214.57:59435] helo=ipmail04.adl2.internode.on.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/DE-05043-C9FC67A4 for ; Mon, 03 Aug 2009 07:53:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqcCAF9qdkqWZZo2/2dsb2JhbACBUpc0IrY5hBgFgUo X-IronPort-AV: E=Sophos;i="4.43,314,1246804200"; d="scan'208";a="426862730" Received: from ppp154-54.static.internode.on.net (HELO zoltak.com) ([150.101.154.54]) by ipmail04.adl2.internode.on.net with SMTP; 03 Aug 2009 21:22:56 +0930 Received: (qmail 27259 invoked from network); 3 Aug 2009 11:52:55 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by 127.0.0.1 with SMTP; 3 Aug 2009 11:52:55 -0000 Received: from ppp118-208-149-186.lns10.mel4.internode.on.net (ppp118-208-149-186.lns10.mel4.internode.on.net [118.208.149.186]) by webmail.zoltak.com (Horde MIME library) with HTTP; Mon, 03 Aug 2009 21:52:55 +1000 Message-ID: <20090803215255.0vh3a3gif4wk8o0w@webmail.zoltak.com> Date: Mon, 03 Aug 2009 21:52:55 +1000 To: jani.taskinen@iki.fi, Jani Taskinen Cc: internals@lists.php.net References: <20090731101017.jcs6fiyk0sg4gcok@webmail.zoltak.com> <4A72A254.8030808@sci.fi> <4A7545C4.60202@zoltak.com> <4A75A950.6030701@sci.fi> <4A760126.9070002@lerdorf.com> <4A76199F.9040701@sci.fi> <20090803145207.l09o05kib4ow8448@webmail.zoltak.com> <4A76993F.5000401@sci.fi> In-Reply-To: <4A76993F.5000401@sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) Subject: Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error From: daniel@zoltak.com Quoting Jani Taskinen : > 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=3D0x5a5a5a5a5a5a5a5a, file=3D0x7f510350bf58 =20 "/var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/Zend/zend_hash.c", =20 line=3D875) at =20 /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=3D0x5a5a5a5a5a5a5a5a, =20 arKey=3D0x7f51034eee80 "DOCUMENT_ROOT", nKeyLength=3D14, pData=3D0x7fff10fff068) at =20 /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=3D0x3dd0f40 =20 "VIRTUAL_DOCUMENT_ROOT", resolved_name=3D0x7fff11003170 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:7= 09 #3 0x00007f5103169c56 in php_check_specific_open_basedir =20 (basedir=3D0x3dd0f40 "VIRTUAL_DOCUMENT_ROOT", path=3D0x3dd0eb8 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:1= 18 #4 0x00007f510316a07f in php_check_open_basedir_ex (path=3D0x3dd0eb8 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", warn=3D1) at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:2= 49 #5 0x00007f5103169fd4 in php_check_open_basedir (path=3D0x3dd0eb8 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log") at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/main/fopen_wrappers.c:2= 25 #6 0x00007f510315fadb in OnUpdateErrorLog (entry=3D0x3bff8d0, new_value=3D0x3dd0eb8 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", =20 new_value_length=3D47, mh_arg1=3D0x68, mh_arg2=3D0x7f510386cc20, mh_arg3=3D0x0, stage=3D32) at =20 /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=3D0x3e30680 =20 "error_log", name_length=3D10, new_value=3D0x3e20910 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", =20 new_value_length=3D47, modify_type=3D2, stage=3D32, force_change=3D0) at =20 /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=3D0x3e30680 =20 "error_log", name_length=3D10, new_value=3D0x3e20910 =20 "/home/c-web/cf/4e/tweek.com.au/logs/php_err.log", =20 new_value_length=3D47, modify_type=3D2, stage=3D32) at =20 /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=3D0x3e21aa0) at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/apa= che_config.c:195 #10 0x00007f5103250033 in php_handler (r=3D0x3e262c8) at =20 /var/tmp/portage/dev-lang/php-5.2.10/work/php-5.2.10/sapi/apache2handler/sap= i_apache2.c:531 #11 0x00000000004369fc in ap_run_handler (r=3D0x3e262c8) at config.c:157 #12 0x0000000000439aa4 in ap_invoke_handler (r=3D0x3e262c8) at config.c:372 #13 0x000000000044370c in ap_process_request (r=3D0x3e262c8) at =20 http_request.c:282 #14 0x0000000000440d85 in ap_process_http_connection (c=3D0x3e12138) at =20 http_core.c:190 #15 0x000000000043d3f8 in ap_run_process_connection (c=3D0x3e12138) at =20 connection.c:43 #16 0x000000000043d4ca in ap_process_connection (c=3D0x3e12138, =20 csd=3D0x3e11f48) at connection.c:178 #17 0x0000000000447814 in child_main (child_num_arg=3D) at prefork.c:650 #18 0x00000000004479a0 in make_child (s=3D0x66f850, slot=3D99) at prefork.c:= 746 #19 0x0000000000447a00 in startup_children (number_to_start=3D1) at =20 prefork.c:764 #20 0x0000000000447ed7 in ap_mpm_run (_pconf=3D0x66a138, plog=3D, s=3D) at prefork.c:985 #21 0x0000000000426039 in main (argc=3D27, argv=3D0x7fff11004b48) at main.c:= 740