...
Check if you have the correct version of php installed
php5 -v
Change PHP configuration
If you plan to upload project files bigger than 2MB, you have to change the following settings in the php.ini file. Please edit therefore the php.ini file which should be located in /etc/php5/apache2/php.ini.
Search for the below settings and change their values to 60M to allow file uploads until 60 Megabytes.
Code Block | ||||
---|---|---|---|---|
| ||||
post_max_size=60M
upload_max_filesize=60M |
Install php extensions
Install the extension dom, fileinfo, iconv, mbstring, zip, pdo_mysql and gd
...