I just learned to install Apache 2 on my ubuntu linux localhost for the first time. I\'m making it work with PHP5.
I noticed that anytime I want to write to a file or d
Here are some simple rules for web site content management (under apache) that most people should follow:
If you do these 2 things, then you should be able to write to files that are being served by apache. I'm not sure where your document root is, but something like this would likely work for most simple installs:
$ sudo usermod $USER -a -G www-data
$ cd /var/www
$ sudo chown -R www-data:www-data .