Page 1 of 1

Help please

PostPosted: 01. April 2008 22:20
by Deko TLD
Hi im really new to all stuff but trying to make a start basically.

I downloaded and installed xampp-1.6.6a, and checked localhost, that worked fine, then I tried creating my own php document, it said it could not be found. I went and checked the index.php and it said something was wrong with xampp.

I read that it could be a problem with the php root or something so I tried creating just a test.html file, and then entered localhost/test.html and this still could not be found.

Could anyone help me out please. I had a brief look through the forum but to be honest I dont really know what im looking for. All I can surmise is that theres a problem with the root, but I checked the httpd config file and it seems to have the right location entered.

Any help would be greatly appreciated, thanks alot.

double post sorry :(

PostPosted: 02. April 2008 14:56
by Deko TLD
Aha I solved the first problem :) Now ive encountered another one lol straight after testing a file.

I recieve this error "Parse error: syntax error, unexpected $end in C:\xampp\htdocs\test.php on line 12"

When I try to open this file
Code: Select all
<html>
<head><title>PHP Test</title></head>

<?php
 echo "<p> this is a php line</p>;
 phpinfo();
?>
</html>


Im not sure if this is the right place to be asking for this kind of help, but im assuming its a fairly trivial error that a complete novice like myself wouldnt spot. Again if anyone can help id be vert grateful.
Thanking you in advance.

PostPosted: 02. April 2008 15:06
by Wiedmann
echo "<p> this is a php line</p>;

echo "<p> this is a php line</p>";