I'm running a perl script that connects to mysql. When I run the perl script outside of the web server it runs fine when I run it using the web server I get this message in the error log
Aug 31 14:00:04 2009] [error] [client 127.0.0.1] install_driver(mysql) failed: Can't load 'D:/xampp/perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The specified module could not be found at D:/xampp/perl/lib/DynaLoader.pm line 203.
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] at (eval 7) line 3
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] Compilation failed in require at (eval 7) line 3.
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] Perhaps a required shared library or dll isn't installed where expected
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] at D:/xampp/cgi-bin/display.pl line 12
I've tried uninstalling and re-installing several times (that was the most common recomendation on the web). I've chnged permissions to wide open, I've added the directory to the path.. all to no avail?
the mysql.dll is in the folder specified above.. its not really clear by the message weather it can't find mysql.dll or if its having troble with the DBD?
XAMPP and all its part is usually very easy to debug and use so I'm sure this is easy as well it just has me perplexed I've tried everything over the last two days. I'm stumpped .... Can anyone help an old guy out??