George Posted June 1, 2013 Share Posted June 1, 2013 Hello This may be off the topic of this forum. But I downloaded xampp a couple of times. My installations failed. Switching to Wamp server. Regarding creating a user name and password. The books Appendix A instructs creating a My SQL password in xampp. Chapter 4 it says after installing My SQL a user name is created. Like to know if I need to create both a user name and password to access My SQL through wamp server. Lastly if a user name is not needed can I follow the directions to create a password as in Appendix A but using Wamp server. This may be off topic but I new to this and would just like to get wamp set for My SQL. Thank you George. Link to comment Share on other sites More sharing options...
Larry Posted June 3, 2013 Share Posted June 3, 2013 I haven't used WAMP server in a while, but I would start by checking its documentation. Undoubtedly it creates a "root" user with some password or no password, and you can use that on localhost, if you'd rather not create a new MySQL user. Link to comment Share on other sites More sharing options...
George Posted June 8, 2013 Author Share Posted June 8, 2013 Hello Distinguished Author & Community I posted this thread earlier and where I could not get XAMPP to install on windows 7 computer but managed to get it installed on Windows 8. Please one other brief word. I downloaded Notepad ++ and saved a project with the .php file extension. and choose php as my language in notepad ++. I tried running fisrt.php at these URL's http://localhost/first.php. http://127.0.0.1/first.php http://localhost/~<user>/first .php and lastly http://localhost/-<user>/first.php. I also tried typing each URL after selecting English at XAMP 's splash screen. My browser opens and this message appears " access denied ". Using internet explorer 10. I understand this is an advanced forum. But I would just like to understand how to view a php web site in my browser. Not sure where I am going wrong. Please any suggestions. Thank you kindly George. Link to comment Share on other sites More sharing options...
George Posted June 8, 2013 Author Share Posted June 8, 2013 Hello Sorry about the typo URL # 4 should read http://localhost/-<user>/first.php Link to comment Share on other sites More sharing options...
George Posted June 8, 2013 Author Share Posted June 8, 2013 Hello Sorry again for some reason the URL # 4 seems to appear this way after posting. Please remove the 3 dots that appears between U and S in users. Link to comment Share on other sites More sharing options...
Larry Posted June 10, 2013 Share Posted June 10, 2013 Where did you save first.php? Link to comment Share on other sites More sharing options...
George Posted June 11, 2013 Author Share Posted June 11, 2013 When ever a save a project in "general" I usually make a folder on desktop. For a html projects this works easy. I just go into the folder and double click on the html project an it opens in my browser. After unsuccessfully trying to open first.php. by trying the 3 URL's provided in the book. There appears to be more to it then just creating a folder to group my projects in. If you can please continue to help and shed some light more light in your response . Thank you kindly. George. Link to comment Share on other sites More sharing options...
Larry Posted June 11, 2013 Share Posted June 11, 2013 You need to save your scripts to the Web root directory. I'm pretty sure I say this explicitly in the book. For XAMPP, I believe this is an "htdocs" folder within the XAMPPS directory. Link to comment Share on other sites More sharing options...
Recommended Posts