PHP code is not being executed, instead code shows on the page
266 58 I'm trying to execute some PHP code on a project (using Dreamweaver) but the code isn't being run. When I check the source code, the PHP code appears as HTML tags (I can see it in the source code). Apache is running properly (I'm working with XAMPP), the PHP pages are being opened properly but the PHP code isn't being executed. Does someone have a suggestion about what is happening? Note: The file is already named as filename.php Edit: The Code..: <? include_once("/code/configs.php"); ?> php apache share | improve this question edited Mar 22 '17 at 16:16 Taryn ♦ 191k 47 291 354 asked Feb 25 '11 at 19:06 Gui Gui 3,652 10 34 51 38 Are you using short tags <? instead of <?php ? – Dan Grossman Feb 25 '11 at 19:09 2 Yes, i'm using <? ... – Gui Feb 25 '11 at 19:12 22 Don't EVER use short tags. ( <? ). They are depre...