Apache2 Enable Keepalive



Due to the use of environment variables, in # the default configuration, apache2 needs to be started/stopped with # /etc/init. ProxyRequests Off AddDefaultCharset off Order deny,allow Allow from all Deny from all #Allow from. socket_keepalive=1 I needed to add the configuration settings to enable mod_jk in the Apache2 httpd. If set to Off (which is the default), each request will have to establish a new connection. A browser typically makes multiple requests in order to download an entire Web page. Next, you need to configure mod_jk workers file conf/workers. (Note, OCSP stapling won’t actually work if your CA uses an intermediate certificate like with StartSSL, but it is a good idea to enable regardless as increased deployment will lead to further development of this method. Create Multi virtual host in apache2. Pages with a few large objects - keepalive won't be an advantage. # systemctl restart httpd php-fpm && systemctl enable httpd php-fpm On Debian/Ubuntu # systemctl restart apache2 php5-fpm && systemctl enable apache2 php5-fpm Although you can set Apache to use a specific MPM, that configuration can be overridden on a per-virtual host basis in the same fashion as indicated earlier. ISG (Intelligent service Gateway) is a broadband agregation r outer to deliver service from service provider to the broadband subscriber. To enable it, you first need to make sure it has been compiled into your version of Apache. Create the same authentication key file on both servers. This can be a good idea in order to minimize the number of things that can go wrong. Filters get invoked as many times as the number of bucket brigades sent from an upstream filter or a content provider. 만약 KeepAlive를 허용 하지 않으면 당신은 초과되는 CPU 사용을 막기 위해 MaxRequestPerChild 값을 높여야만 한다. For Apache memory has always been a bit of an issue, hence popularity of Nginx and the sorts. The only Apache directives that really matter are MaxRequestWorkers, MaxClients(same as MaxRequestWorkers, but for old versions of apache). Using ISG we can control and implement dynamic policy to the subscriber such as turbo button (upgrade or downgrade speed), Parental control, Subscriber self-control using Captive Portal / Redirect Wallgarden Service and External-policy controll using CoA. Here is my scenario: Currently, I have a secure web server https://server1. I recently set up a Sage server, and here are very rough notes of what I did. It should not be necessary to do so, but if you have trouble getting the boot to start, come back and disable SecureBoot. 10-1 MCrypt module for php4 ii php4-mhash 4. Connections created on demand can be retained in a pool for future use. I talk about it, because it is a tool that does so much for me and is completely FREE and open source. On CentOS this file is called httpd. conf, managed with rex driftfile /var/lib/ntp/ntp. See # their respective man pages for detailed information. Someone tell me to enable this. If you find that the webserver is returning the Perl code as text rather than executing it, then this is the problem. com running on. The solution to this problem is to use KeepAlive between Apache and the backend server. In addition, a Keep-Alive connection with an HTTP/1. The Fix When I install a Apache HTTP Server for a client or myself, small or large I follow a "standard" configuration setup which is very easy to build on later. itプロフェッショナルを目指す方へ 現場itエンジニアの備忘録. Install mod_wsgi; sudo apt-get install libapache2-mod-wsgi. This means that you will be able to check your connected socket (also known as TCP sockets), and determine whether the connection is still up and running or if it has broken. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). About this tutorialThis tutorial, the second of the three-part series, explains how to develop a single sign on based identity management system with Shibboleth. Go to the directory where your httpd executable resides, typically /usr/local/apache/sbin, and type. Start by installing a web server, database, and PHP - a popular combination which is commonly referred to as the LAMP stack (Linux, Apache, MySQL. Synopsis The remote SuSE 11 host is missing one or more security updates. # KeepAlive On #. The standard Apache SSL configuration is very conservative when it comes to MSIE and SSL. Add the following line at the end of. I have a Java app running on Tomcat 7. Following is a complete guide on howto setup Apache to use FreeRadius authentication module along with DALORADIUS as a front-end. io Sertakan saya dalam doa-doa anda Jika kalian ingin bertanya saya @saifulindo ada di twitter. The big argument against HTTP Keepalive when using Apache is that it blocks Apache processes. 4 on CentOS 7. Salt is a powerful configuration management tool. 4系のwebsocketが通るまでの構築手順. Changes with Apache 1. Apache optimization is an important task for every system administrator. KeepAlive On Having said that, if your site is running on a shared host, you probably won't have access to httpd. You can use HAProxy to add HTTP keepalive on the client side while not doing it on the server side. 04, Ubuntu 16. Salt is a powerful configuration management tool. 4 on CentOS 7. oh my god, how can life be so mean. php file to control server operations. In addition, a Keep-Alive connection with an HTTP/1. I am strongly in favor of turning on keep-alive, even by default. Webmin To Run On Apache2 Mar 30, 2007. Enabling MQTT over NIO. Kernel security 3. Apache httpd will not rewrite other response headers, nor will it by default rewrite URL references inside HTML pages. Bind9 master-slave setup is designed for failover, however when the primary dns server in /etc/hosts is down, there's a 5 second timeout by default before giving up, and trying the secondary server. 결론 Apache를 조정하는데 있어 어떤 것도 절대적인 해답이 될 수 없다. config file. 7, " KeepAliveTimeout " for more information about the KeepAliveTimeout directive) and monitor the /var/log/httpd/error_log log file on the server. After saving the Policy you can run the following commands to activate your firewall settings:. It compiled ok (no error). AH00557: apache2: apr_sockaddr_info_get() failed for ip-xxx-xx-xx-xx. Configure Apache KeepAlive settings. I have a VPS running ubuntu 12. How to enable Keep-Alive for Apache servers. I recently set up a Sage server, and here are very rough notes of what I did. 지속적인 접속 동안에 허용할 최대 요청 횟수를 지정한다. The YoLinux portal covers topics from desktop to servers and from developers to users. The following settings are noteworthy: KeepAlive: Switches KeepAlive on or off. Enable keepalive for recent MSIE user agents. 2までしかないので、Software Collectionを導入する。 sudo yum install centos-release-scl sudo yum-config-manager --enable rhel-server-rhscl-6-rpms 必要なパッケージの検索. So, i try install rtorrent on my OMV. In this guide you will create Salt state files that are capable of installing and configuring Apache on Ubuntu 18. Enable keepalive socket option for broker to prevent socket leak. conf Describen las directivas generales a aplicar a los Hosts Virtuales Se encuentra en /etc/apache2. It's OK if following page is shown. The ability to disable keep-alive is a very poor substiture for being able to configure the timeout. You can set this using the IIS GUI or via a web. Here is my scenario: Currently, I have a secure web server https://server1. 04, Ubuntu 16. This can slow down the response of your server when SSL is enabled. Apache CXF, Services Framework - Client HTTP Transport (including SSL support). [4] Create a HTML test page and access to it from client PC with web browser. 4, or it's using SuPHP as a handler then Apache IS NOT OPTIMIZED and will never be optimized. 0 and persistance in HTTP/1. The first service that we are going to write is named "hello" with a single operation named "greet" in the service. You should also disable KeepAlive if you have bursty traffic where a lot of concurrent users access your sites during a short time period. In addition, a Keep-Alive connection with an HTTP/1. 0 client can only be used when the length of the content is known in advance. 2 ? (or apache2. After install make sure you restart apache for the changes to take effect $ sudo service apache2 restart HANDLING ERROR SCENARIO: If you get the following errors. In this complementary blog, we’ll discuss how to convert Apache HTTP server rewrite rules to NGINX Plus syntax (the conversions are the same for the open source NGINX software). スタック・オーバーフローはプログラマーとプログラミングに熱心な人のためのq&aサイトです。すぐ登録できます。. According to Google: the. KeepAlive On. What is differences between keepalive HTTP and TCP keepalive? How to enable KeepAlive for Apache httpd server? My test case failed with following description. Set to "Off" to deactivate. In this guide, you’ll learn how to host a website. conf in /etc/apache2/vhosts. You can set this using the IIS GUI or via a web. php file to match what you have set in Apache. use the WebSphere MQ Explorer to enable KeepAlive as described in Enabling TCP/IP KeepAlive on Windows. For HTTP/1. I Ended up following the instructions for SSL in the wiki but then also setting up nginx as a reverse proxy with the following config file (domains/ssl's redacted) - i then setup the nginx certs correctly with the cert and intermediate concatenated together. KeepAlive On Having said that, if your site is running on a shared host, you probably won't have access to httpd. 0 RELEASE は CUI で操作することにしたため X Window をインストールしていません。. # TN START ENABLE KEEP ALIVE Header set Connection keep-alive # TN END ENABLE KEEP ALIVE Enable Keep Alive in Apache; Keep Alive comes auto-enabled on most of the modern Apache servers. We tried a lot of things and we have always the same problem. d/apache2 or apache2ctl. tcp_timestamps = 0 # Enable TCP SYN Cookie Protection net. 目录 ifconfig获取网卡配置信息 uname查看系统内核版本 uptime查看系统的负载信息 free查看内存信息 who查看当前主机用户的终端信息 last查看系统的登录记录 history查看历史命令 sosreport收集系统配置及架构信息并输出诊断文档 一、ifconfig命令 ifconfig命令用来获取网卡配置与网络状态等信息。. 0 client can only be used when the length of the content is known in advance. 4 with Apache. htaccess file is a directory-level configuration file for Apache HTTP server, which allows one to override the web server's system-wide settings without modifying the global configuration file (e. Hi there, This is NOT a normal virtual host. Go ahead and turn off both alf1 and alf2 Alfresco services. As a valued partner and proud supporter of MetaCPAN, StickerYou is happy to offer a 10% discount on all Custom Stickers, Business Labels, Roll Labels, Vinyl Lettering or Custom Decals. How can I enable. 4 with Apache. Please note, the settings that we will review in this article are by no means a complete list of tweakable options in the Apache configuration file. On the Security tab it is possible to disable SecureBoot. The following settings are noteworthy: KeepAlive: Switches KeepAlive on or off. The first section is a Quick Installation Reference, but that should only be used by those already acquainted with the system. You should also disable KeepAlive if you have bursty traffic where a lot of concurrent users access your sites during a short time period. 0 clients, Keep-Alive connections will only be used if they are specifically requested by a client. By Drew Strojny on January 7, 2009 If you made the decision to move your WordPress install from shared hosting to a shiny new VPS you should consider optimizing Apache by making some tweaks to your httpd. You will see that while we can manually open a specific port, it is often easier and beneficial to allow based on predefined services instead. People usually keep the default value or sometimes reduce it in order to save memory on small boxes. enable = 1 to / etc / sysctl. 04, and even non-LTS Ubuntu releases like 17. While we can improve Apache server performance by adding additional hardware like RAM, CPU, etc. Additionally, Apache keeps experiencing the largest growth among the top web servers, followed by Nginx and IIS. Prefork is not ideal for a fast webserver, at least in my opinion. Our tutorial will teach you all the steps required to enable the HTTP2 protocol feature. The solution to this problem is to use KeepAlive between Apache and the backend server. Thanks for the tip. ownCloud Series – Getting Started Many of my friends have heard me talk a great deal about ownCloud. nano -w /etc/heartbeat/authkeys auth 1 1 sha1 APasswordYouLike chmod 600 /etc/heartbeat/authkeys. conf file? How can I strip out comments and. Source code is freely available under the Apache License. it causes KeepAlive or idle connections (while they remain in that state) to be handled by a single thread, thus freeing up. For HTTP/1. 20 *) Autodetect if platforms have isnan() and/or isinf() for use in ap_snprintf. Those modules are replaced and deprecated by the NGINX Plus API in NGINX Plus Release 13 (R13) and later, and will not be available. In addition, a Keep-Alive connection with an HTTP/1. Enable keepalive for recent MSIE user agents. The warn level is the default, but you can choose others like notice, info, debug, crit, alert, and emerg. The ActiveMQ MQTT Transport implementation fully supports an ActiveMQ security mechanism. Set to false to enable --no-show-forced-updates in git-fetch[1] and git-pull[1] commands. htaccess: add the following line of code in. 1-we can enable keep-alive explicitly requesting. d: Todos estos archivos contendrán la configuración de especificaciones y directivas propias para cada Host Virtual que deseamos mantener en nuestro servidor. 2までしかないので、Software Collectionを導入する。 sudo yum install centos-release-scl sudo yum-config-manager --enable rhel-server-rhscl-6-rpms 必要なパッケージの検索. This was done on Ubuntu Dapper and should. I am strongly in favor of turning on keep-alive, even by default. use the WebSphere MQ Explorer to enable KeepAlive as described in Enabling TCP/IP KeepAlive on Windows. The default apache mod_proxy workers do not use HTTP Keep-Alive or connection pooling. je suis débutant dans le domaine J'ai installé ubuntu server avec apache2 configuré par défaut l'objectif est de pouvoir m'en servir entre autre comme serveur de fichier et d'y installer owncloud par dessus. The ActiveMQ MQTT Transport implementation fully supports an ActiveMQ security mechanism. htaccess in Apache web server? An. Modul Mendesain Sistem Keamanan Jaringan. If you continue browsing the site, you agree to the use of cookies on this website. d/apache2 start Config ↑ Towards the end of installing Apache you'll see this warning. 이 기능을 정지시킨 상태로 두려면 Off 를 선택한다. local/apache2 --enable-proxy --enable-proxy xxx-access. In addition, a Keep-Alive connection with an HTTP/1. 1-Enabling and Disabling KeepAlive. I have a Java app running on Tomcat 7. Setting up a Sage server. 0 is as little as 15 seconds and just 5 seconds for Apache httpd 2. 04 and Ubuntu 14. This reduce from 75 seconds to 10 seconds gap or time interval between each of the keep alive probes. 330 installed at /webmin/ Following this tutorial: [url] I have done the commands it asks and I have added this to my sites-available:. To enable these four modules, execute the following commands in succession. How to enable Keep-Alive on Centos server ? Normally the server closes the HTTP connection after completion of each request. Put in "KeepAlive on" to turn it on and "KeepAlive off" to turn it off. Step 1 — Enabling Necessary Apache Modules. 今回、ホストマシンとなる FreeBSD 9. Here is Detailed Guide on How To Install Apache2 on Ubuntu 18. The solution to this problem is to use KeepAlive between Apache and the backend server. You will see that while we can manually open a specific port, it is often easier and beneficial to allow based on predefined services instead. conf file or the Apache config file. 지속적인 접속 동안에 허용할 최대 요청 횟수를 지정한다. conf, I added these options:. Some of the values of interest in here are: Timeout Length of time in seconds that Apache attempts to fulfill a request. Quick News October 18th, 2019: HAProxyConf - Limited number of tickets still available. According to Google: the. Gửi email bài đăng này BlogThis! Chia sẻ lên Twitter Chia sẻ lên Facebook Chia sẻ lên Pinterest. Please see our cookie policy for details. - certificate2018. conf file to shut off the KeepAlive feature. htaccess file is a directory-level configuration file for Apache HTTP server, which allows one to override the web server's system-wide settings without modifying the global configuration file (e. This version of httpd is a major release of the 2. Daemon storage-driver. ApacheのKeepAliveの設定および、挙動について質問です。 ApacheのKeep-Alive関連の設定を下記のように設定しました。 KeepAlive On MaxKeepAliveRequest 100 KeepAliveTimeout 10. This document describes how to set up the Ruby on Rails Framework on an Arch Linux system. Almost 70% of the web servers on the Internet are using Apache. As we know, Apache is one of the most used web servers on the internet, so every system administrator must know in depth its characteristics. 1 keep-alive is disabled. NET), can use one of the following. Pessoal preciso de uma ajuda. In this post, I would like to point out some basic ideas about improving performance with an Apache server. 5) Click on "Save" button to save the changes. conf, I added these options:. In some versions of Apache, however, the default setting for the KeepAlive directive is Off. tld I've been googling this issue quite a bit, and have yet to find any solution. Apache is a powerful and capable open-source web server, designed to provide a balance of flexibility, portability, and performance. This chapter details a fresh installation of DOMjudge. Sitting in office and doing AT(acceptance Testing) for a protocol stack. We recommend to keep the KeepAliveTimeout between 3 and 5. Please refer to the contributing guide for instructions. These methods will be finalized later as a need arises. enable-rewrite We are always going to need rewrite rules in the config file. 4 with Apache. In the following example, we're going to be setting this HTTP header inside. 1 GCC mitigation 2. KeepAlive Off to: KeepAlive On and restart apache (/etc/init. You can ask your webhost if they can do this for you. 1 "Via:" headers. How can I view just the uncommented configuration file directives from squid. この設定についての私の解釈は、下記のようになります。 KeepAlive設定が有効(TCPコネクションの. This page explains briefly how to configure a VPN with OpenVPN, from both server-side and client-side. 2 0ld sch00l *nix file auditing 2. The PageSpeed modules are open-source server modules that optimize your site automatically. conf, I added these options:. but like i sad on my case the problem was the port of httpd mod_cluster try to connect on my wildfly ajp. 0 keep-alive, as well as HTTP/1. Thanks for the tip. Hi there, I'm experiencing a different behaviour of apache 2. You will see that while we can manually open a specific port, it is often easier and beneficial to allow based on predefined services instead. This version of httpd is a major release of the 2. 140682145777408 ] [remote 80. In the same span of time, this Apache instance could have served many other connections. It still doesn't work, but atleast now I know where to look. KeepAlive On # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. 1 support sending multiple requests over a single HTTP connection. 3) Select the option "Apache". Using HAProxy to implement HTTP Keepalive. The bad pattern is the use of Connection: close semantics for HTTPS connections. First, we'll need to enable the ones we'll use in this tutorial. Re: How do I set KeepAliveTimeout for Apache 2. There are a variety of tools that can assist in determining if you need to alter resource settings, including the top command and the load-testing program Siege. pid # Timeout: The number of seconds before receives and sends time out. socket_keepalive=1 I needed to add the configuration settings to enable mod_jk in the Apache2 httpd. Most of website speed analyzer recommends to enable Keep-Alive for your site. However, when trying to start it (apachectl start) I get the following error:. It should not be necessary to do so, but if you have trouble getting the boot to start, come back and disable SecureBoot. , we can achieve the same. 4 with Apache. Do that by setting this option (it can be # specified multiple times). Apache 2 installed on your server by following Step 1 of How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16. One key parameter is “Keepalive” which is normally off. If you don't enable keepalives during the benchmark, the client creates a new TCP connection for each transaction (and the connection is torn down after the transaction completes). It uses the same technology as used in the case of heartbeat. Learn how to enable the Apache HTTP/2 on Ubuntu Linux. but like i sad on my case the problem was the port of httpd mod_cluster try to connect on my wildfly ajp. 2-MaxKeepAliveRequests : It provides an option to set the max number of requests for every KeepAlive connection. Synopsis The remote SuSE 11 host is missing one or more security updates. Keeping a connection active even after processing the original request helps reduce the time and overhead. Go to the directory where your httpd executable resides, typically /usr/local/apache/sbin, and type. 0 clients, Keep-Alive connections will only be used if they are specifically requested by a client. If you continue to use this site, you agree to the use of cookies. (Note, OCSP stapling won’t actually work if your CA uses an intermediate certificate like with StartSSL, but it is a good idea to enable regardless as increased deployment will lead to further development of this method. 0 Version 2. The app runs on 64-bit Java 7 Update 1 on CENT OS servers, with an A10 load balancer that sends traffic to the servers. You can access it via SSH by navigating to:. In addition, a Keep-Alive connection with an HTTP/1. Set to "Off" to deactivate. The problem is that if the connection is closed and the initial POST fails, Internet Explorer will only send the header but not the HTTP body. Enable Keep Alive Apache. You can ask me to solve any problem with your server for some money in pm. conf file or the Apache config file. Disponible en /etc/apache2/ default-server. Linux networking commands, network monitoring tools, configuration examples and administration are covered in this tutorial. I chose Ubuntu 16. It really has nothing to do with optimizing anything. - certificate2018. Calling /usr/bin/apache2 directly will not # work with the default configuration. 1 About Keep-Alive Connections. This tutorial will walk you through opening a port in the default firewall in CentOS 7, firewalld. and reload your configuration. Apache is a powerful and capable open-source web server, designed to provide a balance of flexibility, portability, and performance. locknlol Aug 22, 2018 7:41 PM CloudFlare pointing to my external IP address on esxi. There are many stats which are more data-backed out there, but even a quick test on WebPageTest shows an average connect time of 100ms for Cable speed with 28ms latency. (Click here to see the list of Kofax Technical Support holidays. This release is recommended for everyone running 6. ProxyRequests Off AddDefaultCharset off Order deny,allow Allow from all Deny from all #Allow from. Start by installing a web server, database, and PHP - a popular combination which is commonly referred to as the LAMP stack (Linux, Apache, MySQL. Make sure the system on which Apache will be installed meets the Hardware Requirements for the Load Balancer Node. tcp_keepalive_intvl = 10 c) Next parameter (tcp_keepalive_probes) is expressed in the pure number. 04, Ubuntu 16. htaccess file Browsing or indexing is an option that allows the contents of a directory to be displayed in the browser when the directory does not contain an index page. It defaults to 100. HOWTO: PerUser MPM with Apache2 (increased security) If this is your first visit, be sure to check out the FAQ by clicking the link above. Apache is the most popular web server on the internet. 10-18 XMLv2 module for php4 ii php4-gd 4. My MaxClients is set to 200, if KeepAlive was enabled then what KeepAliveTimeout setting would be reasonable (e. The Fix When I install a Apache HTTP Server for a client or myself, small or large I follow a "standard" configuration setup which is very easy to build on later. I run a apache webserver with some sites that gets 40-50k a day. Due to the use of environment variables, in # the default configuration, apache2 needs to be started/stopped with # /etc/init. This release is recommended for everyone running 6. Clustering Apache Tomcat Failover Probably you’ve already heard about this topic and it’s very simple to apply. 0 clients, Keep-Alive connections will only be used if they are specifically requested by a client. It should not be necessary to do so, but if you have trouble getting the boot to start, come back and disable SecureBoot. PidFile [prefork モジュール]httpd の PID を書き込むファイルを指定する。 PidFile logs/httpd. d/http restart) Email Dan if you get this working - I'm keen to hear how people go using the samba winbind option!-- Hi Dan! I made it work using Ubuntu 7. Enable the Apache HTTP2 support by adding the following line at the end of the configuration file. Enable Keep Alive Apache. I cannot seem to get php4 to work well on Sarge with apache2. In this tutorial, I will show you how to install Drupal 8 on Ubuntu 15. Each of the node will play the role of realserver, it will provide a service such as a web or a mail server. If Apache is older than version 2. Apache is the most widely used HTTP server on the internet and DreamHost uses it as the default HTTP server for all hosting products. Experienced users could leverage Kibana to consume data from. 0, trans-sid feature is always compiled. This controls the number of seconds a server must wait before automatically closing a connection. conf or httpd. htaccess in Apache web server? An. Http11Protocol. Bug 43504 - ajp buffer overflow using mod_proxy. GTMetrix, I get a very low score because the 'KeepAlive' option isn't active. The option MaxKeepAliveRequests specifies the number of requests allowed per connection when the KeepAlive option above is set to On. b) The following parameter (tcp_keepalive_intvl) determines the keepalive probe will resend every 10 seconds after first keep alive probe. It is also a good idea to enable booting from USB. I recently set up a Sage server, and here are very rough notes of what I did. This method is not called for clients that do not send this header; such requests are always allowed (because all browsers that implement WebSockets support this header, and non. 9, if you want to communicate with PHP-FPM over UNIX sockets >= Apache 2. 0 client can only be used when the length of the content is known in advance. Keep-alive should be enabled automatically with every fresh Apache install - usually on a Unix (Linux) server. Many NAT firewalls time out idle sessions after a certain period of time to keep their trunks clean. The app runs on 64-bit Java 7 Update 1 on CENT OS servers, with an A10 load balancer that sends traffic to the servers. Tuning your Apache server to optimize your website. Enable monitoring of all services listed in the control file. 1 For our example purposes, we only deployed one node responsible for collecting and indexing data. The primary purpose of the im_odbc module is native Windows MSSQL support to enable log collection from Windows applications that write logs to MSSQL. The only Apache directives that really matter are MaxRequestWorkers, MaxClients(same as MaxRequestWorkers, but for old versions of apache). If Apache is older than version 2. ApacheのKeepAliveの設定および、挙動について質問です。 ApacheのKeep-Alive関連の設定を下記のように設定しました。 KeepAlive On MaxKeepAliveRequest 100 KeepAliveTimeout 10. This was done on Ubuntu Dapper and should. Refer to General Parameters for Web Server Plug-Ins for details about these configuration parameters. 4 and am trying to figure out the correct parameters to the connection. 1 : MaxKeepAliveRequests. These instructions should work on any Ubuntu-based distro, including Ubuntu 14. 2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby. 04, Ubuntu 16. Put in "KeepAlive on" to turn it on and "KeepAlive off" to turn it off. You may have to register before you can post: click the register link above to proceed. => Native Socket applications can enable TCP keepalives by using anyone of the following methods: - setsockopt() with SO_KEEPALIVE option - WSAIoctl() with SIO_KEEPALIVE_VALS option (it's also possible to change Keepalive timers with this API call dynamically on a per-socket basis) => Managed applications (. 04 Server It's not officially supported yet but works very well with PHP 7 and other packages in the new LTS version of Ubuntu Posted 9 June 2016. conf file or the Apache config file.