in reply to Re: 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)
E: is not a network drive, and if it was then script would not work from cmd.exe either. But it works from cmd.exe.
Apache/XAMPP is not started as a service, but as a regular process under the same user (me) that is starting the same script from cmd.exe.
I would understand if a Perl from apache couldn't have access to files in e:/db/. But it can list the files.
I would understand if a Perl from apache couldn't have access to ODBC. But it can list system DSNs from ODBC driver.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Win32/DBD::ODBC: works from cmd.exe, not works from apache (xampp)
by Anonymous Monk on Nov 28, 2016 at 08:06 UTC | |
by alexander_lunev (Pilgrim) on Nov 28, 2016 at 18:07 UTC | |
by Corion (Patriarch) on Nov 29, 2016 at 08:27 UTC | |
by alexander_lunev (Pilgrim) on Nov 29, 2016 at 10:55 UTC | |
by Anonymous Monk on Nov 28, 2016 at 22:10 UTC |