XAMPP for Windows

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

XAMPP for Windows

Postby efgarro » 05. November 2010 15:32

Background:

I am learning Drupal and recently I purchased the book "Using Drupal" . The book comes with sample code to execute several tutorial exercises. This sample code, however, requires PHP 5.2. Therefore in order to get the setup working I must complete the following two steps; 1) install XAMPP in my desktop (currently running Window XP Home) and 2) install the sample code provided by "Using Drupal". For both steps I have encountered problems, and these are enumerated as follows:


1) When I install XAMPP 1.7.3, Apache does not want to initiated, no errors, ( no nothing ) indicated. I checked the software requirements and it does include Win XP. Am I missing a required upgrade? I have service pack 2 installed.

2) Say I resolve the first issue, then I need to substite PHP 5.3 with PHP 5.2 in XAMPP 1.7.3. Any pointers?

Cheers,

Eduardo
San José, Costa Rica
efgarro
 
Posts: 2
Joined: 05. November 2010 15:13

Re: XAMPP for Windows

Postby Nobbie » 05. November 2010 16:03

1) Look into the error_log of Apache to find out the reason for not starting on you PC.

2) You cannot down- or upgrade single Components of your Xampp installation. Instead you should install an older Xampp release which comes with PHP 5.2. All Xampp releases are offered for download at sourceforge.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: XAMPP for Windows

Postby maniya » 05. November 2010 18:06

I am a new member and new php user. I have downloaded XAMPP on my windows XP. All good... the control panel application is running. I made a php page in notepad and saved as test.php inside htdocs. Went to the browser google chrome and typed in http://localhost/test.php well! page not found. Couple of things:

1. Is my my path correct?
2. I also noticed the text doc I saved in htdocs ....the icon looks like a notepad icon. Shouldn't the icon for php look different from notepad?

Any advise much appreciated.
Cheers
maniya
 
Posts: 2
Joined: 05. November 2010 17:52

Re: XAMPP for Windows

Postby Altrea » 05. November 2010 18:29

Are your sure the file name is test.php and not test.php.txt?
Notepad added a .txt extension if you are not careful on the filetype option in your save window.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP for Windows

Postby maniya » 05. November 2010 21:07

Altrea wrote:Are your sure the file name is test.php and not test.php.txt?
Notepad added a .txt extension if you are not careful on the filetype option in your save window.

Hi there friend! No actually! It was test.php yea! I checked again. I am guessing ...did i do ome wrong while downloading? But all seems to be there. Plus an Index.php which was part of the downloaded file.The icon for that as well does not have a php icon.
maniya
 
Posts: 2
Joined: 05. November 2010 17:52

Re: XAMPP for Windows

Postby efgarro » 06. November 2010 05:31

I proceeded as follows:

I installed XAMPP 1.7.0 along with patches 1 and 2. Apache starts but MySql doens't. I get the following errors:

In the control panel:
Code: Select all
busy...
ERROR: MySql service not started [-1]


Not sure were to look at the error_log as suggested.

Cheers
efgarro
 
Posts: 2
Joined: 05. November 2010 15:13

Re: XAMPP for Windows

Postby JonB » 06. November 2010 16:25

@efgarro

Why did you install version 1.7.0??? just asking, you may have a good reason.
As for your problem - Has MySQL been installed on this machine previously, or is there another current installation?

Check the MySQL error log -
I'm pretty sure the MySQL error log is in the same place -
xammp\mysql\data\mysql.err

:?:
Last edited by JonB on 06. November 2010 16:36, edited 1 time in total.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP for Windows

Postby JonB » 06. November 2010 16:31

@ maniya

About the icon -

Since XAMMP does not use the Windows registry or modify the Windows 'shell', there are no file type associations made.

:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests