=== Configuring Apache and PHP for Owncloud ===
Under construction PHP and Apache have a standard configuration, we need to change it to improve performance of our project and server.<br> I edit my: <span style="font-family: monospace;"> </span> /etc/apache2/apache2.conf <pre> <style type="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> </style>LockFile${APACHE_LOCK_DIR}/accept.lockPidFile ${APACHE_PID_FILE}Timeout '''700'''KeepAlive OnMaxKeepAliveRequests '''500'''KeepAliveTimeout '''600'''<IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients '''10''' MaxRequestsPerChild 0</IfModule><IfModule mpm_worker_module> StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxClients '''10''' MaxRequestsPerChild 0</IfModule><IfModule mpm_event_module> StartServers 2 MaxClients '''10''' MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxRequestsPerChild 0</IfModule>User ${APACHE_RUN_USER}Group ${APACHE_RUN_GROUP}AccessFileName .htaccess<Files ~ "^\.ht"> Order allow,deny Deny from all Satisfy all</Files>DefaultType text/plainHostnameLookups OffErrorLog ${APACHE_LOG_DIR}/error.logLogLevel warnInclude mods-enabled/*.loadInclude mods-enabled/*.confInclude httpd.confInclude ports.confLogFormat "%v:%p %h %l %u %t\"%r\" %>s %O \"%{Referer}i\"\"%{User-Agent}i\"" vhost_combinedLogFormat "%h %l %u %t \"%r\"%>s %O \"%{Referer}i\" \"%{User-Agent}i\""combinedLogFormat "%h %l %u %t \"%r\"%>s %O" commonLogFormat "%{Referer}i -> %U"refererLogFormat "%{User-agent}i"agentInclude conf.d/Include sites-enabled/ServerSignature OffServerTokens Prod</pre>
=== Configuring WevDAV for Owncloud ===
Under construction