Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
PEAR_Frontend_Web
2
=================
3
Webbased PEAR Package Manager, the best way to manage your pear-compatible packages.
4
 
5
Installation:
6
-------------
7
1) Install this package (pear install PEAR_Frontend_Web)
8
2) copy docs/index.php.txt to <webdir>/index.php where <webdir> is a web-accessible directory
9
3) Open, in your browser, the URL to that freshly copied file.
10
4) You are using the webfrontend : )
11
 
12
!BC Warning: If you get a require_once error on PEAR/WebInstaller.php then copy docs/index.php.txt over the erroneous file (eg. index.php) !
13
 
14
Permissions:
15
------------
16
Your entire PEAR directory has to be writable by the webserver !
17
This webfrontend is a frontend, it calls the PEAR installer functions so it must be able to change all PEAR-managed files, through the webserver.
18
 
19
Security:
20
---------
21
The webfrontend manages all packages, be sure to protect it !
22
The easiest way is to protect it with a .htaccess file, in the webdir:
23
$ echo "
24
AuthUserFile $(pwd)/.htpasswd
25
AuthType Basic
26
AuthName \"Web-based PEAR Frontend\"
27
Require valid-user" > .htaccess && htpasswd -c .htpasswd admin
28
 
29
This command (everything after the $) creates a .htaccess file, like the one supplied with this documentation, and creates a .htpasswd with user 'admin'.
30
(your apache config must have the directive: AllowOverride AuthConfig)
31
 
32
 
33
Please report any problems through the bugtracker at http://pear.php.net/package/PEAR_Frontend_Web/bugs
34
Have Fun,
35
Tias