already had php 4 & mysql 4 , so xampp gave errors ! hel

Problems with the Windows version of XAMPP, questions, comments, and anything related.

already had php 4 & mysql 4 , so xampp gave errors ! hel

Postby gutguy » 04. September 2007 23:21

Hi / Guten Tag

i was running PHP & mySQL on apache_1.3.26-win32-x86-no_src

PHP Version : php-4.2.1-Win32

mySQL version : mysql-4.0.1-alpha-win

i downloaded XAMPP ( xampp-win32-1.6.3a-installer ) and installed it on Windows XP SP 2 got these errors ,

Error 1 :

Ports 80 or 443 ( SSL ) already in use !
Installing Apache2.2 service failed!

Error 2 :

Port 3306 already in use! Installing MySQL service failed!

Service Installation finished! Hint : Use also the XAMPP Control Panel to manage services.


So what should i do now ? Uninstall previous versions of Apache , mySQL & PHP ? If so then how ?????? i am a newbie . I'll appreciate an easier uninstallation process or any other work around solution ! :roll:
gutguy
 
Posts: 2
Joined: 04. September 2007 23:12

Postby Izzy » 05. September 2007 01:08

Close the XAMPP control panel after making sure all the XAMPP components are stopped and none of them are set to start as a service.

Uninstall the previous apache mysql and php by using the Windows Control Panel > Add Remove Programs

Then, after you delete the previous installations directories if any remain, restart your computer and check that none of those services are running by looking in the Task Manager and before you try and start XAMPP.

To get the Task Manager right click on the Taskbar and select Task Manager from the context menu.

Click on the Processes tab and look for any instances of Apache and mysqld

If you find any, then you have some services that have not been removed from the registry and they need to be removed or they will only interfere with XAMPP again.

XAMPP needs exclusive use to it's components default ports for it to run without problems.

To remove those stuck service:

Open a command prompt:
Click on start on the Taskbar
Click on Run...
Type cmd
Click OK

Remove stuck Apache service:
Type at the command prompt sc delete apache2
Press Enter on your keyboard

Remove stuck MySQL service:
Type at the command prompt sc delete mysql
Press Enter

They should do the trick for you.

(Just to add to the above list:
Remove if you get a stuck FileZilla FTP service:
type at a command prompt sc delete "FileZilla Server"
Press Enter)

Now open your XAMPP Control Panel or DTX and start the components you want and set them to run as a service if you prefer.

BTW - sc stands for sc.exe service control and will delete any stray services that won't shut down by any normal means.

Microsoft explains the Service Controller Commands here.

=================================================
Take a look at the new DeskTopXampp launch control posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967

The DeskTopXampp launch control for XAMPP and XAMPPlite (DTX.exe)
is available here:
http://zedfiles.com/DTX/

I highly recommend DTX.
=================================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby gutguy » 05. September 2007 19:39

Izzy

what a great way to explain !!! were you a teacher ?
i also learnt DOS long time ago but never knew that -SC type of command exist in it !!

I also deleted "php.ini" of the previous install from C:\Windows , i am also running Microsoft SQL server 2005 , hope it will not interfere in it. Everything else is working fine till now.

Thanks a lot / Vielen Danke
gutguy
 
Posts: 2
Joined: 04. September 2007 23:12


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests