Securing Problem

cornutaurus wrote on Saturday, January 21, 2017:

Hello, I tried to setup password to for the program and ran into a problem. According to the website of http://www.open-emr.org/wiki/index.php/Securing_OpenEMR I have to copy and paste this into the web browser http://localhost/security/xamppsecurity.php but when I did that it says error.

The page would look like below.


Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

localhost
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.20


How can I setup security password it. Thank you

cmswest wrote on Sunday, January 22, 2017:

thank Nhat, that wiki is outdated and should be edited, please see this:

epsdky wrote on Sunday, January 22, 2017:

Information on setting a root password for the database can be found in the “HOW-TO Guides” for XAMPP for windows version 5.6.20 (enter localhost in browser).

cmswest wrote on Sunday, January 22, 2017:

thank you epsdky, i updated the wiki

cornutaurus wrote on Sunday, January 22, 2017:

Thank you Stephen, I looked at the link and some of the solutions were using the link with the port number such as http://localhost:93/security/xamppsecurity.php’. I put in the correct number and it shows the same result as the image below.

Another solution is use “sudo /Applications/XAMPP/xamppfiles/xampp security”. I don’t know where I can find this. Is this Linux? I have Windows. Any other solutions?

Thank you

cornutaurus wrote on Sunday, January 22, 2017:

Thank you epsdky. I tried your method but it comes out to be access denied when I go back there as shown in the picture below.

rahulteja536 wrote on Wednesday, January 25, 2017:

Hi Nhat, have you updated php.ini file ?
follow this tutorial for php.ini file updation.
METHOD 2 : --> STEP 7.
http://veerasundar.com/blog/2009/01/how-to-change-the-root-password-for-mysql-in-xampp/

hope this works for you.

cornutaurus wrote on Thursday, January 26, 2017:

hello rahulteja,

Thank you, I tried your method and I was able to set password and now on localhost/phpadmin --> user accounts

User Host Password
root 127.X.X.X Yes
root ::1 Yes
root localhost Yes

but every time I typed in localhost/phpadmin I was able to get access without typing any password.
I think the older version of openemr that you have to type in your username and password.