Page 1 of 1

[solved]XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 07. August 2012 12:01
by Apocalypsse
I've just installed XAMPP 1.8.0 on my pc with Windows 7 64 bit. When I go to http://localhost/ it comes up with 'Could not connect to remote server'. The control panel says Apache/MySQL is running, I can turn MySQL on/off but I have to exit the CP to turn off Apache. There are no error logs for Apache.

Whats the go here? I've had XAMPP running on Vista 32 bit but I can't get it running now on win7 64bit.

Re: XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 08. August 2012 01:01
by JJ_Tagy
Perhaps your host file has localhost commented out?

Re: XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 08. August 2012 07:17
by Apocalypsse
JJ_Tagy wrote:Perhaps your host file has localhost commented out?


Nope. Host file is just fine. Using http://localhost:port/ also yields the same result, except 1 port listed on the XAMPP CP redirects to my network card admin cp.

MySQL has this in the error log:
120808 16:14:37 [Note] Plugin 'FEDERATED' is disabled.
120808 16:14:37 InnoDB: The InnoDB memory heap is disabled
120808 16:14:37 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120808 16:14:37 InnoDB: Compressed tables use zlib 1.2.3
120808 16:14:37 InnoDB: Initializing buffer pool, size = 16.0M
120808 16:14:37 InnoDB: Completed initialization of buffer pool
120808 16:14:37 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
120808 16:14:37 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
120808 16:14:38 InnoDB: Waiting for the background threads to start
120808 16:14:39 InnoDB: 1.1.8 started; log sequence number 1595675
120808 16:14:39 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
120808 16:14:39 [Note] - '0.0.0.0' resolves to '0.0.0.0';
120808 16:14:39 [Note] Server socket created on IP: '0.0.0.0'.
120808 16:14:39 [Note] Event Scheduler: Loaded 0 events
120808 16:14:39 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.25a' socket: '' port: 3306 MySQL Community Server (GPL)

Re: XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 08. August 2012 12:09
by Apocalypsse
Seems it works fine when I have the apache_start batch file running, but it still doesn't work when just using the control panel alone.

Re: XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 08. August 2012 18:05
by Altrea
Hi Apocalypsse,

Have you registered the service checkfields of the components in the control panel?
If yes, please untick them and try again to start

Have you started the control panel with enhanced administrative priviledges?
If no, please do this. Some actions can only be done if running with enhanced administrative priviledges (especially things with windows services).

best wishes,
Altrea

Re: XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 09. August 2012 23:19
by Apocalypsse
Altrea wrote:Hi Apocalypsse,

Have you registered the service checkfields of the components in the control panel?
If yes, please untick them and try again to start


I don't have them running as services.

Altrea wrote:Have you started the control panel with enhanced administrative priviledges?
If no, please do this. Some actions can only be done if running with enhanced administrative priviledges (especially things with windows services).

best wishes,
Altrea


This has fixed it, I hit 'Run as Admininstrator' on the shortcut and now Apache starts/stops properly from the control panel.

Thanks for the help.

Re: [solved]XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 09. August 2012 23:29
by Altrea
You are welcome-
Have fun with XAMPP and all thats tuff 8)

Re: [solved]XAMPP 1.8.0 Fresh Install Localhost Issue

PostPosted: 31. October 2012 19:04
by udnis
thanks for the info, i just simple hit 'Run as Admininstrator' on the shortcut and now it works.