Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.
Last modified 4 years ago Last modified on 11/23/13 20:02:59

This page describes how to install webserver Apache, database mySQL and PHP on Windows using WAMP. WAMP is a great webserver toolset to get phTagr running under windows with an ease.

Download WAMP

Download WAMP from their website. In time of writing, this was version wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64 (64 bit version)

http://demo.phtagr.org/media/thumb/417 http://demo.phtagr.org/media/thumb/418

Install WAMP

Execute the WAMP installation file and follow the setup dialog. In the 7th step you are asked to enter your default browser. I've chosen Chrome.

http://demo.phtagr.org/media/thumb/424 http://demo.phtagr.org/media/thumb/425 http://demo.phtagr.org/media/thumb/426 http://demo.phtagr.org/media/thumb/427 http://demo.phtagr.org/media/thumb/428 http://demo.phtagr.org/media/thumb/419 http://demo.phtagr.org/media/thumb/420 http://demo.phtagr.org/media/thumb/421 http://demo.phtagr.org/media/thumb/423

After successful installation you can launch WAMP and you will see a green W in your tray icon bar.

http://demo.phtagr.org/media/thumb/429

Configure WAMP

To run phTagr we need to configure Apache. To have nice URLs we need the rewrite module. To enable it, click left on the green W icon in the tray icon and select the rewrite module under Apache / Apache modules.

http://demo.phtagr.org/media/thumb/430

Further we need PHP extension php_exif and php_zip under PHP / PHP extensions.

http://demo.phtagr.org/media/thumb/431

After enabling/disabling a module/extension in WAMP, WAMP restarts. The W icon becomes orange shortly. Further, the modules/extension list requires one or two restart/reloads to show the correct module/extension list. Do don't be bothered by WAMP if it does not show the correct list immediately.

Create Database

phTagr uses a mysql database for fast media selection queries. Therefore, we need to create a database before installing phtagr. Start phpMyAdmin via W tray icon.

http://demo.phtagr.org/media/thumb/432

Create a phtagr user with a database via menu Users / Add user. Please select Create database with same name and grant all privileges on user creation.

http://demo.phtagr.org/media/thumb/433 http://demo.phtagr.org/media/thumb/435 http://demo.phtagr.org/media/thumb/434 http://demo.phtagr.org/media/thumb/436

Download phTagr

Please install latest version of phtagr via website phtagr.org.

http://demo.phtagr.org/media/thumb/438

Extract the ZIP file to C:\wamp\www directory.

http://demo.phtagr.org/media/thumb/439

Now open your browser with at localhost/phtagr and follow the installation instructions.

http://demo.phtagr.org/media/thumb/442 http://demo.phtagr.org/media/thumb/440 http://demo.phtagr.org/media/thumb/444 http://demo.phtagr.org/media/thumb/443 http://demo.phtagr.org/media/thumb/441 http://demo.phtagr.org/media/thumb/446

External Programms

For larger photos it is recommended to use convert.exe from ImageMagick. Please enter the full path with convert.exe in Dashboard -> System / External Programs / Path to convert like

C:\Program Files\ImageMagick-6.8.0-Q16\convert.exe

http://demo.phtagr.org/media/thumb/470

Please use exiftool to enable metadata write support.

Please use ffmpeg to enable video converting.