Step 1. List of libraries needed for Apache2, Php5 and MySql for Ubuntu: apt-get update apt-get install apache2 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql php5 Step 2. Turn on php module to work with Apache: a2enmod php5 Step 3. If you have .phtml or .pl file, remember to add to the follwing line to apache configuration file …
Tag Archive: apache2
Permanent link to this article: http://lindaocta.com/?p=290
Mar
28
Increase file upload for php in Apache
When working with moodle, I always encounter file upload size problem (normally 2M). To increase file upload size, edit /etc/php5/apache2/php.ini file (in Ubuntu 9.10) for PHP 5 and Apache 2 by changing the upload maximum filesize to the size you want: upload_max_filesize=30M Save the file and restart apache: sudo /etc/init.d/apache2 restart
Permanent link to this article: http://lindaocta.com/?p=298