-
Notifications
You must be signed in to change notification settings - Fork 44
Installation
Jeffery Zhao edited this page Sep 1, 2016
·
13 revisions
- Install PHP, MySQL (MariaDB) and WebServer(IIS, Apache or Nginx) in your server. Make sure PDO is supported
- Create a database in your MySQL server for this password manager
- Import
initial.sql
into that database - Download
src
folder in this repository from newest Release, and editsrc/function/config.php
with your configuration (database and etc., see comments in this file) - Upload files in
src
folder to your web server, along with your editedsrc/function/config.php
- Though your login password won't be transmitted in the network, you still need to enable SSL if possible to avoid MIMA. Malicious JavaScript stealing password might be injected into the page if HTTP is used
- If you enabled file feature, make the maximal allowed packet size larger in
my.cnf
andphp.ini
. Don't forget to restartmysqld
after editingmy.cnf
- Open webpage in web browser
- Click Signup to register an account. (If you don't want others to sign up, just delete
signup.php
andreg.php
after you are done) - You are done!
- Remember your password to login. No one can recover your data if you lose that!
If Password Manager doesn't work properly after installation, try following:
- Goto demo site 1 or demo site 2, try if your bug can be reproduced there. If so, go to step 3.
- If your bug can't be reproduced in demo site, it's most likely you didn't install password manager correctly. Carefully check
src/function/config.php
to see if you make any mistake there and make sure you didn't edit other files insrc
folder. Then enable PHP debug inphp.ini
and check httpd error log. - submit an issue with steps to reproduce the bug. If your bug can be reproduced in demo site, you don't need to provide any other information. Otherwise, provide error log and PHP debug output.