- Joined
- Apr 8, 2008
- Messages
- 2,465
- Reaction score
- 11,167
HOW TO SECURE XAMPP:
Code:
Go to: <http://localhost/security>
When you are there you will see a text like this:
=> http://localhost/security/xamppsecurity.php <= [allowed only for localhost]
Enter there.
Now you will see a new page.. Input your password at the MySQL Section.
After you are done click at the valid button.
(Your SQL server is safe now, it cant get hacked by the security folder anymore!)
Code:
Under the MySQL Section will you also see "XAMPP Directory PROTECTION (.htaccess)
Enter the user and password you want
(write this down somewhere because you will need this to login to the security page again.
(This will block peoples to enter the security page - so the peoples with the correct username and password can get into the security page ONLY)
Code:
Now go to (c:\xampp\apache\bin) and open php.ini and search for: safe_mode = Off
Delete Off and write On there.
Now will your PHP run in a safe mode.