PHP won't output at all when I install WAMP. Help!
Posted by: VeliusIIDX (---.dsl.emhril.sbcglobal.net)
Date: December 04, 2007 06:58AM

I install WAMP with no problems getting localhost running. I make a new folder with a simple hello world script in the www folder and the hello world script won't output the code at all. Just a blank screen.

phpmyadmin works perfectly so I have no clue what's going. Can anyone help? Thanks.

Options: ReplyQuote
Re: PHP won't output at all when I install WAMP. Help!
Posted by: rip_pit (---.w90-5.abo.wanadoo.fr)
Date: December 04, 2007 04:45PM

What is the code you used ? Put it here all.

---------------------------------------------
XP SP3 - pIV - 3.2Ghz - 1.5Go de ram - Wamp 2.0

Options: ReplyQuote
Re: PHP won't output at all when I install WAMP. Help!
Posted by: yfastud (Moderator)
Date: December 04, 2007 05:08PM

If you didn't enable short_open_tag in php.ini, make sure to use full tag <?php ... ?>

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PHP won't output at all when I install WAMP. Help!
Posted by: abim (---.68.48.60.trm02-home.tm.net.my)
Date: December 04, 2007 05:09PM

em.. may be you forgot something
if you using tag like this <? ?> you must enable it at php.ini, by default it only run <?PHP ?>

to enable it change
short_open_tag = on

Options: ReplyQuote
Re: PHP won't output at all when I install WAMP. Help!
Posted by: VeliusIIDX (---.dsl.emhril.sbcglobal.net)
Date: December 04, 2007 07:01PM

Yeah that was it, thanks!

Options: ReplyQuote


Sorry, only registered users may post in this forum.