logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: php wont show..
Author
arrow21987



Joined: 14 Aug 2006
Posts: 5

PostPosted: Mon 14 Aug '06 14:52    Post subject: php wont show.. Reply with quote

ok i am following this post: http://www.apachelounge.com/viewtopic.php?t=570

and i have done everything it says to do, but when i add a php file to my htdocs folder, it doesnt show the php. is there something i missed?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Mon 14 Aug '06 15:16    Post subject: Reply with quote

Did you start the script with <? or <?php ?
Back to top
Xing
Moderator


Joined: 26 Oct 2005
Posts: 49

PostPosted: Mon 14 Aug '06 15:17    Post subject: Reply with quote

When you followed the guide exactly it should work.
What do you get, an error/warning or is the code displayed ?

Is phpinfo() working ?

X
Back to top
arrow21987



Joined: 14 Aug 2006
Posts: 5

PostPosted: Mon 14 Aug '06 15:25    Post subject: Reply with quote

blank...


the code i used was:

Code:
<?
echo "it works!";
?>


ill look over what i may have done wronge when setting it up...
Back to top
Xing
Moderator


Joined: 26 Oct 2005
Posts: 49

PostPosted: Mon 14 Aug '06 15:38    Post subject: Reply with quote

When you try as James said above:

<?php
echo "it works!";
?>

X
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Mon 14 Aug '06 15:38    Post subject: Reply with quote

try to set in php.ini
Code:

short_open_tag = On
Back to top
arrow21987



Joined: 14 Aug 2006
Posts: 5

PostPosted: Mon 14 Aug '06 15:52    Post subject: Reply with quote

woot it works! thanks a bunch! i found out i had installed it wronge... then when it started to display something like this:

Code:
"It works!"; ?>


so i did what you said which was change the short_open_tag to on and it works! thanks a bunch!
Back to top


Reply to topic   Topic: php wont show.. View previous topic :: View next topic
Post new topic   Forum Index -> Other Software