Page 1 of 2

Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 06. December 2010 06:52
by kkathman
I have been terribly unsuccessful in getting a PHP server running on my new Dell Inspiron running Windows 7 64-bit. It comes with IIS, which is great for coding ASP.net sites, but I also wish to do PHP sites also, and II7 is just impossibly complicated I suppose for me that has been a 32-bit guy on XP for so many years!

As I am pleased with XAMPP in all my other environments (Linux, OS X, and Windows XP) I'd love to run XAMPP on my new box. That way I can just stop IIS, start up XAMPP and have it work (hopefully). but then swtich back to IIS7 and ASPX if need be.

Has anyone had any luck or success in running XAMPP on a Win 7,64-bit environbment? I understand there is an issue in running a MYSQL 32 bit with Apache 32-bit on a 64-bit machine.

Any help would be very much appreciated!

Cheers!

Korky

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 06. December 2010 09:36
by Nobbie
I have a notebook with Win7 64 Home Premium and Xampp runs without any problems.

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 06. December 2010 11:48
by peterwt
I am also running XAMPP on Windows 7 64 bit without any problems.

Put in the default directory and run the installer as an administrator.

Peter

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 06. December 2010 13:54
by kkathman
Thank you for your replies!

I guess I'll need to check how to login as administrator on this new box. I got it from Dell. I haven't worked too much with Windows in the past 3 years, opting for development on a Mac instead.

Is it possible to run XAMPP on a different port, such as 8080 instead of the default 80? I'm sure this is just tweaking the Apache install in some manner. I remember that I used to do that on a Windows laptop I had because of another server that ran on it.

If I could get XAMPP to run on 8080, then IIS 7 could hapily run on 80 and there should be no conflicts. Right?

Thanks.

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 06. December 2010 14:48
by Nobbie
kkathman wrote:I guess I'll need to check how to login as administrator on this new box.


I did not login as administrator.

kkathman wrote:Is it possible to run XAMPP on a different port, such as 8080 instead of the default 80?


Yes. See the "LISTEN" directive in the Apache manual.

kkathman wrote:If I could get XAMPP to run on 8080, then IIS 7 could hapily run on 80 and there should be no conflicts. Right?


Half right. Dont forget about Port 443 (for https connections), you have to change that as well (if it is activated for Apache and/or IIS).

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 11. December 2010 15:57
by brucemcintosh
If anyone can reach the developer group directly could you suggest that they include Windows 7 in the supported OS list on the XAMPP site. Even if they say not fully tested it would encourage people to try and find as I have that it installs fine.

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 15. December 2010 19:36
by jzigbe
I have installed Xampp on my Portable disc and it works perfectly on my Win 7 64 !

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 19. December 2010 16:53
by yonofui
okay, my English is not very good, so I apologize beforehand, but i have a solution... so here goes my version for Xampp in Windows 7 x64:

First:

-Edit (as Administrator) the Hosts file in WINDOWS \ system32 \ drivers \ etc

-You must write

127.0.0.1 localhost

And delete or comment with # other entries

Second:

-You must go to services and applications (right click on computer, then manage).

-You must stop and disable the service called "Service Base Filtering Engine (BFE) ", this will also stop the firewall and IPsec service. (I really do not care about that three services). :x

Third:

"Run Xampp and should fly like a bird (or like it used to be in Windows XP). Note: If Apache does not start, you should run the port-check is in the xampp folder and kill the clogging process.

Greetings! :D

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 20. December 2010 00:07
by peterwt
yonofui wrote:You must write
127.0.0.1 localhost
And delete or comment with # other entries

The 64 bit hosts file states "# localhost name resolution is handled within DNS itself." It is not required to add the entry you stated - mine works fine without doing this. In fact the localhost is resolved in the IP Stack according to Microsoft.

yonofui wrote:You must stop and disable the service called "Service Base Filtering Engine (BFE) ", this will also stop the firewall and IPsec service. (I really do not care about that three services).

On my PC the service name is Base Filtering Engine. It is not advised to stop this service for security reasons. Again on my PC that service is running with XAMPP. Any changes should be made in any firewall program.

Peter

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 20. December 2010 03:47
by JonB
Dear Peter -

yonofui may be right on the first point, based on my testing. He/she is quite right on Vista (although I don't know how the most recent service pack affected this) AFAIK - The problem is that the new MS DNS resolver resolves localhost in IPv6 by default - i.e. ::1, and I think PHP and MySQL have some problems with that. It is not always a problem, it depends (I think) on the socket type you use. So a MySQL socket works, but the TCP/IP socket (I'm pretty sure) requires the IPv4 localhost entry to be added. I know its an unresolved issue at the moment in the XAMMP Beta, I was testing that exact issue. This kinda is a reverse bleed also on the matter of having to enable IPv6 in XP. Its a world in transition (and IP address inflation). My 13 IP block just went from $19.95/month to $34.95 :shock:

Happy Holidays everyone.
:D
bahh - No Santa Smiley here

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 20. December 2010 04:24
by JonB
@ kkathman

In Win 7 you have to enable the Administrator Account
http://www.windows7news.com/2009/02/03/ ... r-account/

NOTE: I run XAMPP on a Win 7 box and did NOT need to do that.

Note to all:

Win 7 has been added to the XAMPP for Windows page
XAMPP Windows 1.7.3
[Basic package] Apache 2.2.14 (IPv6 enabled), MySQL 5.1.41 + PBXT engine, PHP 5.3.1, OpenSSL 0.9.8l, phpMyAdmin 3.2.4, XAMPP Control Panel 2.5.8, XAMPP CLI Bundle 1.6, Webalizer 2.21-02, Mercury Mail Transport System v4.72, msmtp 1.4.19, FileZilla FTP Server 0.9.33, SQLite 2.8.17, SQLite 3.6.20, ADOdb 5.10, eAccelerator 0.9.6-rc1, Xdebug 2.0.6-dev, Ming 0.4.3
For Windows 2000, XP, Vista, 7. See README

:D

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 23. December 2010 08:25
by snowonweb
bump

What is mixing is simple step by step instructions or any instructions that make more sense than the one word included in xamp/mercury. If I understand it correclty it says change hosts file to stay localhost 198.41.0.4).
It doesnt make sense to me and besides my computer is 192.168.x.x range.
Is that what needs to be done? Set my hosts file to localhost 192.168.x.1xx.

Lots of people have similar problem but neither mercury or xamp forum offer an answer. Anyone care to share.

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 23. December 2010 16:17
by beattitudes66
I am running windows 7 and have installed xampp to the default directory. However IIS7 is running and im not sure how to turn that off or bypass it in order to have apache services running. I have tried(without success) to start apache but it will start it will not run....a port check reveals that on port 80 status indicates System all the other ports indicate free so I am guessing I need to change the ports for apache service http?

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 23. December 2010 16:50
by peterwt
beattitudes66 wrote:I am running windows 7 and have installed xampp to the default directory. However IIS7 is running and im not sure how to turn that off or bypass it in order to have apache services running. I have tried(without success) to start apache but it will start it will not run....a port check reveals that on port 80 status indicates System all the other ports indicate free so I am guessing I need to change the ports for apache service http?


Go to services and stop IIS and set it to manual start.

Peter

Re: Anyone Installed XAMPP on a Windows 7 64-bit ?

PostPosted: 24. December 2010 14:42
by beattitudes66
Sorry new to this but services in xampp or services in windows?