Server settings to make PHP pages show up?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
AbrasiveRock
Forum Commoner
Posts: 40
Joined: Sat Feb 08, 2003 10:47 pm
Location: Olympia,WA
Contact:

Server settings to make PHP pages show up?

Post by AbrasiveRock »

Ok, I own my own server (a friend set it up for me) that is run on Red Hat Linux & Apache. I have a PHP page that wont show up. What setting do I change to make it show up? Can it be fixed through WS_FTP or do I have to use Putty/telnet? Sorry if this is posted somewhere else, but I coulndn't find it....I am a newbie afterall. :oops:
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

you need to be more specific when you say that it "wont show up". does it come up as a blank page, does it give an error, what is happening? And does this happen with every php page, or just the one?
AbrasiveRock
Forum Commoner
Posts: 40
Joined: Sat Feb 08, 2003 10:47 pm
Location: Olympia,WA
Contact:

Post by AbrasiveRock »

Ok, I think I figured out most of the problem. Now the page shows up fine, but the SSI menu does not show and the simple php web counter just displays the script. I know both scripts work fine, because I used them on another server.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

If the script works ok on one server but not on another, check the register globals settings on each - your problem could be that it's set on at one but off at the other.

There's a sticky thread about register globals if you need more info - or post again.

phpinfo() will show you the server config for this and other settings.
AbrasiveRock
Forum Commoner
Posts: 40
Joined: Sat Feb 08, 2003 10:47 pm
Location: Olympia,WA
Contact:

Post by AbrasiveRock »

Ok, now I really feel like a newbie. The problem was a case thing. When editing with Micro$oft for a linux sever, the case of a file name can be changed automaticly. I never thought to check that since I always keep all file names lower case. When I upgrade my computers hardware I am switching to a linux OP so this garbage never happens to me again.

Thanks for helping me trouble shoot though. Sorry for the hassle. :oops:
Post Reply