Posts contrassegnato dai tag ‘apache2’


sudo gedit/etc/php5/apache2/php.ini

search for “upload_max_filesize” and change for example “2M” to “20M”. This is very important if you want install for example Virtuemart with Joomla.

After:

sudo /etc/init.d/apache2 restart


sudo gedit /etc/apache2/sites-available/default

and change the selected phrases in red with your new directory.

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2’s default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
</Directory>