Message-ID: <2144435447.2036.1556113466145.JavaMail.javamailuser@localhost> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2035_1748703406.1556113466144" ------=_Part_2035_1748703406.1556113466144 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Installing Ushahidi 3.X on a Windows Wampserver

Installing Ushahidi 3.X on a Windows Wampserver

Follow the V3 = install instructions, with these few changes:=C2=A0

Database

I'm assuming = that you've cloned Lamu into folder c:\wamp\www\Lamu

Use localhost/ph= pmyadmin to create a database. =C2=A0I've called mine lamutest. =C2=A0Your = database.php should look something like this:=C2=A0

return array(
'default' =3D> array
(
'type' =3D> 'MySQLi', 'connection' =3D> array(
'hostname' =3D> 'localhost',
'database' =3D> 'lamutest',
'username' =3D> 'root',
'pa= ssword' =3D> 'mypassword',
'persistent' =3D> FALSE,
), 'table_prefix' =3D> '',
'charset' =3D> 'utf8',
'cachi= ng' =3D> TRUE,
'profiling' =3D> TRUE,
)
);

W= here 'database' is the database name that you chose; 'username' is the user= that you set up in phpmyadmin (look at the 'users' tab: my user is root@12= 7.0.0.1) and 'password' is the password that you set up for that phpmyadmin= user.=C2=A0

Base_url

Like with Ushahidi v2.x, your baseurl is going to be sli= ghtly different to everyone else's. =C2=A0

In init.php, for Ushahidi = v3 installed at=C2=A0c:\wamp\www\Lamu, it's

=C2=A0'base_url' =C2=A0=
 =C2=A0=3D> '/lamu/httpdocs',

In .htaccess, it's=C2=A0

R=
ewriteBase /lamu/httpdocs/

Minion

Minion won't work if you can't run php (you = can test this by trying "php -v" in your terminal window). =C2=A0= To make this happen in wamp, =C2=A0find your system path (on windows 7, tha= t's=C2=A0control panel > system and security > system, then advanced = system settings, (lhs list) and add a link to your php to it: for my Wamp i= nstall, that means adding the text ";C:\wamp\bin\php\php5.3.13" t= o my path; you might want to look in C;\wamp\bin\php to see what the right = address for you is (e.g. you might have a different version of php).

= In your terminal window, go to your top-level directory (in this case, c:/w= amp/www/Lamu) and run minion with this command:=C2=A0

php=C2=A0mini=
on --task=3Dmigrations:run --up

Go to= =C2=A0http://localhost/lamu/httpdocs/

Smile: you've got= your own copy of V3 working on Windows!

=C2=A0

=C2=A0

= =C2=A0

------=_Part_2035_1748703406.1556113466144--