PHP Issue

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Rajeev
Forum Newbie
Posts: 1
Joined: Tue Oct 25, 2005 9:56 pm

PHP Issue

Post by Rajeev »

Hi,
I have installed Php on my linux box and also Apache server. But when I add test.php and try to access it through IE, it does not open and more over when we go to folder & open with IE, then the php contents
I.e. <? print "<h1> It Works! </h1>"; ?> , It is not parsing the text and showing same text on the browser.

Can somebody help me on this?.

Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the code you have referenced would require short tags to be on, are they? (check your php.ini) Have you correctly installed php with Apache?
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

you will have to make changes to the httpd.conf in order to make PHP work. search for
"PHP+Apache+Linux+Installation" on Google...
Post Reply