fixed path problem (missing "/")
[phpfspot.git] / docs / ric_INSTALL.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3   <html xmlns="http://www.w3.org/1999/xhtml">
4                 <head>
5                         <!-- template designed by Marco Von Ballmoos -->
6                         <title></title>
7                         <link rel="stylesheet" href="media/stylesheet.css" />
8                         <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
9                 </head>
10                 <body>
11                                                 <div align="center"><h1>INSTALL</h1></div>
12 <pre>
13 phpfspot install howto:
14
15 * requirements
16  
17  - apache/apache2 (in fact any webserver which supports php)
18  - php5
19    - the following extensions must be available
20      (compiled in or as shared object):
21      * gd
22      * sqlite3 (native or as PDO driver)
23    - PEAR extensions (pear install %name%)
24      * Calendar
25      * Date
26      * HTML_AJAX
27  - Smarty (php template engine, http://smarty.php.net)
28  - sqlite3
29   
30 * installation
31
32  1. copy the sample phpfspot-config-file to your new config file
33
34     cp phpfspot_cfg.php.dist phpfspot_cfg.php
35
36  2. Edit phpfspot_cfg.php and edit the necessary configuration
37     parameters. This file also include explanation of each option.
38     Take care that the path to the f-spot database (photos.db)
39     and the f-spot photo base directory (usally Photos) is set
40     correctly.
41
42  3. Open phpfspot in our favourite browser. The URL depends what
43     you have specify as $webpath in the configuration var. But
44     usually it will be http://myserver/phpfspot (where myserver
45     is your webservers IP, server name, virtual host name, ...).
46
47  4. To pre-create all thumbnails invoke the script gen_thumbs.php
48
49     cd ${phpfspot_home}
50     &quot;./gen_thumbs.php&quot;
51     or 
52     &quot;php gen_thumbs.php&quot; (if execute-permission is not set)
53
54     thumbnails can also be created on-the-fly by the webserver but
55     this will take away a lot of resources of your system during
56     thumb-generation. pre-creation on the shell works faster.
57
58 </pre>
59         <p class="notes" id="credit">
60                 Documentation generated on Sat, 30 May 2009 10:14:35 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
61         </p>
62         </body>
63 </html>