By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,812 Members | 875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,812 IT Pros & Developers. It's quick & easy.

index.php not loading HELP

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.