Registered: 14 years ago
Please take note that when you install XAMPP (or any of the other software on the CD), you do not need to follow the instructions as per the manual, or the prescribed book, for that matter, since the software installs PHP, Apache and MySQl automatically with minimum configuration required on your part. The manual's chapter on installation is for background, should you wish to install these components separately - which you don't want to do if you have an installer which does all three for you!
It sometimes is not as simple as it sounds Please read previous forums for guidance - it depends very much on your PC-setup.
You're right, it's not as simple as it sounds. I had to install XAMPP several times before apache worked properly. I didn't follow the instructions from the manual or the prescribed book but the book was helpful to try and figure out what the problem was. Apache was set-up to use the same port as my anti-virus software.
Installed XAMPP and everything is working 100%. Tested the installation using simple echo "Hello PHPWorld"; php file which I saved as hello.php on
C:\Program Files\xampp\htdocs folder. It worked fine but when I save a file in a different folder I get errors when I enter http: //localhost/hello.php.
Question - Does this mean that we have to save all our work in the htdocs folder?