I find it rather annoying that it is required to be in the web server root. It seems to be a limitation of whatever php framework you are using though (perhaps you wrote that too?). There certainly is no technical reason for this requirement.
After a brief try at getting it to work in a sub directory (there are way WAY too many hard references to the web server root environment variable in there!) I ended up going ahead and cluttering my web server root with it. Unfortunately it still did not work. Just on the login page alone, it complained: (shortened for brevity)
classes/adodb/adodb-time.inc.php failed to open stream: No such file or directory
common/fonctions.php failed to open stream: No such file or directory <- typo??
Code:
# ls classes/adodb/
adodb-datadict.inc.php adodb-exceptions.inc.php adodb.inc.php
adodb-error.inc.php adodb-iterator.inc.php datadict
adodb-errorhandler.inc.php adodb-lib.inc.php drivers
adodb-errorpear.inc.php adodb-perf.inc.php server.php
Code:
# ls common
ls: common: No such file or directory
Are there perhaps some Pear dependancies that are also required?