Dragon_Queen Posted 10 hours ago Share Posted 10 hours ago I'm trying to host my website on GoDaddy, and the php files of my website instead of being executed and returning the output it is returning the raw code as seen in the network tab of the browser... The files were working perfectly fine on my xammp localhost, I did whatever configurations were shown on YouTube tutorials like I uploaded the mysql database and created username and password with full priviledges and used it on the php files to connect and I made sure whatever extensions were being used on my localhost is also checked in GoDaddy... I contacted GoDaddy Support as well but they said there seems to be no issue on the server side... Does anyone have any suggestions for me to try out? Quote Link to comment https://forums.phpfreaks.com/topic/326860-php-not-executing-returning-raw-code/ Share on other sites More sharing options...
Barand Posted 5 hours ago Share Posted 5 hours ago Are you using <?php ... ?> or <? ... ?> in your code when you enter a php code section? The short version (<?) is no longer a default and requires an ini file setting to enable. Quote Link to comment https://forums.phpfreaks.com/topic/326860-php-not-executing-returning-raw-code/#findComment-1650411 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.