Page 1 of 1

XAMPP for Windows

PostPosted: 05. November 2010 15:32
by efgarro
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

Re: XAMPP for Windows

PostPosted: 05. November 2010 16:03
by Nobbie
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.

Re: XAMPP for Windows

PostPosted: 05. November 2010 18:06
by maniya
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

Re: XAMPP for Windows

PostPosted: 05. November 2010 18:29
by Altrea
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.

Re: XAMPP for Windows

PostPosted: 05. November 2010 21:07
by maniya
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.

Re: XAMPP for Windows

PostPosted: 06. November 2010 05:31
by efgarro
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

Re: XAMPP for Windows

PostPosted: 06. November 2010 16:25
by JonB
@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

:?:

Re: XAMPP for Windows

PostPosted: 06. November 2010 16:31
by JonB
@ maniya

About the icon -

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

:)