Archive

Posts Tagged ‘windows’

Install phTagr on Windows using WAMP

December 15th, 2012 Comments off

This post describes how to install webserver Apache, database mySQL and PHP on Windows using WAMP. WAMP is a great webserver toolset to get the free multi user web gallery phTagr running under windows with an ease. See also HowToInstallWamp for updates and changes.

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 open source gallery 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

Cadaver for Windows

April 1st, 2009 6 comments

phTagr supports the WebDAV network storage protocol to upload and manage your media files. While WebDAV is supported by all common OSs it is tricky within Windows (especially without encryption and the advanced Digest Authentication Schema). Free and simple alternatives for Windows are rare. On the other hand cadaver is a simple command line WebDAV client for Unix/Linux. There is also a cadaver package for cygwin to run it in Windows – but cygwin is bloody huge.

Therefore, I created a minimalistic version of cadaver for Windows from the cygwin packages and pack them to a useful zip archive. The minimalistic version comes with the required DLLs only. You can unzip the archive and use it (of cause the origin licenses of cadaver and its dependencies applies).

screenshot-cadaver-windows

[Update] The command ‘ls.exe’ is now included to inspect the local directory. Call ‘lls’ within cadaver to see current directory content. Furthe the script ‘cadaver.bat’ sets the path of cadaver to the PATH environment variable to find ‘ls.exe’. So call ‘cadaver.bat’ instead ‘cadaver.exe’!

Download cadaver with required DLLs: cadaver-0.23.3-1 (updated version from 2011-04-29)
Download cadaver with required DLLs: cadaver-0.23.2-minimalistic-2.zip
Download all cygwin packages: cadaver-0.23.2-minimalistic.pkgs-2.zip

Enjoy.

Categories: tools Tags: , ,