Changes

How to forge a local file system server with IGEPv2 Board

163 bytes added, 17:39, 9 November 2011
no edit summary
PHP and Apache have a standard configuration, we need to change it to improve performance&nbsp; of our project and server.<br>
I edit my: Edit <span style="font-family: monospace;"> </span> /etc/apache2/apache2.conf
<pre>LockFile ${APACHE_LOCK_DIR}/accept.lock
PidFile ${APACHE_PID_FILE}
ServerTokens Prod
</pre>
I edit myreduce the number of clients and increased the persistent connection time. Edit: /etc/php5/apache2/php.ini.<br>
<pre>max_file_uploads = 20 max_file_uploads = 100
upload_max_filesize = 2M upload_max_filesize = 750M
max_input_time = 60 max_input_time = 600
memory_limit = 128M memory_limit = 1025M
mysql.connect_timeout = 60 mysql.connect_timeout = 600</pre>I configure it for a local connection. Edit Owncloud .htaccess and erase the following lines:<pre>php_value upload_max_filesize 512M
php_value post_max_size 512M
</pre>Now .htacces don't limit the upload filesize and post size. Restart Apache service:<pre>sudo /etc/init.d/apache2 restart
</pre>
4,199
edits