RE: seg faults when running modperl and GD::Graph

2007-09-05 Thread Matt Williamson
- > From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 05, 2007 12:00 AM > To: Manoj Bist > Cc: Matt Williamson; [EMAIL PROTECTED]; modperl@perl.apache.org > Subject: Re: seg faults when running modperl and GD::Graph > > Manoj Bist wrote: > >

RE: seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
TED] > Sent: Tuesday, September 04, 2007 1:38 PM > To: Matt Williamson > Cc: modperl@perl.apache.org > Subject: Re: seg faults when running modperl and GD::Graph > > If you have PHP (with mod_php) enabled on that server, that's the > culprit and it can be fixed by compilin

RE: seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
find a php without GD as a pre-compiled ubuntu package? I actually don't think I need php on this system, would removing it have the same effect? Matt > -Original Message- > From: Rafael Caceres [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 04, 2007 1:38 PM > To: Mat

seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
I noticed that my server is segfaulting when I run a script using GD::Graph e.g. [Fri Aug 31 09:26:14 2007] [notice] child pid 6385 exit signal Segmentation fault (11) [Fri Aug 31 09:26:18 2007] [notice] child pid 6386 exit signal Segmentation fault (11) [Fri Aug 31 09:26:23 2007] [notice] child

Re: Dbi best practice question

2007-06-04 Thread Matt Williamson
Matt Sent from my GoodLink synchronized handheld (www.good.com) -Original Message- From: Jonathan Vanasco [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 05:31 PM Pacific Standard Time To: Matt Williamson Cc: modperl@perl.apache.org Subject:Re: Dbi best pra

Dbi best practice question

2007-06-01 Thread Matt Williamson
Hi When using a MySQL database with modperl 2. I can find lots of docs on using DBI, but not much on what is the best practice... I am currently connecting, using the db and exiting on each request, and relying on Apache::DBI to cache the connection. E.g. use Apache::DBI; sub handler { #

RE: [mp2] aborting a file upload

2007-03-07 Thread Matt Williamson
I wrote a filter which I think does the trick. It seems to work. In the filter I send end of stream (eos) if the content length is too large, otherwise just pass the data along. The filter is registered as a PerlInputFilterHandler, which according to the docs only gets called on the body, not the h

RE: [mp2] aborting a file upload

2007-03-02 Thread Matt Williamson
ent, just not accept the file! What is a 'fat' apr object? Thanks Matt -Original Message- From: Jonathan Vanasco [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 4:41 PM To: Matt Williamson Subject: Re: [mp2] aborting a file upload On Mar 2, 2007, at 6:37 PM, Matt Wil

[mp2] aborting a file upload

2007-03-02 Thread Matt Williamson
I am trying to write a mod_perl handler to take POST requests which have some parameters encoded in the url string, and a body that needs to be saved to a file. It is not like a conventional file upload from a form. I want to implement a limit on the size of the body that can be uploaded. However,