Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: CGI problem

by Corion (Pope)
on Nov 07, 2011 at 09:46 UTC ( #936453=note: print w/replies, xml ) Need Help??

in reply to Re^3: CGI problem
in thread CGI problem

Can't load 'C:/perl/perl/site/lib/auto/DBD/mysql/mysql.dll'


  • Is DBD::mysql installed for the version of (mod_)Perl that Apache is running? You say the script works when you run it as another user, so make sure that both users see the same Perl and the same mod_perl.
  • Did it pass its test suite? If you installed the module via the CPAN tool, did it pass its test suite?
  • Is the file C:/perl/perl/site/lib/auto/DBD/mysql/mysql.dll there?
  • Does the Apache user have read/execute permissions for the file and all directories above it? You seem to be running Windows, so if the Apache user is running as a service, it may or may not have the appropriate permissions to load DLLs.

Replies are listed 'Best First'.
Re^5: CGI problem
by Anonymous Monk on Nov 09, 2011 at 16:57 UTC
    your fourth point did the trick. I started apache from command line and then all works fine. Thankyou very much.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://936453]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-12-08 04:51 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (34 votes). Check out past polls.