#16515 [Opn->Csd]: Files with execute-bit are always php-parsed - I cannot disable this!

From: Date: Mon, 19 Aug 2002 15:52:42 +0000
Subject: #16515 [Opn->Csd]: Files with execute-bit are always php-parsed - I cannot disable this!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17208@lists.php.net to get a copy of this message
ID: 16515 Updated by: rasmus@php.net Reported By: swift@3d4x.de -Status: Open +Status: Closed Bug Type: Apache related Operating System: Linux 2.4.16 PHP Version: 4.1.2 New Comment: Yeah, the code was bogus. This is now fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2002-08-19 09:23:44] mjg17@eng.cam.ac.uk I'm having the same problem with PHP 4.2.1 on Red Hat Linux 7.2 under Apache 1.3.26. It would seem that the xbithack option is being sensed as on, even though php_info() says it is turned off. Could someone have a look at php_xbithack_handler() in sapi/apache/mod_php4.c? I'm no PHP source expert, but I think that it's retrieving the wrong config info. Other calls to get_module_config(r->per_dir_config,...) are cast to (HashTable *) in the same file. Thanks Michael ------------------------------------------------------------------------ [2002-04-23 17:32:09] earl.fogel@usask.ca I have the same problem, with php 4.1.2 and apache 1.3.6 on Solaris. In some directories, php parses html files. In others, mod_include parses them. It seems that when I add any php configuration directives to apache in per-directory context, then php parses html files. I've tried setting xbithack to Off in php.ini and in apache.conf, but it does not help. ------------------------------------------------------------------------ [2002-04-18 16:57:48] chef@bommel.de I have the very same problem here regarding parsing of html files by the php module, if x-bit is set. apache 1.3.23 with php 4.1.2 as apache module and XBitHack off running on FreeBSD 4.5-STABLE. ------------------------------------------------------------------------ [2002-04-10 12:24:48] swift@3d4x.de I discussed the problem already with Zeev (@Zend) some weeks ago and he wrote: >I'm not sure what to tell you... It's definitely not a >known bug in PHP, I've never heard it being reported >before ever. So, please can anybody check this behaviour/bug? Please tell me if I can help somehow or test some config-params on my system. Thank you very much. ------------------------------------------------------------------------ [2002-04-10 09:05:44] sander@php.net Reopening on user request. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16515 -- Edit this bug report at http://bugs.php.net/?id=16515&edit=1

« previous php.bugs (#17208) next »