just-a-noob Posted October 1, 2009 Share Posted October 1, 2009 I have only just started learning PHP and i am thoroughly enjoying every moment. Although I have installed EasyPHP and my computer is now the server, why can't i view my scripts when i work off line? Quote Link to comment https://forums.phpfreaks.com/topic/176161-working-off-line/ Share on other sites More sharing options...
cags Posted October 1, 2009 Share Posted October 1, 2009 Few questions... [*]How are you trying to view the scripts? [*]Do you have Apache running? [*]Are you putting the scripts in the 'server root' directory (with xampp it's c:\xampp\htdocs\, with wamp it's c:\wamp\www\, not sure what it would be for easyPHP) [*]Are you trying to access them with http://localhost/ relative paths? Quote Link to comment https://forums.phpfreaks.com/topic/176161-working-off-line/#findComment-928345 Share on other sites More sharing options...
just-a-noob Posted October 1, 2009 Author Share Posted October 1, 2009 Hi cags, I view the script through the browser. (don't know of any other way). Yes Apache is running. I am putting all the scripts into the 'www' directory. all i have to type to view the scripts is either: 127.0.0.1/file_name.php or localhost/file_name.php. Quote Link to comment https://forums.phpfreaks.com/topic/176161-working-off-line/#findComment-928506 Share on other sites More sharing options...
PFMaBiSmAd Posted October 1, 2009 Share Posted October 1, 2009 And what exactly happens? What do you see in front of you that leads you to ask "why can't i view my scripts" Quote Link to comment https://forums.phpfreaks.com/topic/176161-working-off-line/#findComment-928507 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.