Skip to content
Jeffery Zhao edited this page Sep 1, 2016 · 13 revisions

Install Password-Manager

  1. Install PHP, MySQL (MariaDB) and WebServer(IIS, Apache or Nginx) in your server. Make sure PDO is supported
  2. Create a database in your MySQL server for this password manager
  3. Import initial.sql into that database
  4. Download src folder in this repository from newest Release, and edit src/function/config.php with your configuration (database and etc., see comments in this file)
  5. Upload files in src folder to your web server, along with your edited src/function/config.php
  6. 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
  7. If you enabled file feature, make the maximal allowed packet size larger in my.cnf and php.ini. Don't forget to restart mysqld after editing my.cnf
  8. Open webpage in web browser
  9. Click Signup to register an account. (If you don't want others to sign up, just delete signup.php and reg.php after you are done)
  10. You are done!
  11. Remember your password to login. No one can recover your data if you lose that!

Debug

If Password Manager doesn't work properly after installation, try following:

  1. Goto demo site 1 or demo site 2, try if your bug can be reproduced there. If so, go to step 3.
  2. 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 in src folder. Then enable PHP debug in php.ini and check httpd error log.
  3. 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.
Clone this wiki locally