On Tue, Oct 29, 2002 at 11:27:51AM +0100, Derick Rethans wrote:
Ah yes - but that will contradict greatly, to the best version yet marketing
trick the Apache Group is advertising on their front page.
We can mention it to users, in the bug db etc. But officially documenting, that
Apache 2
On Wed, Oct 02, 2002 at 05:25:43PM -0400, Ilia A. wrote:
The attached patch accomplished the following things:
- Added apache_response_headers(), apache_note(),
apache_getenv(), apache_setenv() functions.
- The getallheaders() is renamed to apache_request_headers()
On Sat, Oct 05, 2002 at 09:33:08AM -0400, Ilia A. wrote:
I think Zeev is going to re-implement phps soon.
It supposed to be much like normal php script internally.
ATM this is not the case, when Zeev does make the change it is likely it'll be
after 4.3 is released. Until such a change is
On Mon, Aug 26, 2002 at 12:27:34PM -0700, Preston L. Bannister wrote:
Might depend on their usage.
Using Apache 2 with PHP through CGI or FastCGI should be OK.
PHP as an Apache 2 module you'd expect to take a bit longer to settle down -
especially if threading is involved.
It most
Do you have something specific in mind that might be causing this?
It looks like under normal circumstances the alarms are set and the
caught, but sometimes it looks like two of the signals are received in
quick succession, the first clears the signal mask, and the second causes
the default
You guys aren't the only ones who have to deal with the reprocussions
of changing the register_globals default...
(I've already sent the reporter in the right direction and closed
this bug, but something tells me this won't be the last time we hear
about this.)
-aaron
- Forwarded message
On Mon, Jun 10, 2002 at 11:46:46AM +0300, Zeev Suraski wrote:
What we need for efficient thread-safe operation is a mechanism like the
Win32 heaps - mutexless heaps, that provide malloc and free services on a
(preferably) contiguous pre-allocated block of memory. The question is
whether
On Mon, Jun 10, 2002 at 09:29:58AM -0700, Aaron Bannert wrote:
- creation (called once per server lifetime)
- malloc (called many times per request)
- free (called many times per request)
- end-of-request (called many times per request)
(Whoops, that should have been -- called
On Tue, Jun 11, 2002 at 12:38:44AM +0300, Zeev Suraski wrote:
There should be a way of doing that within the framework of flex by
redefining YY_INPUT and hacking around flex.
I'd love to see this built in to SAPI so that any module could take
advantage of it, and I'd even be willing to code
On Sun, Jun 09, 2002 at 03:09:24AM +0300, Zeev Suraski wrote:
Hmm, but doesn't that mean that the largest contiguous block this heap will
be able to provide is 8KB, then?
8K is just the minimum chunk size, there is no absolute maximum.
* There's a two-layer structure to the heaps:
-
On Sat, Jun 08, 2002 at 02:03:21PM -0400, Cliff Woolley wrote:
If the unbuffered write really *is* allowed to be buffered (wtf?), then by
all means we should change to using apr_brigade_write() there instead of
the flush() buckets. The data that gets passed to ub_write() is transient
in
On Thu, Jun 06, 2002 at 09:05:16AM -0700, Rasmus Lerdorf wrote:
A user posted [1] a benchmark today in the German PHP Newsgroup [2]
stating that Apache 2.0 and PHP (current HEAD) are about 20% slower
than Apache 1.3.
Are there any official benchmarks out there? I can't quite
On Thu, Jun 06, 2002 at 07:18:22PM +0200, Sebastian Bergmann wrote:
Cliff Woolley wrote:
Namely, we need to be able to give Zend's lexer buffers to scan rather
than handing it a file descriptor.
Last time I talked to Zeev about this he said that this has been added.
(Accepting a
Actually - depending on the platform also:
What platform is this? I'm dubious of these results, given the negative
numbers for transfered bytes and transfer rate.
Also, be sure to run your tests from a different machine, and make sure
that you aren't maxing out your client.
Last note is you
On Tue, Jun 04, 2002 at 03:11:40AM -0600, Venkat Raghavan wrote:
So, does this mean that Apache 2 support for PHP is not fully stable?
In any case, my question on what to build is not answered.
You should use the --with-apxs2 flag to configure to build the
apache2filter sapi module in PHP.
On Tue, Jun 04, 2002 at 10:44:17PM -0500, Andrei Zmievski wrote:
In case you've missed it, I have been putting up unofficial patches for
PHP on my website. The latest one changes some operators. See the
website for more details.
Is there a reason why you don't just post them here?
-aaron
--
On Mon, Jun 03, 2002 at 01:27:11PM +0200, Melvyn Sopacua wrote:
I've got a testserver setup, but can't put it in production, because of:
a) the load thing - not too bad, but still
b) breaking of the SIGS, meaning I can't restart apache.
Can you go in to more details here? What kind of load
On Sun, Jun 02, 2002 at 06:52:35PM +0200, Daniel BODEA wrote:
apache2filter is a long way from production status. A previous thread stated
it's some 6 months away from real beta quality due to the lack of time from
developers familiar with the apache 2 API. I plan on doing some work on this
On Thu, May 30, 2002 at 02:03:40PM -0700, brad lafountain wrote:
We are only talking about a few cvs commands here! We aren't talking about a
huge effort.
Any effort like this seems like duplicated effort to me.
I don't see bad merges a problem here. It's not like I would be applying
On Mon, May 13, 2002 at 08:57:35PM +0200, Daniel BODEA wrote:
Would this be a good moment to re post this patch a 2nd time? :)
Diff'ed against the stable 4.2.0 source package.
Adds the same behavior as the CGI and ISAPI modules with regard to PATH_INFO
and PATH_TRANSLATED variables to
On Mon, May 13, 2002 at 02:19:42PM -0400, Eli White wrote:
As the subject says, can anyone give me a timeline estimate for full
usage (not experimental) of PHP within Apache 2.0?
I ask because I am the maintainer of a server that recently got LOADS of
hits, and was brought to it's knees
On Mon, May 13, 2002 at 03:23:17PM -0400, Eli White wrote:
*cackle* Ok, and after I get fired for having to explain to my boss that
it was my fault that the server was down because I was playing with
experimental code, I'll have plenty of time to write you back about the
problems I
On Sun, May 12, 2002 at 02:52:24PM -0700, Rasmus Lerdorf wrote:
...
2. Pitch in and get Apache 2's perchild mpm up to snuff. There are
all sorts of other issues associated with this option though, like
needing to make sure all the stuff we link against is threadsafe.
Actually this
On Fri, May 10, 2002 at 10:11:14AM +0900, Masaki Fujimoto wrote:
This should be because of my patch, which committed by Rui 2 days ago.
Sorry for sparing your time...
Anyway, attached patch will fix this problem. this patch simply removes
'#include zend_istdiostream.h' in zend_multibyte.c.
On Thu, May 09, 2002 at 06:53:39PM -0700, Aaron Bannert wrote:
On Fri, May 10, 2002 at 10:11:14AM +0900, Masaki Fujimoto wrote:
This should be because of my patch, which committed by Rui 2 days ago.
Sorry for sparing your time...
Anyway, attached patch will fix this problem. this patch
On Sun, May 05, 2002 at 03:36:18AM -0700, Justin Erenkrantz wrote:
With a threaded MPM of httpd-2.0, the userdata wouldn't have its
state stored properly (it'd always be NULL). Therefore, the
server would fail in odd ways later on. tsrm_startup() would
never be called and would segfault in
It didn't coredump for me on startup.
Nor for I, and I've done quite a lot of testing on this thing. The
startup error has been identified (even though not reproduceable by me
for some reason) and I will supply a patch for that later today. There
is still another bug (also nonreproduceable by
On Tue, Apr 23, 2002 at 06:20:18AM -0500, Rose, Billy wrote:
I have Apache 2.0.25 with PHP 4.2.0RC2 running in production now. Been
running since it was released.
Can you please describe your architecture (platform, os rev, etc...)
and tell us what configure parameters you gave to both apache
On Mon, Apr 22, 2002 at 04:23:27PM -0400, Jim Jagielski wrote:
Guess I wasn't clear :)
If httpd.conf includes:
PHPINIDir foo
.
.
.
PHPINIDir bar
The latter isn't allowed, and assumes a Vhost reason. I wonder if,
instead, we should allow the 2nd to override the 1st
I'm not sure I understand this post. I didn't add these files.
What do you mean by harmut?
-aaron
On Fri, Apr 19, 2002 at 03:26:28AM +0100, James Cox wrote:
this was also harmut with his .cvsignore commits. (i believe)
-Original Message-
From: Aaron Bannert [mailto:[EMAIL
On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote:
Yasuo Ohgaki wrote:
Any objection for changing -O2 - -O3 when
--enable-inline-optimization is used? (when GCC is used)
What happened to the plan of making --enable-inline-optimization the
default?
Is making these
On Fri, Apr 19, 2002 at 06:17:16PM +0200, Marcus Börger wrote:
What about leaving -O2 but adding -finline-functions
You can add all of these things to CFLAGS while running configure,
I believe.
I normally run with:
CFLAGS=-Wall -g ./configure ...
-aaron
--
PHP Development Mailing List
[2-part question]
I'd like to make an optional apache directive for the apache2filter
that can define an overriding search path for the php.ini file.
Ideally I'd like to just set this variable in on of the callbacks, but
I'm not sure which one. Is it appropriate to set this in a wrapper
around
On Wed, Apr 17, 2002 at 01:52:22PM -0500, Jess Planck wrote:
I know everything with Apache2 is experimental! I did a brief bug
submission on the Apache2 AcceptPathInfo problems with PHP, but it's
really brief and I was unsure how to collect more info to help out...
On Tue, Apr 16, 2002 at 10:56:08AM +0200, Balazs Nagy wrote:
Excusez moi, I had a hard time in the last DD3 session when I wrote
this. Here's the dump:
Give the attached patch a try.
Looks like we're just trying to use the server_context before it's been
initialized. (Thanks for Cliff for
On Fri, Apr 12, 2002 at 02:04:00PM +0200, Sebastian Bergmann wrote:
Since we no longer ask to add these lines
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
/Files
to the httpd.conf in the apache2filter README, isn't it save to
remove the following lines
On Thu, Apr 11, 2002 at 08:58:43PM +1000, Brian Havard wrote:
Well, actually, that's quite possible (I only just upgraded my GD library
to support JPEG). Inside the GD library (gd_jpeg.c:702 in GD 1.8.4) it
compares the return value of gdPutBuf() to the requested write size
aborts if it
On Thu, Apr 11, 2002 at 08:15:07PM +0200, Gabor Hojtsy wrote:
Hi!
Please post a notice to [EMAIL PROTECTED] if you are ready with
the full Apache 2 compatibilty, and it will be available in some
release of PHP. A new news item in this case would be nice, to
announce a milestone in the
I'm working with the apache2filter against Apache 2.0.35 and I want to
figure out how to ensure thread safety. It seems to me that much of the
request data is set up in the SG(request_info), which appears to be a
global variable. Please correct me if I'm wrong (I'm hoping I'm wrong
here and it's
On Wed, Apr 10, 2002 at 08:21:01PM +0200, [EMAIL PROTECTED] wrote:
SG() is a macro that wraps around TSRM, the Thread Safe Resource Manager.
If the SAPI is build with ZTS (Zend Thread Safety) it is protected
automatically.
Excellent, thank you. At this point, given that the SG() macros
I posted this patch earlier, but this has some improvements. First
of all, it's tabified, so we have consistent style. It also has some
performance improvements suggested by Cliff Woolley, including one that
will significantly improve output buffering/copying.
The main guts of the patch include
On Wed, Apr 10, 2002 at 04:45:53PM -0400, Cliff Woolley wrote:
FWIW, Aaron and I are trying really hard to get the Apache 2 support
ironed out in the very near term (like the next day or so). It's not far
off. Serious improvements can still be made, and those could wait until a
later
On Thu, Apr 11, 2002 at 01:10:31AM +0200, Edin Kadribasic wrote:
I posted this patch earlier, but this has some improvements. First
of all, it's tabified, so we have consistent style. It also has some
performance improvements suggested by Cliff Woolley, including one that
will
I've been fighting this all day and I'm curious if anyone else has
been able to reproduce this problem. Essentially what happens is
the normal variables are registered in a hash table at sapi startup,
then while executing we try to fetch from the symbol table. At
this point I'm seeing an
On Thu, Apr 11, 2002 at 02:20:00AM +0100, Wez Furlong wrote:
the php configuration directive register_globals defaults to off
in PHP 4.2; are you sure it's not just due to misconfiguration?
I'll be ecstatic if that's the problem. :)
-aaron
--
PHP Development Mailing List http://www.php.net/
I'd like to work on the apache2filter (I'm an active
developer on Apache 2.0). In addition to the fixes
I posted today, I have some good ideas how the
performance of the apache2filter can be greatly
improved.
(p.s. my requested password is intentionally lame, I'd
prefer to change it
On Thu, Apr 11, 2002 at 02:20:00AM +0100, Wez Furlong wrote:
the php configuration directive register_globals defaults to off
in PHP 4.2; are you sure it's not just due to misconfiguration?
Yeah, that was the problem.
I'm sure I could go look back in the logs for why this change
occured, but
On Thu, Apr 11, 2002 at 01:43:35PM +1000, Brian Havard wrote:
Index: sapi/apache2filter/sapi_apache2.c
===
RCS file: /repository/php4/sapi/apache2filter/sapi_apache2.c,v
retrieving revision 1.61.2.1
diff -u -u -r1.61.2.1
On Thu, Apr 11, 2002 at 07:20:11AM +0200, [EMAIL PROTECTED] wrote:
Nice work, maybe you can apply for a CVS account to sapi/apache2 then?
There is still some work todo (also for a static module and for some other
process models that Apache 2 has). I still want to mark Apache 2 support
as
On Tue, Apr 09, 2002 at 12:03:51PM +0200, Derick Rethans wrote:
after a little discussion on IRC, we came to the conclusion that it is not
a good idea to say that php 4.2.0 supports apache 2. The reasoning behind
is that we are not even 50% sure if apache 2(.0.35) works correctly, or
that
On Sat, Apr 06, 2002 at 07:56:56AM -0500, Jim Jagielski wrote:
Aaron Bannert wrote:
I think a good way to take advantage of the filter system would be
to break the input stream into buckets of two types: constant strings
and PHP script code. As flex/bison needs to be fed more data (from
Can I use a build of Zend/SAPI that was built against one sapi type
against a different type w/o rebuilding, or are there compile-time
conditionals built in to the binaries?
If this is not possible, we'd like to modify the SAPI to allow for
overriding of the YY_INPUT macro produced by flex to
On Sat, Apr 06, 2002 at 06:33:43PM +0200, Sander Roobol wrote:
Anyway, it configures compiles fine, but I doesn't work. I haven't
had time to investigate it (I haven't even looked at httpd.conf) so I
don't know if it's a PHP problem... you'll hear from me if it's a PHP
problem...
CVS
I've been trying to track down a bug in the apache2filter (used with
Apache 2.0.35-dev) where query arguments from a GET request are not
being interpolated into the php script output. Normal variables appear
to work just fine. When I trace down to the actual variable value lookup
and string
After working with this filter for the last few days I came to realize
that it really isn't taking advantage of the newer features of Apache 2.
In addition it seems to have a flaw that would prevent it from working
downstream from any other content-generation filter (imagine, for example,
a
55 matches
Mail list logo