Re: Problems using Apache::Reload

2007-07-01 Thread Jonathan Vanasco
You're comparing Apples to Rocks with php & mod_perl ( rocks was the first non-fruit thing I could think of ) php has 3 main flavors - mod_php , php-cgi , php-cli lets just look at mod_php and php-cgi if you run perl and php through a fastcgi proxy , you're going to get similar performan

Re: Problems using Apache::Reload

2007-07-01 Thread Marcus J Coles
Re a virtual server solution - I've been looking for one as well. Here are a few I've found (haven't tried them yet): http://order.1and1.co.uk/xml/order/VpsRoot?__frame=_top&__lf=Static http://www.spry.com/plesk-vps/ http://www.vpslink.com/ fwiw : Since your based in the UK give these guys

Re: Problems using Apache::Reload

2007-07-01 Thread Perrin Harkins
On 7/1/07, Clinton Gormley <[EMAIL PROTECTED]> wrote: This is one of the gotchas I mentioned before: CHDIR. You can't rely on it. Something somewhere (maybe Registry itself) is changing the current dir, so '.' now refers to / rather than to /path/to/your/modules. It's actually not that someth

Re: Problems using Apache::Reload

2007-07-01 Thread Clinton Gormley
> > > > Apache::Registry already looks for changes to your scripts and > reloads > > them as necessary. So you shouldn't need to use both of them. > > Well, I agree it says that, but when I tried using Registry without > Reload, > it didn't seem to work, so I gave up, and used Reload, more-or-

Re: Problems using Apache::Reload

2007-07-01 Thread Tony van der Hoff
On 30 Jun at 11:13 Clinton Gormley <[EMAIL PROTECTED] > wrote in message <[EMAIL PROTECTED]> Thanks, Clint, for your helpful reply. > Disclaimer: I have never used Apache::Reload, but: > > Apache::Registry already looks for changes to your scripts and reloads > them as necessary. So you shouldn'

Re: Problems using Apache::Reload

2007-07-01 Thread Clinton Gormley
Tony - There are lots of people using Registry successfully (in fact the new Bugzilla uses Registry, if I remember correctly). > Thank you, Jonathan, for your more detailed explanation. I have to say, I am > extremely disappointed with my experience. I've used PHP for some years to > create intera

Re: Problems using Apache::Reload

2007-07-01 Thread Tony van der Hoff
On 30 Jun at 16:55 Jonathan Vanasco <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> [snip] > assuming you're on a nix/bsd -- you need to be able to restart the server. > if you can't , then you shouldn't be using mod_perl. [snip] Thank you, Jonathan, for your more detailed explanation.

Re: Problems using Apache::Reload

2007-06-30 Thread Jonathan Vanasco
On Jun 30, 2007, at 2:40 AM, Tony van der Hoff wrote: Well, it is my intention that the modules should be reloaded if they've changed; that's the whole point of using Apache::Reload, so I'm pleased it works. Presumably, if they haven't changed, the only performance hit is a stat to the fi

Re: Problems using Apache::Reload

2007-06-30 Thread Clinton Gormley
Disclaimer: I have never used Apache::Reload, but: Apache::Registry already looks for changes to your scripts and reloads them as necessary. So you shouldn't need to use both of them. However, reading the docs for Apache2::Reload, it mentions using it at the same time as Registry scripts, which I

Re: Problems using Apache::Reload

2007-06-29 Thread Tony van der Hoff
On 29 Jun at 21:47 Jonathan Vanasco <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> > > On Jun 29, 2007, at 4:09 PM, Tony van der Hoff wrote: > > Well, thank you for that advice. > > > > Um, Why? > > > > How does that help solve my problems? > > > Apache::Reload checks perl modules and

Re: Problems using Apache::Reload

2007-06-29 Thread Jonathan Vanasco
On Jun 29, 2007, at 4:09 PM, Tony van der Hoff wrote: Well, thank you for that advice. Um, Why? How does that help solve my problems? Apache::Reload checks perl modules and *reloads* them on every hit if they've changed. It's essentially saying "hi, i'm running under a persistant envir

Re: Problems using Apache::Reload

2007-06-29 Thread Tony van der Hoff
On 29 Jun at 20:08 Jonathan Vanasco <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]> > > On Jun 29, 2007, at 1:24 PM, Tony van der Hoff wrote: > > So, sorry to have rambled on a bit, but does anyone have any suggestions > > as to how I can properly fix these problems, or tell me what I'm

Re: Problems using Apache::Reload

2007-06-29 Thread Jonathan Vanasco
On Jun 29, 2007, at 1:24 PM, Tony van der Hoff wrote: So, sorry to have rambled on a bit, but does anyone have any suggestions as to how I can properly fix these problems, or tell me what I'm doing wrong. Any advice will be very welcome. I don't have time to analyze your config, but you s

Problems using Apache::Reload

2007-06-29 Thread Tony van der Hoff
I'm a bit of a newbie with respect to mod_perl, but with some perseverence, I seem to have googled and hacked my way 'round most of it. A couple of problems continue to dog me, though: Because of constraints by my service provider, I'm running apache/1.3.37 with mod_perl/1.30 under linux on both