3raser Posted April 5, 2011 Share Posted April 5, 2011 (I looked at the appropriate forums to put this in, but it seems I couldn't find a forum section specifically for this problem) Yesterday PHP on WAMP was working perfectly. So I shutdown the computer, go to sleep, and wake up and turn WAMP on. But for some odd reason, when none of my PHP files are loading properly. It just shows all the code as if it were a .txt file. Any reasons for this? Quote Link to comment https://forums.phpfreaks.com/topic/232794-wamp-php-not-loading/ Share on other sites More sharing options...
Maq Posted April 5, 2011 Share Posted April 5, 2011 How are you loading your files? Post the "URL". Quote Link to comment https://forums.phpfreaks.com/topic/232794-wamp-php-not-loading/#findComment-1197394 Share on other sites More sharing options...
3raser Posted April 5, 2011 Author Share Posted April 5, 2011 How are you loading your files? Post the "URL". I do: file:///C:/wamp/www/functions.php And tried: http://localhost/ EDIT: Somehow a few files were missing, but I fixed this. Quote Link to comment https://forums.phpfreaks.com/topic/232794-wamp-php-not-loading/#findComment-1197400 Share on other sites More sharing options...
Maq Posted April 5, 2011 Share Posted April 5, 2011 You need to use the localhost way so Apache can handle your files. EDIT: Somehow a few files were missing, but I fixed this. Good. Quote Link to comment https://forums.phpfreaks.com/topic/232794-wamp-php-not-loading/#findComment-1197407 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.