All about webserver configurations, PHP and databases.
Moderator: Thorsten
DogTags
Posts: 9 Joined: Sun Oct 17, 2004 7:24 am
Post
by DogTags » Sun Oct 17, 2004 7:29 am
Hi All
Trying to install phpmyfaq
Got to making ../inc writeable but got an error:
The directory ../inc is not writeable.
I DEFINITELY set the permissions of /inc to 777. No doubt about it, but I still get the above error.
Any ideas? I'm stumped on this one.
Thanks
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Sun Oct 17, 2004 1:11 pm
Hi,
which user owns the directory?
bye
Thorsten
DogTags
Posts: 9 Joined: Sun Oct 17, 2004 7:24 am
Post
by DogTags » Sun Oct 17, 2004 2:58 pm
Hi
The same user that owns all public docs:
/home/httpd/vhosts/domain.com/httpdocs
/home/httpd/vhosts/domain.com/httpdocs/myfaq
/home/httpd/vhosts/domain.com/httpdocs/myfaq/inc
Which user should own it?
Installation had been going fine until that point.
Thanks
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Sun Oct 17, 2004 3:43 pm
Hi,
if you're using PHP as Apache module the files have to be owned by the Apache user.
bye
Thorsten
DogTags
Posts: 9 Joined: Sun Oct 17, 2004 7:24 am
Post
by DogTags » Mon Oct 18, 2004 6:20 am
drwxr-xr-x 14 arnold psacln 1024 Oct 17 02:27 phpmyfaq
drwxr-xr-x 14 arnold psacln 1024 Oct 17 02:27 inc
Does the above help? Are you saying that they should be:
drwxr-xr-x 14 arnold arnold 1024 Oct 17 02:27 phpmyfaq
drwxr-xr-x 14 arnold arnold 1024 Oct 17 02:27 inc
Thanks
sitespt
Posts: 10 Joined: Tue Oct 19, 2004 12:37 am
Post
by sitespt » Tue Oct 19, 2004 12:41 am
Hello.
I don't understand this type of "owner permissions" Where and how do I set them?
Thank you.
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Tue Oct 19, 2004 6:41 am
Hi,
if you're using Linux:
man chown
man chmod
bye
Thorsten
sitespt
Posts: 10 Joined: Tue Oct 19, 2004 12:37 am
Post
by sitespt » Tue Oct 19, 2004 11:38 am
Hello, I didn't understand what you said.
I'm using Linux, but what does this means?
man chown
man chmod
Thank you
nino
Posts: 81 Joined: Tue Jul 13, 2004 1:13 pm
Location: Bern
Post
by nino » Sat Oct 23, 2004 1:05 pm
hi sitespt
man = manual
open up a console (something like the DOS-Box on Windows) and type in: man chown
the manual with many informations about the command chown will show up.
do the same for any other command you wish to know more about it.
greets
nino
sitespt
Posts: 10 Joined: Tue Oct 19, 2004 12:37 am
Post
by sitespt » Tue Oct 26, 2004 2:34 pm
Hi again.
I'm stucked in the same step.
Isn't it the same thing setting the permissions from a FTP program?
The directory is writable and it stucks here all the time!
Any help?
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Tue Oct 26, 2004 2:41 pm
Hi,
you can test if it works if you chmod the whole directory with 777.
bye
Thorsten
sitespt
Posts: 10 Joined: Tue Oct 19, 2004 12:37 am
Post
by sitespt » Tue Oct 26, 2004 3:56 pm
Hello.
When chmod the inc directory, I have this error:
Code: Select all
Warning: main(/home/xxxx/public_html/faq/inc/constants.php): failed to open stream: Permission denied in /home/xxxx/public_html/faq/install/installer.php on line 24
Fatal error: main(): Failed opening required '/home/xxxx/public_html/faq/inc/constants.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/faq/install/installer.php on line 24
Any help? The installer.php is 644
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Wed Oct 27, 2004 8:01 am
Hi,
thi error describes that the file constants.php in the directory /inc isn't readable or even not there...
bye
Thorsten
sitespt
Posts: 10 Joined: Tue Oct 19, 2004 12:37 am
Post
by sitespt » Wed Oct 27, 2004 1:55 pm
Ok, this error was because inc folder was CHMOD 766. I have CHMOD 777 now, but the other error came up again
It is:
Code: Select all
The directory ../inc is not writeable.
And The directory is CHMOD 777
How do I override this error? Please submit step by step instructions.
Thank you
Thorsten
Posts: 15565 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Wed Oct 27, 2004 2:07 pm
Hi,
you could remove all writeable checks inside installer.php.
bye
Thorsten