Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6899 invoked from network); 10 Jun 2011 11:31:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2011 11:31:34 -0000 Authentication-Results: pb1.pair.com header.from=k@rl.pflaesterer.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:52129] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/E5-54720-49002FD4 for ; Fri, 10 Jun 2011 07:31:33 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QUzw0-0000xD-Lo for internals@lists.php.net; Fri, 10 Jun 2011 13:31:28 +0200 Received: from p5dcc5be6.dip.t-dialin.net ([93.204.91.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 13:31:28 +0200 Received: from k by p5dcc5be6.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jun 2011 13:31:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Fri, 10 Jun 2011 13:31:18 +0200 Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: text/plain X-Gmane-NNTP-Posting-Host: p5dcc5be6.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:0vXWP5NRJwpK1VKXxShsgyq7QeE= Subject: php-5.4.0 and apache-1.3 From: k@rl.pflaesterer.de ((Karl =?iso-8859-1?Q?Pfl=E4sterer?=)) Hi, some people (like me) still have to use Apache 1.3; I can't compile PHP-5.4 with Apache-1.3, because of a change in revision 305276. svn diff -c305276 main/SAPI.h Index: main/SAPI.h =================================================================== --- main/SAPI.h (revision 305275) +++ main/SAPI.h (revision 305276) @@ -251,6 +251,7 @@ char *executable_location; int php_ini_ignore; + int php_ini_ignore_cwd; /* don't look for php.ini in the current directory */ int (*get_fd)(int *fd TSRMLS_DC); But in sapi/apache/mod_php5.c the struct didn't get updated; with this simple patch it compiles again: svn diff sapi/apache/mod_php5.c Index: sapi/apache/mod_php5.c =================================================================== --- sapi/apache/mod_php5.c (revision 312006) +++ sapi/apache/mod_php5.c (working copy) @@ -499,6 +499,7 @@ NULL, /* treat data */ NULL, /* exe location */ 0, /* ini ignore */ + 0, /* ini ignore cwd */ sapi_apache_get_fd, sapi_apache_force_http_10, sapi_apache_get_target_uid, KP