473,597 Members | 2,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12921
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*******@attgl obal.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*******@attgl obal.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.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.

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4303
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 9.2.0.1.0 CREATE TABLE PAGES_4M ( LOADDATE NUMBER(8) NOT NULL,
1
1500
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 (blackbox) which imports new data to my only database table. Once it took 1 ms for one file (1kb) today it takes 7 min. I know there is something wrong. Is it
9
3168
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 experience is IMS DB, which leads to my question. In IMS, there is an HDAM access method which can find a record without using an index as such. At initial database load, it first formats the entire space allocation into blocks of the given size. ...
4
4367
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 loading phase seems quite efficient and seems to be well parallelized. But the build phase is long and seems to use only one processor. Very low IO wait occurs during this phase. Is there something can I do to fasten this process? I guess that if the 4...
7
3217
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 possible through some other ways. i mean in DB2 we have an option of index rebuild option which takes care of this job. Do we have anything as such in BCP or is there some other way? Any help will be appreciated
2
1876
by: Martin v. Lwis | 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: $Revision: 42333 $
1
1303
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 host and since picasa exports the albums as folders (I am using a simpleviewer template) i would like to use a script to read the subdirectories in the \photos directory (where the index file would also be located) and display the folders in a clean...
10
3146
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 a clustering index isn't still valuable (especially for high cardinality columns that aren't a reasonable candidate as an MDC dimension).
7
3147
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 load, an image.onload handler I've previously assigned will be called. Or should be at any rate. The problem is that I need to know inside the onload handler which particular image in the array invoked the handler. I'd be quite happy to know...
0
7894
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8276
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8044
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8261
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6705
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3936
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2409
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1496
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.