View previous topic :: View next topic |
Author |
Message |
Undead_Zeus -
Joined: 16 Dec 2003 Posts: 10 Location: Anywhere
|
Posted: Wed Dec 17, 2003 10:55 pm Post subject: server root |
|
|
What is the server root for php scripts? It's confruising me! :( |
|
Back to top |
|
 |
hellraiser_rob -
Joined: 16 Oct 2003 Posts: 11
|
Posted: Wed Dec 17, 2003 11:04 pm Post subject: |
|
|
huh? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Dec 19, 2003 4:30 pm Post subject: Re: server root |
|
|
Undead_Zeus wrote: | What is the server root for php scripts? It's confruising me! :( |
If you are talking about the doc_root setting in PHP, you should ignore it and leave it blank. Abyss can run PHP without this limitation. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Dec 20, 2003 3:54 am Post subject: |
|
|
You can run PHP scripts any where in your htdocs. Depending on the CGI paths settings. |
|
Back to top |
|
 |
Undead_Zeus -
Joined: 16 Dec 2003 Posts: 10 Location: Anywhere
|
Posted: Sat Dec 20, 2003 5:40 am Post subject: |
|
|
i mean like
root/www/etc./etc./i'm probably doing this wrong |
|
Back to top |
|
 |
The-Hunter -
Joined: 18 Jul 2003 Posts: 74 Location: Virginia, USA
|
Posted: Sun Dec 21, 2003 2:36 am Post subject: |
|
|
look in your 'Abyss Web Server' folder, there is a folder called 'htdocs' put your PHP scripts there.
The-Hunter |
|
Back to top |
 |
 |
Undead_Zeus -
Joined: 16 Dec 2003 Posts: 10 Location: Anywhere
|
Posted: Fri Dec 26, 2003 7:16 am Post subject: |
|
|
Warning: main(): Failed opening '/home/www/your/website/root/dynamicpoll/poll.txt' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Abyss Web Server\htdocs\dynamicpoll\poll.php on line 5
so all i have to do is Quote: | dynamicpoll/poll.txt | ? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Dec 28, 2003 5:43 pm Post subject: |
|
|
Undead_Zeus,
Edit the script and fix the paths. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|