in reply to LD_LIBRARY_PATH error

You can set environment variables prior to perl loading with the SetEnv directive in apache configuration. See the apache manual for details.

After Compline,
Zaxo