Page 1 of 1
Newbie
Posted: Sun Oct 26, 2003 6:35 pm
by j9hagop
I can't create any php and view it on my computer. I am going crazy, I installed apache, i installed php, I save my html file with my imbeded php in the file and I place it in the root folder of apache "htdocs"
and I can't get it to work???????????
I call the file phpinfo.php and then in my browser I go too
http://127.0.0.1/phpinfo.php
IT CANT FIND IT
Please help!!!!!!!!!!!
Jack Hagopian
j9hagop@yahoo.com
Posted: Sun Oct 26, 2003 7:19 pm
by volka
do you get a "document not found" or a "server not found" message?
Posted: Sun Oct 26, 2003 11:15 pm
by j9hagop
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the 127.0.0.1 home page, and then look for links to the information you want.
Click the Back button to try another link.
HTTP 404 - File not found
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
More information:
Microsoft Support
That is what it says on the page!
Can you help??
Posted: Mon Oct 27, 2003 8:10 am
by volka
hm, how did you install php?
Can you access files other than php (a simple test.html file at the same location) ?
Posted: Mon Oct 27, 2003 8:22 am
by Nay
Hit me with a big stick but if it was Apache, then shouldn't it be locahost?
-Nay
Posted: Mon Oct 27, 2003 8:23 am
by volka
localhost usually is resolved to 127.0.0.1

Posted: Mon Oct 27, 2003 8:27 am
by m3rajk
nay:
special ips:
10.x.x.x == private network, never go off the network
127.0.0.1 == loopback address
there are someother specials. i belive 192.168 was also set to private addresses
Posted: Mon Oct 27, 2003 8:28 am
by Nay
Ouch, hey, you hit me

. You were hiding that big stick behind you! Should have seen that coming *snaps fingers*
Anyhow, getting back. Can you try locahost/test.html. See if Apache or PHP is not working. Then maybe we can find a solution.
-Nay
Posted: Mon Oct 27, 2003 8:32 am
by m3rajk
ehh. i just got hte feeling you forgot there's reserved, or forgot which are reserved.
Posted: Mon Oct 27, 2003 2:25 pm
by Cruzado_Mainfrm
do you have the apache started (nobody knows...)
Posted: Mon Oct 27, 2003 5:54 pm
by JAM
Cruzado_Mainfrm's post are a qualified guess, and something I first thought of also... It does happen.
Also, check the php.ini/httpd.conf that the document (all paths actually) path actually exists/works and carry the correct syntax. Perhaps some \ are written as / and fubar's it...
Posted: Wed Oct 29, 2003 6:41 pm
by j9hagop
Thank you for everyone that helped me out, I appreciate it.
I don't know what was relly wrong, maybee I needed to reset my computer or something. I came back to check to see if it worked a couple days later and it did, go figure.
Thanks everyone