#23715 [Fbk->Opn]: strange variable values

From: Date: Tue, 20 May 2003 13:19:26 +0000
Subject: #23715 [Fbk->Opn]: strange variable values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40039@lists.php.net to get a copy of this message
ID: 23715 User updated by: tarmo at kaugotsing dot ee Reported By: tarmo at kaugotsing dot ee -Status: Feedback +Status: Open Bug Type: Output Control Operating System: Linux, Redhat 9 PHP Version: 4.3.1 New Comment: Can't compile http://snaps.php.net/php4-STABLE-latest.tar.gz with apache 2.0.45 apache2handler/sapi_apache2.lo In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:26:1: warning: "REG_ICASE" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:266:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:27:1: warning: "REG_NEWLINE" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:271:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:28:1: warning: "REG_NOTBOL" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:285:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:29:1: warning: "REG_NOTEOL" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:288:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:34:1: warning: "REG_EXTENDED" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:262:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:35:1: warning: "REG_NOSUB" redefined In file included from /opt/install/web/php4-STABLE-200305201130/main/php_regex.h:39, from /opt/install/web/php4-STABLE-200305201130/main/php.h:74, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:25: /usr/include/regex.h:275:1: warning: this is the location of the previous definition In file included from /usr/include/apache/httpd.h:86, from /usr/include/apache/util_filter.h:61, from /opt/install/web/php4-STABLE-200305201130/sapi/apache2handler/sapi_apache2.c:40: /usr/include/apache/pcreposix.h:41: conflicting types for `REG_BADBR' /usr/include/regex.h:312: previous declaration of `REG_BADBR' /usr/include/apache/pcreposix.h:42: conflicting types for `REG_BADPAT' /usr/include/regex.h:304: previous declaration of `REG_BADPAT' /usr/include/apache/pcreposix.h:43: conflicting types for `REG_BADRPT' /usr/include/regex.h:315: previous declaration of `REG_BADRPT' /usr/include/apache/pcreposix.h:44: conflicting types for `REG_EBRACE' /usr/include/regex.h:311: previous declaration of `REG_EBRACE' /usr/include/apache/pcreposix.h:45: conflicting types for `REG_EBRACK' /usr/include/regex.h:309: previous declaration of `REG_EBRACK' /usr/include/apache/pcreposix.h:46: conflicting types for `REG_ECOLLATE' /usr/include/regex.h:305: previous declaration of `REG_ECOLLATE' /usr/include/apache/pcreposix.h:47: conflicting types for `REG_ECTYPE' /usr/include/regex.h:306: previous declaration of `REG_ECTYPE' /usr/include/apache/pcreposix.h:48: conflicting types for `REG_EESCAPE' /usr/include/regex.h:307: previous declaration of `REG_EESCAPE' /usr/include/apache/pcreposix.h:50: conflicting types for `REG_EPAREN' /usr/include/regex.h:310: previous declaration of `REG_EPAREN' /usr/include/apache/pcreposix.h:51: conflicting types for `REG_ERANGE' /usr/include/regex.h:313: previous declaration of `REG_ERANGE' /usr/include/apache/pcreposix.h:52: conflicting types for `REG_ESIZE' /usr/include/regex.h:319: previous declaration of `REG_ESIZE' /usr/include/apache/pcreposix.h:53: conflicting types for `REG_ESPACE' /usr/include/regex.h:314: previous declaration of `REG_ESPACE' /usr/include/apache/pcreposix.h:54: conflicting types for `REG_ESUBREG' /usr/include/regex.h:308: previous declaration of `REG_ESUBREG' /usr/include/apache/pcreposix.h:57: conflicting types for `REG_NOMATCH' /usr/include/regex.h:300: previous declaration of `REG_NOMATCH' /usr/include/apache/pcreposix.h:57: confused by earlier errors, bailing out make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 Previous Comments: ------------------------------------------------------------------------ [2003-05-20 07:11:17] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-05-20 07:09:48] tarmo at kaugotsing dot ee The same thing is with PHP 4.2.2 Redhat 9 bundled with. PHP 4.3.1 also give the following error for every .php or even .html page opened: Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 ------------------------------------------------------------------------ [2003-05-20 07:00:34] tarmo at kaugotsing dot ee test1.php <html> <form method="POST" action="test2.php"> <?php $id = "101"; echo "<input type=\"submit\" name=\"but1\" value=\"$id\">"; ?> <form> </html> tes2.php <html> <?php echo "$but1"; ?> </html> Result is: 101but1=101 Any idea? T.F. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23715&edit=1

« previous php.bugs (#40039) next »