Jump to content


Photo

Something dreadfuls happened to my Apache Server!


  • Please log in to reply
5 replies to this topic

#1 Area_51

Area_51
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 30 January 2003 - 01:38 AM

Help! i cant believe it, another nightmare on my back and this time its my apache server playing up on me! I have been using apache server 1.3.23 as a console (in windows 98) for nearly a month because I managed to configure it properly with mysql and php.

I have been happilly completing some tutorials and they worked fine (.php and .php4 extensions worked fine). Yes\'day im not sure whether I did something wrong to my computer because for some reason it can not seem to find the php files in my localhost folder.

When I test it using the local host url, the Apache message comes up saying if you see this message then Apache is set up properly. Straight from the localhost folder i used to use a file called test.php i.e. http://localhost/test.php

This file was like a \'hello world thing\' and also included the phpinfo() function and all this used to work! for some reason when i type the same path in my browser it can not seem to find the file! I have other php files that used to work but dont seem to load up any more!

Can someone please tell me what may have happened and what must I do to correct this situation....

Thank you,

J

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 30 January 2003 - 02:09 AM

are you sure the files exist? double check in windows explorer before we go after apache\'s mass of configuration options :shock: accidental delete perhaps?
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 Area_51

Area_51
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 30 January 2003 - 02:23 AM

hi effigy,

I double checked and these files do exist. Inface they actually appear listed when I type the folder name in i.e. I have a few php files in a folder called vault. So when i type the full path :

http://localhost/vault/

It displays all the files. And when I click or even type the desired files in, the browser simply can not find them! I really dont knw what happened here because the last time i used it, everything was working fine. I even just done a virus scan and my comps virus free.

Plz try 2 help if you can, thank you very much for your time

J

#4 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 30 January 2003 - 03:08 AM

:shock: no clue.

i\'m not familiar how apache works on windows as far as user/group permissions - check that?

files corrupt?

you didn\'t make any changes to the httpd.conf at all?

maybe it\'s windows :lol:
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#5 Area_51

Area_51
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 30 January 2003 - 11:00 AM

thanks for trying though effigy. I can not figure out what the problem is, its strange that it was working the night before and then the next day all php files cannot be found/recognised when they are all there.

cheers,

Jass

#6 grebmil

grebmil
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • Locationwestern NY

Posted 04 February 2003 - 06:38 PM

all php files cannot be found/recognised when they are all there.

Does it only fail to find/recognize .php files or all files?

Try an HTML file. Does you browser find that through localhost? What if you save your php files with a different extention ( .php3, .php4, phtml, are a few that have been used). If only php files are the problem you should be able to narrow it down to only a few possabilities.

You may want to check your ini files to make sure the php extention is listed properly. Doen\'t know why it would change by itself overnight but I have seen stranger things.
strrev ("grebmil")




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users