1 This directory must be accessible to your PHP files vie the relative path: code/wfpl/
3 The recommended way to do this is to create a directory named "code" in the
4 main folder of your website. And make symbolic links to that "code" directory
5 from all directories in your website where you run PHP.
7 Install wfpl within that "code" directory.
11 INSTALLING METAFORM on apache
13 metaform.php unfortunately has a couple extra steps.
15 1) make a directory (named "metaform" in this example) for metaform.
17 2) make sure code/wfpl is accessible in this directory (link to your main
18 "code" directory) as described above
20 3) make a symbolic link to metaform.php called index.php:
22 ln -s code/wfpl/metaform.php index.php
24 4) make a file named .htaccess that looks like this:
27 RewriteBase /metaform/
28 RewriteRule .*\.tgz$ /metaform/index.php
30 Note: the above .htaccess file assumes that the "metaform" directory you
31 created in step one is in the root www directory. If it's in a sub directory
32 (for example you access it via: http://example.com/my/sub/dir/metaform/) then
33 replace the two occurences of "metaform" in the .htaccess file with the path to
34 that directory (for example "my/sub/dir/metaform").
36 5) If php can't write to /tmp then you'll have to fix the $tmp_dir in