On Mon, 2006-01-09 at 14:51 -0500, Nicholas Aaron Philbrook wrote:
> where database_util.pl is another perl file in the same directory.
> These scripts were running fine on another guy's server, but now I get
> a 500 Internal Server Error when I try to access them via web, and the
> apache error log says this:
> 
> [Mon Jan 09 13:50:51 2006] [error] Can't locate database_util.pl in
> @INC
[...]
> It's funny because the current directory (.) is in the list of places
> it looked, supposedly.

The current directory is probably not what you think it is.  If you're
using Registry, you may want RegistryPrefork.  See this:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends

- Perrin

Reply via email to