Posted on 2009-03-26 08:04:12-07 by andynic
problems with Apache startup and mod_perl
Hi, Be warned, am a newbie at this and need some step-by-step hand-holding.

I've installed mod_perl on my system, and when I start the Apache server, the log file shows the following message:
[error] (OS 127)The specified procedure could not be found. : DBD: mod_dbd not compatible with APR in get_driver
[error] (OS 127)The specified procedure could not be found. : DBD: failed to initialise

The error occurs whether or not the following is in httpd.conf:
LoadModule perl_module modules/mod_perl.so

Can anyone explain why this is happening and how I can correct it.

I installed mod_perl as follows and then followed the instructions with the ending message: http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd

To enable mod_perl, put in the directives
LoadFile "C:/Path/to/Perl/bin/perl510.dll"
LoadModule perl_module modules/mod_perl.so
in httpd.conf. For more information, visit
http://perl.apache.org/
and especially see
http://perl.apache.org/docs/2.0/rename.html


done
470 files unchanged
4 files updated


My configuration:
=================
Windows XP Professional Service Pack 3
Apache 2.2
Perl 5.10
MySQL 5.1
Use ODBC db connection in Perl DBI/CGI scripts
Installed DBD module as follows which enables me to connect to MySQL with a simple DBI script from
the command line but not from a CGI script via a web-browser:
ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd
but ODBC works from both the command line and from a CGI script via a web-browser.


Thanks for your help.
Andynic
Direct Responses: 10337 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.