Trying to test PHP... webpage not found

Status
Not open for further replies.

bobgalka

Member
Messages
74
Reaction score
1
Points
8
Hi...

I have been learning to use php on my localhost server... wamp if that matters..... so far so good....

To see what extensions I have available here I ran a script with phpinfo()

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

saved it to a file called phpinfotest.php

tested it locally... ran fine

uploaded it to my x10hosting main folder.... when I tried to load it...

http://bobgalka.x10hosting.com/phpinfotest.php

I get webpage not found from IE8, and also firefox

I have other pages here (non php) that work fine.

I also read here that the account panel is not reporting the php level correctly so I don't know what I have.

Help ;O)

Bob Galka
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
Your site works, but that file is not found. Did you upload it to the public_html directory?
 

zubair12

Banned
Messages
631
Reaction score
0
Points
0
garrettroyce is correct. i had not check your site and post reply!!!
 

bobgalka

Member
Messages
74
Reaction score
1
Points
8
garrettroyce...

Thanks for the reply...

Yes I know that my site is working... I have other pages there that work fine as I said... with no PHP...

Yes the file is in my public_html directory...
Yes I checked the spelling....

I read somewhere else on the forum about the htaccess file.. Do I need that to execute PHP files? and if so what should I put in the htaccess file? (I jsut checed and I do have a .htaccess file but it is empty)

Thanks for any help with this.

Bob
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
htaccess is not required for PHP. It is used to control how the server reacts to a request for viewing your site. Corey may have PHP disabled right now while he is servicing the servers. A lot of people are having problems right now. If you can't view your page in a few hours, you should submit a ticket. I'd wait as long as possible because they're probably aware and fixing the problem and tickets just slow things down :)
 
Last edited:

bobgalka

Member
Messages
74
Reaction score
1
Points
8
garrettroyce ---- Thanks...

I hope it is something as easy and co-incedental as that ;O)

I try later tonight....

Bob
 
Status
Not open for further replies.
Top