|
|
Joined: Nov 2000
Posts: 38
Power User
|
Power User
Joined: Nov 2000
Posts: 38 |
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.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
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[]/w3timages/icons/wink.gif[/].
------------------- Scream WWWThreads Developer
UBB.threads Developer
|
|
|
|
Joined: Nov 2000
Posts: 38
Power User
|
Power User
Joined: Nov 2000
Posts: 38 |
Boy Scream that was the quickest reply I have ever had, anywhere. I'm almost finished... with both. []/w3timages/icons/crazy.gif[/]
|
|
|
|
Joined: Nov 2000
Posts: 38
Power User
|
Power User
Joined: Nov 2000
Posts: 38 |
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. []/w3timages/icons/tongue.gif[/] Any insight would be appriciated.
Thanks- Demoted to newbie, again.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
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
UBB.threads Developer
|
|
|
|
Joined: Nov 2000
Posts: 38
Power User
|
Power User
Joined: Nov 2000
Posts: 38 |
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. []/w3timages/icons/blush.gif[/]
Thanks- Moving up from newbie, slowly.
|
|
|
|
Joined: Mar 2000
Posts: 84
Member
|
Member
Joined: Mar 2000
Posts: 84 |
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 http://www.charisma-carpenter.com
|
|
|
|
Joined: Nov 2000
Posts: 38
Power User
|
Power User
Joined: Nov 2000
Posts: 38 |
Thanks but that problem is solved, and thanks to everyone for all the great help here on the forums.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|