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
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
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
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)
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:
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.Code:<?php echo "Hello World!"; ?>
Vger
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
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
The quickest fix is to actually downgrade your MySQL version to MySQL 4.
Vger
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
Did you downgrade to MySQL 4?
Vger
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.