I installed Bioperl and works correctly. then installed Bio::Tools::Run::Phylo::Phyml and it works good from terminal.
But when I call same script contains it from a browser to using CGI method, I get this error:
Can't locate Bio/Tools/Run/Phylo/Phyml.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /var/www/Adol/mafToPhyML1.pl line 14.\nBEGIN failed--compilation aborted at /var/www/Adol/mafToPhyML1.pl line 14.
I got this message from error.log