where is /WEB/ROOT? installing a PHP app (feed-on-feeds) with sudo svn

thufir hawat.thufir at gmail.com
Tue Apr 8 08:06:28 UTC 2008


On Tue, 08 Apr 2008 00:22:24 +0800, Dax Solomon Umaming wrote:

>> http://localhost/feed-on-feeds/install.php
>>
>>
> If you want to access it from the url above, then check it out here
> /var/www



thanks :)


I get this message:


Feed on Feeds - Installation

Checking compatibility... PHP ok... XML ok... PCRE ok... MySQL ok...
Your PHP installation is either missing the cURL extension, or it is too 
old! cURL version 7.10.5 or later is required to be able to subscribe to 
https or digest authenticated feeds.
Zlib ok... iconv ok... mbstring ok...
Minimum requirements met! Creating tables... Tables exist. Inserting 
initial data... Done. Checking cache directory... Can't create directory /
var/www/feed-on-feeds/cache/.
You will need to create it yourself, and make it writeable by your PHP 
process.
Then, reload this page.


Which makes me think about priveleges, obviously.  I used sudo to 
checkout the code (can't recall why at the moment) and then chown to 
change permissions so that:

thufir at arrakis:/var/www$ 
thufir at arrakis:/var/www$ ll
total 8
drwxr-xr-x 3 root   root   4096 2008-04-06 03:44 apache2-default
drwxr-xr-x 8 thufir thufir 4096 2008-04-08 00:59 feed-on-feeds
thufir at arrakis:/var/www$ 


I'll always be running this as user "thufir".  Hmm, should I have left 
the priveleges alone so that the feed-on-feeds directory (and its 
contents) were owned by root?

Or, just create this missing directory?  I'll try it both ways but would 
like some input.



thanks,

Thufir





More information about the ubuntu-users mailing list