Automaic creation of tracking files ?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rherzog
Posts: 3
Joined: Sun Jan 05, 2003 1:13 pm

Post by rherzog »

Hi,
On my working installation, the tracking files cannot be created properly. The data directory is basically not whiteable by g and o, only by root.
Which should be the rights and ownership for this directory ?
Making it open to anyone rw seems abusive.
Does php run as the owner of apache server when called up ?
Sorry if this question has been raised before and answered. My German is rather sloppy.
Robert
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Robert,
Original von rherzog:
Hi,
On my working installation, the tracking files cannot be created properly. The data directory is basically not whiteable by g and o, only by root.
The directory /data must be writeable by PHP and the Apache; if not, the tracking files cannot be written.
Which should be the rights and ownership for this directory ?
The directory /data should be owned by the user, under which Apache and PHP run and must be writeable for this user.
Making it open to anyone rw seems abusive.
Thats right, wordwide rw is evil. :)
Does php run as the owner of apache server when called up ?
Thats different. Then PHP runs as Apache module, it's running as the apache user. Then PHP runs as CGI, it's running as the owner of the directory, the PHP files were parsed.

Sorry for my weak englisch....

bye
Thorsten

--
phpMyFAQ Entwicklerteam
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply