<?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>php.ini &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="http://lifelinux.com/tag/php-ini/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Wed, 30 Jan 2013 10:51:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.15</generator>
	<item>
		<title>What is the role of this variables in php.ini file (expose_php &#8211; allow_url_fopen &#8211; register_globals) ?</title>
		<link>http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/</link>
					<comments>http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/#comments</comments>
		
		<dc:creator><![CDATA[Linux Killer]]></dc:creator>
		<pubDate>Tue, 29 Jan 2013 19:52:34 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[rsync command]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[variables]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1446</guid>

					<description><![CDATA[<p>There are a lot of people do not know what these variables and how they can be used , this Variables exist in php.ini file , the php.ini file is contains settings PHP on server , and for each variable in the php.ini file have a special role and can be disabled and activated with ON and [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/">What is the role of this variables in php.ini file (expose_php &#8211; allow_url_fopen &#8211; register_globals) ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>There are a lot of people do not know what these variables and how they can be used , this Variables exist in php.ini file , the php.ini file is contains settings PHP on server , and for each variable in the php.ini file have a special role and can be disabled and activated with ON and Off</p>
<p><span id="more-1446"></span></p>
<p>Disable = Off</p>
<p>Activate = On</p>
<p>So now I will explain to you the benefit of each function and put you a choice in the activation and disable</p>
<pre>expose_php</pre>
<p>Is a a property from which to see PHP version on the server so disabling means not making available to the hacker to know the version of PHP</p>
<pre>allow_url_fopen</pre>
<p>When you disable this function no one will be able to contain another link in a specific page , but some scripts like AM4SS &#8211; Vbulletin need this function for the arrival of notifications within the Admin Control Panel</p>
<pre>register_globals</pre>
<p>When you Desable this function become possible to control the content of php files difficult and does not allow the Edited only by the owner<br />
<strong>So now we come to the disabled and activation of these properties</strong></p>
<p>Enter in the shell and modify the php.ini file with the following command</p>
<pre>nano /usr/local/lib/php.ini</pre>
<p>By pressing Ctrl + W will open new box writes what you want to search for inside file</p>
<p>Looking for the variable you want edited for example</p>
<pre>allow_url_fopen</pre>
<p>You&#8217;ll find as follows :</p>
<pre>allow_url_fopen = On</pre>
<p>Mark value after the mark (=) On for activate Off  for disabled , Apply it with the rest of the properties , After completion of the amendment to click on the keys CTRL + X + Y then Enter button</p>
<p>You will see a new command line in the main interface in shell<br />
Observation : you must restart Apache after any amendment to this file for edited is defined in the php and Apache<br />
To restart apache :</p>
<pre>service httpd restart</pre>
<p>Or you can restart apache using server Control Panel WHM In a private box to restart services From there you can restart any service you want to.</p>
<g:plusone href="http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/">What is the role of this variables in php.ini file (expose_php &#8211; allow_url_fopen &#8211; register_globals) ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/what-is-the-role-of-this-variables-in-php-ini-file-expose_php-allow_url_fopen-register_globals/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How To Increase PHP Memory Limit</title>
		<link>http://lifelinux.com/how-to-increase-php-memory-limit/</link>
					<comments>http://lifelinux.com/how-to-increase-php-memory-limit/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 11 May 2011 04:19:40 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Fatal Error: PHP Allowed Memory Size Exhausted]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[PHP Memory Limit]]></category>
		<category><![CDATA[php_value]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[vi command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=400</guid>

					<description><![CDATA[<p>If you have seen an error like “Fatal Error: PHP Allowed Memory Size Exhausted” in webserver logs or in your browser, this means that PHP has exhausted the maximum memory limit. There are several techniques to increase the PHP memory limit and you only need to use one of them. Changing memory limit globally from [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-increase-php-memory-limit/">How To Increase PHP Memory Limit</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>If you have seen an error like “<em><span style="color: #ff0000;">Fatal Error: PHP Allowed Memory Size Exhausted</span></em>” in webserver logs or in your browser, this means that PHP has exhausted the maximum memory limit.  There are several techniques to increase the PHP memory limit and you only need to use one of them.<span id="more-400"></span></p>
<h3>Changing memory limit globally from php.ini</h3>
<p>To find locate the php.ini file used by your web server. You can use the phpinfo() PHP function to <a href="http://www.lifelinux.com/how-to-limit-resources-used-by-a-php-script/">find it</a>. After, type the following command to edit php.ini file:</p>
<pre>[root@lifelinux ~]# vi /etc/usr/local/etc/php.ini</pre>
<p>Edit the memory_limit parameter in the php.ini file</p>
<pre>memory_limit = 32M</pre>
<p>You will require root access to make changes to php.ini on the system. This change is global and will be used by all php scripts running on the system. Once you change this value, you will need to restart the web server in order for it to become active.</p>
<h3>Changing memory limit using .htaccess</h3>
<p>Edit the .htaccess file in the web root directory. Look for the section:</p>
<pre>php_value memory_limit 32M</pre>
<p>This method will only work if PHP is running as an Apache module.</p>
<h3>Changing memory limit inside a single php script</h3>
<p>Set this directive inside a single php script:</p>
<pre>ini_set('memory_limit', '32M');</pre>
<g:plusone href="http://lifelinux.com/how-to-increase-php-memory-limit/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-increase-php-memory-limit/">How To Increase PHP Memory Limit</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-increase-php-memory-limit/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install ionCube Loader</title>
		<link>http://lifelinux.com/how-to-install-ioncube-loader/</link>
					<comments>http://lifelinux.com/how-to-install-ioncube-loader/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 11:31:58 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[install ioncube loader]]></category>
		<category><![CDATA[install zend optimizer]]></category>
		<category><![CDATA[ioncube loader on apache]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[vi command]]></category>
		<category><![CDATA[zend optimizer on apache]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=84</guid>

					<description><![CDATA[<p>ionCube Loader is an extension to PHP interpreter which allows execution of ionCube-encoded files. Most of modern hosting providers already have ionCube Loader available on hosting servers. In this case no additional action is required to use iAuto, iRealty or iLister with encoded core. Download ionCube Loader http://www.ioncube.com/loaders.php Unpack ionCube Loader tar -zxvf ioncube_loaders_lin_x86.tar.gz Move [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-ioncube-loader/">How To Install ionCube Loader</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>ionCube Loader</strong> is an extension to PHP interpreter which  allows execution of ionCube-encoded files. Most of modern hosting  providers already have ionCube Loader available on hosting servers. In  this case no additional action is required to use iAuto, iRealty or  iLister with encoded core.<span id="more-84"></span><strong></strong></p>
<p><strong>Download ionCube Loader</strong></p>
<pre>http://www.ioncube.com/loaders.php</pre>
<p><strong>Unpack ionCube Loader</strong></p>
<pre>tar -zxvf ioncube_loaders_lin_x86.tar.gz</pre>
<p><strong>Move ionCube Loader to /usr/local/ionCube</strong></p>
<pre>cd ioncube_loaders_lin_x86
mv ioncube_loaders_lin_x86 /usr/local/ionCube
</pre>
<p><strong>Edit php.ini</strong></p>
<pre>vi /usr/local/lib/php.ini
</pre>
<p><strong>Add Code:</strong></p>
<pre>zend_extension=/usr/local/ionCube/ioncube_loader_lin_5.2.so
</pre>
<p><strong>Restart Apache</strong></p>
<pre>/etc/init.d/httpd restart
</pre>
<h2>Note</h2>
<p>If you have installed <a href="http://www.lifelinux.com/how-to-install-zend-optimizer-ioncube-loader-on-apache-2-x/"><strong>Zend Optimizer</strong></a> on Apache, I need to make sure that in file php.ini, the following line :</p>
<pre>zend_extension=/usr/local/ionCube/ioncube_loader_lin_5.2.so
</pre>
<p>it&#8217;s above the line</p>
<pre>zend_extension=/usr/local/ionCube/ZendOptimizer.so</pre>
<p><strong>Checking</strong></p>
<p>Create a file info.php in your root web directory  with content:</p>
<pre>&lt;?php
phpinfo();
?&gt;
</pre>
<p>Open your web browser and type the url: http://&lt;domain&gt;/info.php, sample outputs:</p>
<p><a href="http://www.lifelinux.com/wp-content/uploads/2010/11/ionCube.png"><img loading="lazy" class="aligncenter size-medium wp-image-92" title="ionCube install on apache" src="http://www.lifelinux.com/wp-content/uploads/2010/11/ionCube-300x101.png" alt="" width="300" height="101" srcset="http://lifelinux.com/wp-content/uploads/2010/11/ionCube-300x101.png 300w, http://lifelinux.com/wp-content/uploads/2010/11/ionCube.png 601w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<g:plusone href="http://lifelinux.com/how-to-install-ioncube-loader/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-ioncube-loader/">How To Install ionCube Loader</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-install-ioncube-loader/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
