[Resolved] Litespeed Enterprise on CentOS 6.5, install_driver(mysql) failed

Not open for further replies.

Using Litespeed Enterprise on CentOS 6.5 (Vanilla, not external repo, official repo). The only external repo is MariaDB. Install done using official MariaDB docs and official MariaDB RPMs for CentOS.

MariaDB works well with PHP apps but there are problems with CGI Apps. I have this output from a script:

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: Plugins Modules . /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5) at (eval 5) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
I assume there's something wrong with MariaDB + Litespeed + CGI Apps (not Litespeed fault, i think 99.999% mariaDB fault). According your experience is it possibile to solve this problem doing compile php again with some "magic flags" ? If yes, how to use the flags to specify mariadb position ? :)

Last edited by a moderator:
Not open for further replies.