Softaculous <![CDATA[Autostart/service for MongoDB]]>]]>
Wed, 29 Jul 2015 17:00:17 GMT
<![CDATA[Problems to connect to MySQL via Perl]]>
we have a problem to connect from a cgi file to a MySQL database.

(With AMPPS 3.2 on a MAC OS X 10.10.4 Yosemite)

Our small test script is the following:

#!/Applications/AMPPS/perl/bin/perl -w

use strict;
use DBI;
use CGI::Carp qw(fatalsToBrowser);
use Digest::MD5 qw(md5_hex);
use CGI;

my $query=new CGI ;

my $dbh=DBNEW();
$dbh->disconnect ();

sub DBNEW 
    my $dsn = "DBI:mysql:database-name:database-host";
    my $dbh="";

    # Connect
    unless ( $dbh = DBI -> connect ("$dsn", "db-user", "dbpass" , {RaiseError=>1,PrintError=>0} ) ) {
        die "no connect: $DBI::errstr";   
    return ( $dbh );

And when we start this script in a browser, we get the following error notice:

Software error:

install_driver(mysql) failed: Can't load '/Applications/AMPPS/perl/lib/site_perl/5.20.2/darwin-2level/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Applications/AMPPS/perl/lib/site_perl/5.20.2/darwin-2level/auto/DBD/mysql/mysql.bundle, 1): Library not loaded: libmysqlclient.18.dylib
  Referenced from: /Applications/AMPPS/perl/lib/site_perl/5.20.2/darwin-2level/auto/DBD/mysql/mysql.bundle
  Reason: image not found at /Applications/AMPPS/perl/lib/5.20.2/darwin-2level/ line 197.
at (eval 7) line 3.
Compilation failed in require at (eval 7) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /Applications/AMPPS/www/cgi-bin/test.cgi line 35.

Can you maybe see, what we are doing wrong? How can we solve the problem?

Thank you!


Wed, 29 Jul 2015 13:02:52 GMT
<![CDATA[Oxwall 1.7.5]]> Wed, 29 Jul 2015 12:38:03 GMT <![CDATA[Hi..]]> ]]> Wed, 29 Jul 2015 08:20:25 GMT <![CDATA[Update curl]]> Is there a way to update curl in ampps?
In 3.2 the version is still 7.35 and i have a problem with that.
Wed, 29 Jul 2015 08:16:46 GMT
<![CDATA[script install problem]]>
You can use Webuzo / Softaculous to install scripts on your server.]]>
Wed, 29 Jul 2015 06:40:04 GMT
<![CDATA[PHPLinkDirectory switched to payed service]]> Tue, 28 Jul 2015 20:24:48 GMT <![CDATA[Please add Max SiteSite CMS!]]> Tue, 28 Jul 2015 12:10:10 GMT <![CDATA[The viifbr0 is not started. Please run service virtnetwork start]]>
Sure, Please open a support ticket so we can guide accordingly.
Tue, 28 Jul 2015 05:52:24 GMT
<![CDATA[MySql 5.6.xx on Webuzo]]>
I cannot find MySQL 5.6 on Webuzo panel.
How can I install a diffrent version off MySQL in this case 5.6, using command line?

It is mandatory for my website to have Full Text index for Innodb tables which is only available in MySQL 5.6

Mon, 27 Jul 2015 20:12:16 GMT