BrandNewbie Question
Moderator: General Moderators
BrandNewbie Question
Ok, this is probally gonna sound stupid, but hey we all gotta learn some how. I'm using apache, and just learning php. On a tutorial i read it said to make a file and save it as info.php and put it in the root map of my server. What is the Root Map of My Server? 
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
The root of your webserver is where you would put pages that you want to be accessible via the URL. IIRC Apache's root is the htdocs folder - if you find where you installed Apache to and look for that folder it should contain the pages that are displayed when you do http://localhost/ .
Hope it helps,
Mac
Hope it helps,
Mac
Cool, that got it sorta....but I think i'm doing something else wrong....as you can tell i'm just trying to practice to sorta understand the concept of this. but I opened note pad and typed this
<?php
echo("Hello world!");
?>
and i saved it as hello.php and typed this in:
http://localhost/hello.php
I don't get a 404 no more, but I get a download box that pops up when i connect to that address, Any clues what i might have configured wrong??
<?php
echo("Hello world!");
?>
and i saved it as hello.php and typed this in:
http://localhost/hello.php
I don't get a 404 no more, but I get a download box that pops up when i connect to that address, Any clues what i might have configured wrong??
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
I'm locking this topic because it has been continued in a new thread and this'll get confusing otherwise.
To see what's happening with the problem go to:
viewtopic.php?t=4698
Mac
To see what's happening with the problem go to:
viewtopic.php?t=4698
Mac