Jerry Stuckle wrote:
greenflame wrote:
>>
Thanks, Jerry.
Jerry Stuckle כתב:
>>greenflame wrote:
hello all,
I have installed apache and php following the instructions on this link
which was very helpful:
http://www.tanguay.at/installPhp5.php5
problem:
OS: Windows XP
INDEX.PHP NOT LOADING
important: followed the instruction on the above link and added
index.php to dicrectoryIndex on httpd.conf. and some scripts.
I write either localhost or 127.0.0.1 which is basically the same and
the status is ..opening http://localhost... and NOTHING HAPPENS.
PLEASE HELP.
Thank you
What else changed? You had it working a couple of weeks ago. Or at
least you could load index.php.
Can you still load http://localhost/.../index.php?
What's in your Apache log?
I tried installing it on another computer at my parents' home
everything is cool in the computer where i've installed it the first
time. but I just can't figure out why it's not loading there.
it's like "opening page.... " and nothing.
(Top posting fixed)
It could be a lot of things related to your installation. Personally,
if I were installing it for the first time I'd install WAMP- it's much
easier. Even after installing several by hand I find getting everything
working takes some work.
The first question would be: can you do just a basic index.html page?
See if Apache itself is working. If so, does a phpinfo() page work?
Does it show the correct information? This will tell you if php is
basically working.
Also, as I suggested in alt.www.webmasters, try alt.apache.conf iguration
for starts. See if you configuration is correct.
P.S. When you post to multiple groups, please cross-post - don't
multipost. And this group uses bottom-posting (like this) as a
standard, not top posting (like your response). Thanks.
Did you check your Apache 'http.conf' config file for the
'DirectoryIndex ' option as mentioned before in this thread.
You need to add 'index.php' to the end of the 'DirectoryIndex ' option.
Once this is added when you load a subdirectory in a browser. apache
will search for that file and if it finds it will load it as the first
page.
Example from my http.config file:
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var index.php
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)