Hi,
I am new to XAMPP but have spent the past two days working on this but unable to overcome the issue
My Objective: To setup up XAMPP on my private server 192.168.1.90 and to allow access from client on the 192.168.1.o/24 network
Process:
1. I installed xampp-win32-1.7.4-VC6-installer
2. I modified c:\xampp\apache\conf\extra\httpd-xampp.conf to change the line
Allow from 127.0.0.0/8
to
Allow from 192.168.1.90
3. I modified line 5 in C:\XAMPP\security\htdocs\xamppsecurity.php to $host = "192.168.1.90"; to allow access to the security options off the XAMPP index page
4. I modified c:\xampp\phpMyAdmin\config.inc to have the follow config (used password=home)
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = '192.168.1.90';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'home';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
5. I set up the same password of "home" in the Mysql using "cookie" as the auth method but not using 192.168.1.90 as the URL (see below)
Issues:
A: When I go to http://192.168.1.90/security/index.php off the page http://192.168.1.90/xampp/index.php, I get the following error FORBIDDEN FOR CLIENT 192.168.1.90 . When I manually change it to http://192.168.1.90/security/index.php it works but the 192.168.1.90 should work. Is this a bug?
B: Mysql is running with no errors. When I connect to http://192.168.1.90/phpmyadmin/, I get the error #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) and Connection for controluser as defined in your configuration failed. When I go to http://127.0.0.1/phpmyadmin/ it bring up the login page but the login fails and give me #1130 Cannot log in to the MySQL server
I have tried a number of installs and re-installs and I did make progress once ( I got access to mysql) if I stick with 127.0.0.1 but this is no good for me as I want to use the 192.168.1.0 range
Can someone assist or point me to a document on this. I cannot understand why there is not a single document for this setup as it is fairly common. I see that most post refer to local host and 127.0.0.1 which is needed (I accept) for developers but I would like to think that XAMPP can be used in a private LAN for test purposes
Thanks in advance for any help provided
Browser