PHP and wampserver: php code won't execute and is displayed in the source code
All of a 开发者_如何学Pythonsudden my php code won't execute and the php code is displayed in the source code.
If you recently installed a different version of PHP I'd check there first. I was installing the wrong version of PHP with 64 bit WAMP a while back which was causing it to crash but it looked like it was properly starting up.
I think WAMP is better than XAMP, coz WAMP is much user friendly !
First check if phpinfo() is working or not !
Check if PHP module is loaded by APACHE
Make sure you are writing <?php
instead of <?
精彩评论