469,304 Members | 2,018 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,304 developers. It's quick & easy.

index.php not loading HELP

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

Aug 14 '06 #1
5 12586
Try the following:

create a .htaccess file with the following line in your web folder:

DirectoryIndex index.php

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

--
--------------------------------------------
m2m server software gmbh - http://www.m2m.at
Aug 14 '06 #2
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?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 15 '06 #3
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.

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?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 15 '06 #4
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.configuration
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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 15 '06 #5
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.configuration
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-)
Aug 15 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by frank niedermeyer | last post: by
9 posts views Thread by WalterR | last post: by
7 posts views Thread by pankaj_wolfhunter | last post: by
2 posts views Thread by Martin v. Lwis | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.