<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>apache web server &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/apache-web-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 30 Dec 2011 17:14:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How Do I Configure Apache Server To Listen Multiple Ports ?</title>
		<link>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/</link>
					<comments>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 30 Dec 2011 17:10:32 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/etc/httpd/conf/httpd.conf]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[incoming requests]]></category>
		<category><![CDATA[number 80]]></category>
		<category><![CDATA[port 8080]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[restart apache]]></category>
		<category><![CDATA[restart httpd]]></category>
		<category><![CDATA[tcp port 80]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1288</guid>

					<description><![CDATA[<p>By default Apache server listens on TCP port 80 but I&#8217;d like an Apache Web Server to listen on port 80 and port 8080. The following article explains how do I configure Apache server to listen multiple ports under CentOS Linux Server? To configure Apache server to listen multiple ports, you need to login as [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/">How Do I Configure Apache Server To Listen Multiple Ports ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>By default Apache server listens on TCP port 80 but I&#8217;d like an Apache Web Server to listen on port 80 and port 8080. The following article explains how do I configure Apache server to listen multiple ports under CentOS Linux Server?<br />
<span id="more-1288"></span><br />
To configure Apache server to listen multiple ports, you need to login as root and open configure file <strong>/etc/httpd/conf/httpd.conf</strong> and modify the Listen directive tells the server to accept incoming requests on the specified port.</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find line that read as follows:</p>
<pre>Listen 80</pre>
<p>Force Apache server to listen on both port 80 and 8080:</p>
<pre>Listen 80
Listen 8080</pre>
<p>And find the VirtualHost portion for your website config and add *:8080 as shown below:</p>
<pre>&lt;VirtualHost *:80 *:8080&gt;
...
&lt;/VirtualHost&gt;</pre>
<p>Save and close the file. Restart apache server:</p>
<pre># service httpd restart</pre>
<g:plusone href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/">How Do I Configure Apache Server To Listen Multiple Ports ?</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-do-i-configure-apache-server-to-listen-multiple-ports/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Limit Resources Used By A PHP Script</title>
		<link>https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/</link>
					<comments>https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 11 May 2011 04:07:00 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[amount of time]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[filesize]]></category>
		<category><![CDATA[input time]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[limit resources]]></category>
		<category><![CDATA[max input]]></category>
		<category><![CDATA[max size]]></category>
		<category><![CDATA[maximum execution time]]></category>
		<category><![CDATA[maximum size]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[php allow_url_fopen = Off]]></category>
		<category><![CDATA[php cgi.force_redirect = 0]]></category>
		<category><![CDATA[php file_uploads = Off]]></category>
		<category><![CDATA[php max_execution_time = 30]]></category>
		<category><![CDATA[php max_input_time = 30]]></category>
		<category><![CDATA[php memory_limit = 40M]]></category>
		<category><![CDATA[php post_max_size = 8M]]></category>
		<category><![CDATA[php scripts]]></category>
		<category><![CDATA[php sql.safe_mode = On]]></category>
		<category><![CDATA[php upload_max_filesize = 2M]]></category>
		<category><![CDATA[request data]]></category>
		<category><![CDATA[resource limits]]></category>
		<category><![CDATA[uploaded files]]></category>
		<category><![CDATA[web server service]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=390</guid>

					<description><![CDATA[<p>PHP supports the following resource limits directives in php.ini file. To limit resources used by a PHP script edit the file php.ini. Note that this change will affect all websites and PHP scripts on the server. To find the location of php.ini, you can use the phpinfo() PHP function to find it. Create file with [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/">How To Limit Resources Used By A PHP Script</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>PHP supports the following resource limits directives in <strong>php.ini</strong> file. To limit resources used by a PHP script edit the file php.ini. Note that this change will affect all websites and PHP scripts on the server.</p>
<p>To find the location of php.ini, you can use the phpinfo() PHP function to find it. Create file with following content:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p><span id="more-390"></span><br />
Sample outputs:<br />
<a href="http://www.lifelinux.com/wp-content/uploads/2011/05/php.ini_.png"><img loading="lazy" class="aligncenter size-medium wp-image-392" title="php.ini" src="http://www.lifelinux.com/wp-content/uploads/2011/05/php.ini_-300x49.png" alt="" width="300" height="49" srcset="https://lifelinux.com/wp-content/uploads/2011/05/php.ini_-300x49.png 300w, https://lifelinux.com/wp-content/uploads/2011/05/php.ini_.png 335w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>To edit php.ini, type the following command:</p>
<pre>[root@lifelinux ~]# vi /etc/usr/local/etc/php.ini</pre>
<p>Set maximum execution time of each script:</p>
<pre>max_execution_time = 30</pre>
<p>Set maximum amount of time each script may spend parsing request data</p>
<pre>max_input_time = 30</pre>
<p>Set maximum amount of memory a script may consume</p>
<pre>memory_limit = 64M</pre>
<p>Set maximum size of POST data that PHP will accept</p>
<pre>post_max_size = 8M</pre>
<p>Set maximum allowed size for uploaded files</p>
<pre>upload_max_filesize = 8M</pre>
<p>Disable/Enable HTTP file uploads (Disallow uploading unless necessary)</p>
<pre>file_uploads = Off</pre>
<p>Final, restart web server, example restart apache server, type the following command</p>
<pre>[root@lifelinux ~]# /etc/init.d/httpd restart</pre>
<g:plusone href="https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/">How To Limit Resources Used By A PHP Script</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-limit-resources-used-by-a-php-script/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
