Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Windows Server / Apache server gone wrong?????

Apache server gone wrong?????

Locked

Started by mikeyg on 13 Jun 2006, 9:54 PM · Views: 3,237

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
13 Jun 2006, 9:54 PM
#1
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Apache server gone wrong?????

Help My apache server has suddenly gone weird. It will now only server up the code of the index.php page and not my site (i.e. I get the text code for the index.php page.)

apache server 2.0.58 PHP 4.4.2 runing on Win XP.

Any ideas please

Thanks

MG

13 Jun 2006, 9:58 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Apache server gone wrong?????

First of all - wrong forum. This is the Windows server forum and yours is Apache.

It sounds very much as if your server is not running.

Vger

14 Jun 2006, 12:10 AM
#3
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Apache server gone wrong?????

Sorry it is apache running on windows subtle differnce confuse me.

If I test the config it says it is okay and the apache monitor says it has started so I don't understand why it has all suddenly changed/gone wrong.

I can get an html page to serve up but it will not serve up a php page in a directory below it.

(p.s. How do I move this thread to the right forum topic)

14 Jun 2006, 12:22 AM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Apache server gone wrong?????

Don't worry about moving it to the right forum - one of the moderators will pick up on that and move it.

Try creating a new Text Document on your desktop and renaming it test.php and putting this code into it:

<?php
echo "Hello World!";
?>

Insert the test.php file into the root of your web and then go to http://localhost/test.php and see if it runs, or if you just get the code on the screen.

Vger

14 Jun 2006, 9:20 AM
#5
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Apache server gone wrong?????

Okay I seem to have got basic pages coming back and the test page came up - I now have the DB_notConnected error and the following message appearing:

Client does not support authentication protocol requested by server; consider upgrading MySQL client

Will search forum but if some one knows that would be good.

Thanks in advance

14 Jun 2006, 11:29 AM
#6
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Apache server gone wrong?????

Okay have found the posts about this and thought I had worked through the steps to solve the problem but to no avail.

the solution is apparently here.

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

I am running mysql5 apache 2.0.58 and php 4.4.2 and I can't seem to get the upgrade of the client or the hashing problem resolved.

Can any one give me a step by step account of what to do as I think I am now in the category of complete technical incompetent

Cheers

MG

14 Jun 2006, 12:00 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Apache server gone wrong?????

The quickest fix is to actually downgrade your MySQL version to MySQL 4.

Vger

14 Jun 2006, 11:05 PM
#8
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Apache server gone wrong?????

Okay I have now got the database connected again and the front page of the site shows, but just plain text and no css. Also I cannot log into admin with out apache falling over.

It certainly was not like this two days ago and I have checked for viruses and have not installed anything new.

So I seem to have a different issue now. Any thoughts would be most welcome.

Many thanks

MG

14 Jun 2006, 11:33 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Apache server gone wrong?????

Did you downgrade to MySQL 4?

Vger

15 Jun 2006, 9:35 AM
#10
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Apache server gone wrong?????

Hi vger

I have now down graded and I am back to the authentication protocol problem and messages asking me to upgrade my client again.

15 Jun 2006, 12:15 PM
#11
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Apache server gone wrong?????

Provided that it is a fairly recent version of the MySQL 4 series you shouldn't be having that problem - it's only very old versions of MySQL 4 that have that problem.

Vger

16 Jun 2006, 3:56 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Apache server gone wrong?????

  1. You are running a windows server
  2. you have apache installed
  3. you have PHP installed
  4. you have MySQL installed

Did you also download and install the MySQL Connector for PHP (basically the PHP client to talk to the MySQL engine)? You can get it from the downloads area of the MySQL website.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Dec 2006, 8:56 PM
#13
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Apache server gone wrong?????

I fixed this using another of those methods on the mysql site:

mysql> SET PASSWORD FOR
    -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

That did it for me. Be sure to only type the first line. then hit enter and it makes the -> for you. then add the rest

12 Dec 2006, 11:37 PM
#14
swalka avatar

swalka

New Zenner

Join Date:
Jan 2006
Location:
UK
Posts:
38
Plugin Contributions:
0

Re: Apache server gone wrong?????

Did you resolve this? if you got it running on windows server but no css and proper formatting - could it be a local host error on an internal window server issue? if so resolve on local ip address not local host in cofigure.php.

long shot.

Love LIFE? Live IT!