Page 3 of 3

Posted: Wed Jul 07, 2004 12:05 am
by davidklonski
that last tip helped me solved the problem!

when I ran 'apache -start' it showed syntax ok

when I went to http://localhost/ it showed me the content of the directory:
- index.php.txt
The file was saved with a .txt extension and that is why PHP wasn't run!
and indeed when I told Windows to not hide known extension, the hidden .txt extension showed up!

needless to say that when I renamed the file without the .txt extension it worked fine.

thanks again for the help.

Posted: Wed Jul 07, 2004 12:06 am
by markl999
doh! ;)
Glad you got it sorted.

Posted: Wed Jul 07, 2004 7:26 am
by feyd
lemme guess, you wrote the php file in notepad? It has an annoying feature that always adds .txt unless you put the name you want it quotes..

Posted: Wed Jul 07, 2004 8:29 am
by davidklonski
good guess

stupid Microsoft :cry: