logo
Search:

Login:


Forgot Details? Sign-up

forum >> Programming questions >> HTML / XHTML / HTML5 / CSS

A problem with XAMPP

Posted Feb 17 2014 at 10:04 AM by
Roger Weyand (rweyand)
As a retiree trying to 'retool' in an area completely different from my previous work background, I'd like to thank you for your book (All-In-One) which I feel I can (mostly) understand without feeling totally overwhelmed. However, I have run into a problem that I feel I have to resolve. I installed XAMPP (1.8.3) in the program files directory of Windows 7 and established a database in mySql which is essentially the same as established by your buildContactAutoIncrement.sql program. I then copied your contact.php program as in Fig 7.1 of chpt 7, book 5 into notepad++ and changed the password, username and database parameters as necessary. At first I had problems transferring the program to the htdocs folder but then figured out I had to change the permissions to get it accepted. But now every time that I try to go to localhost/contact.php I get an Object Not Found Error 404 message. I seem to remember that you commented that some people had problems with putting XAMPP under the program files directory in Windows 7. Could this be the problem? Any other thoughts? (The localhost/index.php URL works fine.)
Thanks again for your book and your help.
RWeyand
AuthorMessage
Andy
Posted: Mar 26 2014 kl. 1:11 PM

Yeah, I've seen a couple of problems with Windows. Some of the programs have difficulty with spaces in file names, and "program files" has a space. Often just installing xampp directly under the root will resolve this.

I also find that skype sometimes interferes with xampp, so turn off skype before running xampp to see if that helps. (Once apache is running, you can start skype up again with no problems.)

There may be other issues too, but I'm not sure of that.