No PHP is showing up.
Posted by: enb0m (---.016-29-6c756c11.cust.bredbandsbolaget.se)
Date: October 15, 2012 01:09AM

I have just installed WAMP and i have made a folder named "testing" inside the C:\wamp\www\ i access this via localhost/testing/index.php but i don't get any of my PHP code to show up. My html code shows up fine but not the PHP. The WAMP icon is green.

EDIT: Nevermind! I was just blind and did not use proper syntax.



Edited 2 time(s). Last edit at 10/15/2012 01:11AM by enb0m.

Options: ReplyQuote
Re: No PHP is showing up.
Posted by: ceoxx (---.Red-88-29-1.staticIP.rima-tde.net)
Date: October 16, 2012 11:14AM

I've just installed wampserver in windows 7 pro and php doesnt work. The icon is green, i can access phpmyadmin but when i try to see my php files only shows html and in source code i can see the php code. I think it must be an incompatibility with some Windows 7 feature. Please, could anyone help me??

Options: ReplyQuote
Re: No PHP is showing up.
Posted by: RiggsFolly (---.as13285.net)
Date: October 19, 2012 11:09AM

I bet your PHP code is using the short_tag <? ?> and not the proper <?php ?>

edit php.ini and change this config param.

short_open_tag = On

Options: ReplyQuote


Sorry, only registered users may post in this forum.