473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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 12820
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: stef | last post by:
Hi, I have a range partitioned (one partition = one month) table. On this table I have a local unique index and a local domain index (Oracle Text) on a CLOB column. I'm running Oracle...
1
by: frank niedermeyer | last post by:
Hello Newsgroup ! I'm working with SQL Server 7.0 and Access 2000 . I build some stored procedures and indexes to enhance the performance of my queries. Now there is another application...
9
by: WalterR | last post by:
This is my first time here, so there may be earlier relevant threads of which I am unaware. Though my experience with DB2 is not extensive, such as it is was under OS/390 or equ. My main...
4
by: Xela | last post by:
Hi I am facing the following problem. I load a fact table with around 25 millons lines, and 7 indexes. I load it with 3 million line subsets. I am on a quadriprocessor Solaris machine. The...
7
by: pankaj_wolfhunter | last post by:
Greetings, While loading data into Sql Server using BCP utility, we have to explicitly need to drop the indexes. then after loading the data we recreate them. I just want to know if this is...
2
by: Martin v. Löwis | last post by:
I've been working on PEP 353 for some time now. Please comment, in particular if you are using 64-bit systems. Regards, Martin PEP: 353 Title: Using ssize_t as the index type Version:...
1
by: w33d5 | last post by:
I'm looking for a little help in making an index file to read the subdirectories in the same folder and display the links in a table. i am loading photo galleries using google's picasa onto my...
10
by: Ian | last post by:
Henry J. wrote: MDC *guarantees* clustering, whereas a table with a clustering index will eventually require maintenance (a.k.a. reorg) to maintain the cluster ratio. That's not to say that...
7
by: howardk | last post by:
I'm writing some code that loads a number of images, using the standard mechanism of assigning a src url to a newly constructed Image object, thus invoking the image-load operation. On a successful...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.