http://qs321.pair.com?node_id=1176774


in reply to Re^4: Win32/DBD::ODBC: works from cmd.exe, not works from apache (xampp)
in thread Win32/DBD::ODBC: works from cmd.exe, not works from apache (xampp)

This means that when your Apache server / user runs your program, something in the permissions or environment or whatever ($ENV{PATH}?) is different from when you run the program manually. I don't know what knobs and levers there are to the Apache configuration, but if it is run under the same interactive user as when you start the program manually, it's either %ENV or something that should be documented somewhere in the Apache documentation...