Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (57-Vette), 51 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/09/11
Posts: 140
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#23733 - 11/30/00 11:35 AM PhP permissions
Anonymous
Unregistered

This is my first attempt at a PhP installation. I did not see any file permission settings. I am assuming there are 3 possible choices.

1. the defaults are ok

2. the steup file takes care of these

3. they are the same as the perl version

I will start with the first and work my way down. Please let me know if I have completely lost my mind. (sometimes I wonder) I am doing this install while having my morning coffee, sorry if I may sound a bit hmmm... grumpy.
Top
#23734 - 11/30/00 11:37 AM Re: PhP permissions
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
No special permissions needed on PHP files. They are parsed files not executed, so they can have the same permissions as standard HTML files. Now hurry up and finish that coffee;).

-------------------

Scream

WWWThreads Developer
Top
#23735 - 11/30/00 12:08 PM Re: PhP permissions
Anonymous
Unregistered

Boy Scream that was the quickest reply I have ever had, anywhere.

I'm almost finished... with both. <img border="0" title="" alt="[Roll Eyes]" src="images/icons/rolleyes.gif" />
Top
#23736 - 12/01/00 03:35 AM Re: PhP permissions
Anonymous
Unregistered

I keep getting permission errors. I try to call createtable.php from my browser (this is different from the ,pl version which I called from telnet) and receive a 404 "You don't have permission to access /cgi-bin/threads/createtable.php on this server"

I have never worked with PhP before. I know the quarks of permissions with cgi and perl, but quite frankly I'm a little lost. Seems there is a new learning curve here and I'm out of my comfort zone. [img] /w3timages/icons/images/icons/tongue.gif [/img]

Any insight would be appriciated.
Thanks-

Demoted to newbie, again.
Top
#23737 - 11/30/00 04:24 PM Re: PhP permissions
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ah, you need to move the php files out of your cgi-bin directory and into a normal directory just like an HTML file.

-------------------

Scream

WWWThreads Developer
Top
#23738 - 11/30/00 04:46 PM Re: PhP permissions
Anonymous
Unregistered

So I can setup the file tree outside the cgi-bin? Gotcha. Will see how this works out. Sometimes I make things harder than they are. <img border="0" title="" alt="[Embarrassed]" src="images/icons/blush.gif" />
Thanks-

Moving up from newbie, slowly.
Top
#23739 - 12/01/00 12:02 AM Re: PhP permissions
Anonymous
Unregistered

Yes, you will have to put your PHP files somewhere in your www document tree so they are web accessible. Hosts generally configure the cgi-bin to execute everything in the directory, and since PHP files are not executable, they generate that error.

---------
Shalazar
<A target="_blank" HREF=http://www.charisma-carpenter.com>http://www.charisma-carpenter.com</A>
Top
#23740 - 12/01/00 01:49 AM Re: PhP permissions
Anonymous
Unregistered

Thanks but that problem is solved, and thanks to everyone for all the great help here on the forums.
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image