<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://serverkb.co.uk/index.php?action=history&amp;feed=atom&amp;title=PHP</id>
	<title>PHP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://serverkb.co.uk/index.php?action=history&amp;feed=atom&amp;title=PHP"/>
	<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;action=history"/>
	<updated>2026-04-28T14:44:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.4</generator>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=673&amp;oldid=prev</id>
		<title>Rootadminacc: /* Pear */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=673&amp;oldid=prev"/>
		<updated>2013-05-01T09:21:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Pear&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:21, 1 May 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;yum install php-pear.noarch&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;yum install php-pear.noarch&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;With Plesk you will need to do the following:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;vim /etc/php.ini&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Add in/edit:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;include_path=&quot;.:/usr/share/pear&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;And then in Plesk&#039;s PHP settings for the domain change the include_path to /var/www/vhosts/domain.co.uk/httpdocs/:/usr/share/pear/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;/etc/init.d/httpd restart&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ubuntu (one of these):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ubuntu (one of these):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-632:rev-673:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=632&amp;oldid=prev</id>
		<title>Rootadminacc: /* PHP Configuration in Plesk */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=632&amp;oldid=prev"/>
		<updated>2013-04-23T08:40:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PHP Configuration in Plesk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:40, 23 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l273&quot;&gt;Line 273:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 273:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;darr;  &amp;amp;darr;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;darr;  &amp;amp;darr;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Plain text:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- ← Hosting Services - Domains &amp;gt; Open in Control Panel for your domain&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;- ← Hosting Services - Domains &amp;gt; Open in Control Panel for your domain&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-631:rev-632:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=631&amp;oldid=prev</id>
		<title>Rootadminacc: /* PHP Configuration in Plesk */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=631&amp;oldid=prev"/>
		<updated>2013-04-23T08:40:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PHP Configuration in Plesk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:40, 23 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l258&quot;&gt;Line 258:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 258:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP Configuration in Plesk ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP Configuration in Plesk ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The user:group of website files depends on what the PHP Support for a site is set as.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If it is set as Fast CGI Application, the user:group for everything below the Document Root (normally httpdocs) is ftpuser:psacln (with psaserv owning httpdocs).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If it is set as Apache Module, you want www-data:www-data&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The PHP Support can be set in:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-630:rev-631:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=630&amp;oldid=prev</id>
		<title>Rootadminacc: /* PHP Configuration in Plesk */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=630&amp;oldid=prev"/>
		<updated>2013-04-23T08:36:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PHP Configuration in Plesk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:36, 23 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l265&quot;&gt;Line 265:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 265:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;darr;  &amp;amp;darr;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;darr;  &amp;amp;darr;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- ← Hosting Services - Domains &amp;gt; Open in Control Panel for your domain&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;↓ - Hosting Services - Subscriptions &amp;gt; Manage Hosting/Open in Control Panel for your domain&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;↓  ↓&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP Configuration in WHM ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP Configuration in WHM ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-309:rev-630:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=309&amp;oldid=prev</id>
		<title>Rootadminacc: /* Check if module is installed */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=309&amp;oldid=prev"/>
		<updated>2013-02-18T12:07:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Check if module is installed&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:07, 18 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;php -i | grep modulename&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;php -i | grep modulename&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== command line ZIP via exec() ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;phpinfo.php should show disable_functions is set to no value if disable_functions is blank in all php.ini files.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Alternatively you may need to use suPHP.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== cPanel PHP Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== cPanel PHP Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-308:rev-309:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=308&amp;oldid=prev</id>
		<title>Rootadminacc: /* suPHP */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=308&amp;oldid=prev"/>
		<updated>2013-02-16T13:42:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;suPHP&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:42, 16 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l584&quot;&gt;Line 584:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 584:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOT GUARANTEED TO WORK --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOT GUARANTEED TO WORK --&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== soap ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;php-soap &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;vim /etc/yum.repos.d/atomic.repo&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;enabled = 0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;yum install php-soap&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;php -m | grep soap&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [http://www.inmotionhosting.com/support/website/general-server-setup/what-is-suphp suPHP] ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [http://www.inmotionhosting.com/support/website/general-server-setup/what-is-suphp suPHP] ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-274:rev-308:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=274&amp;oldid=prev</id>
		<title>Rootadminacc: /* Check if module is installed */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=274&amp;oldid=prev"/>
		<updated>2013-02-08T14:31:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Check if module is installed&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:31, 8 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On Unix systems do:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On Unix systems do:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;php -i | grep &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;module&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;php -i | grep &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;modulename&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== cPanel PHP Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== cPanel PHP Configuration ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-154:rev-274:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=154&amp;oldid=prev</id>
		<title>Rootadminacc: /* PHP.ini */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=154&amp;oldid=prev"/>
		<updated>2013-01-28T17:19:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PHP.ini&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:19, 28 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l129&quot;&gt;Line 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;FcgidMaxRequestLen 134217728&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;FcgidMaxRequestLen 134217728&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Pear ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CentOS:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;yum install php-pear.noarch&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ubuntu (one of these):&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;apt-get install php-pear&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;apt-get install psa-pear&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP.ini ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== PHP.ini ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-61:rev-154:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=61&amp;oldid=prev</id>
		<title>Rootadminacc: /* Additional PHP modules/extensions */</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=61&amp;oldid=prev"/>
		<updated>2013-01-15T12:27:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Additional PHP modules/extensions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:27, 15 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;yum install -y mcrypt.x86_64 libmcrypt.x86_64 libmcrypt-devel.x86_64 php-mcrypt.x86_64&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;yum install -y mcrypt.x86_64 libmcrypt.x86_64 libmcrypt-devel.x86_64 php-mcrypt.x86_64&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ssh2_pecl &lt;/del&gt;| ssh2 pecl]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SSH2_pecl &lt;/ins&gt;| ssh2 pecl]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://php.net/manual/en/security.magicquotes.disabling.php Turn PHP Magic Quotes off]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://php.net/manual/en/security.magicquotes.disabling.php Turn PHP Magic Quotes off]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key SKBmw:diff:1.41:old-26:rev-61:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
	<entry>
		<id>http://serverkb.co.uk/index.php?title=PHP&amp;diff=26&amp;oldid=prev</id>
		<title>Rootadminacc: Created page with &quot;== Additional PHP modules/extensions  ==  *  apc - Used for caching. Check in /opt/psa/admin/conf/php.ini and php -m . There should also be extension=&quot;apc.so&quot; in anot...&quot;</title>
		<link rel="alternate" type="text/html" href="http://serverkb.co.uk/index.php?title=PHP&amp;diff=26&amp;oldid=prev"/>
		<updated>2013-01-15T11:31:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Additional PHP modules/extensions  ==  * &lt;a href=&quot;/wiki/APC&quot; title=&quot;APC&quot;&gt; apc&lt;/a&gt; - Used for caching. Check in /opt/psa/admin/conf/php.ini and php -m . There should also be extension=&amp;quot;apc.so&amp;quot; in anot...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Additional PHP modules/extensions  ==&lt;br /&gt;
&lt;br /&gt;
* [[APC | apc]] - Used for caching. Check in /opt/psa/admin/conf/php.ini and php -m . There should also be extension=&amp;quot;apc.so&amp;quot; in another php.ini file too. [http://www.tipsandtutorials.net/centos-6-install-apc.html For CentOS].&lt;br /&gt;
&lt;br /&gt;
* [http://agiletesting.blogspot.com/2011/05/upgrading-gd-library-in-ubuntu.html libgd2] - Guide if GD Library is too old (due to bundled version with PHP5)&lt;br /&gt;
&lt;br /&gt;
* [[Memcached | Memcached]], [http://chrismalpass.net/2011/09/20/installing-memcache-on-php-with-centos-6 for CentOS].&lt;br /&gt;
&lt;br /&gt;
* [http://www.php.net/manual/en/mysqli.installation.php mysqli]&lt;br /&gt;
&lt;br /&gt;
* [http://ubuntuforums.org/showthread.php?t=861677 mysql + mbstring]&lt;br /&gt;
&lt;br /&gt;
* php5-curl&lt;br /&gt;
&lt;br /&gt;
* [[PHP5-gd]] - GD Image Libary&lt;br /&gt;
&lt;br /&gt;
* php5-mcrypt - File Encryption tool, [[Windows#PHP_mcrypt|Windows guide]]. If you get the error &amp;#039;&amp;#039;Connection reset by peer: mod_fcgid: error reading data from FastCGI server&amp;#039;&amp;#039; after installing this, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec ; chown root:apache /usr/sbin/suexec ; chmod 4510 /usr/sbin/suexec&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CentOS, do [[CentOS#Additional_Resources.2FRepository | this]] and then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install -y mcrypt.x86_64 libmcrypt.x86_64 libmcrypt-devel.x86_64 php-mcrypt.x86_64&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Ssh2_pecl | ssh2 pecl]]&lt;br /&gt;
&lt;br /&gt;
* [http://php.net/manual/en/security.magicquotes.disabling.php Turn PHP Magic Quotes off]&lt;br /&gt;
&lt;br /&gt;
* [http://www.directadmin.com/forum/showthread.php?t=38092&amp;amp;pagenumber= Zend Optimizer] , to check it&amp;#039;s installed run php -i | grep Zend . See the downloads page [http://www.zend.com/en/products/guard/downloads here]. You may need Guard or Guard Loader for higher versions of PHP. Check your current PHP version by doing php -v . To install it on a Plesk server see the following threads: [http://forum.parallels.com/showthread.php?t=110957 1] and [http://www.webhosting.uk.com/forums/faqs-tutorials/6284-installing-zend-optimizer-ubuntu-plesk-vps.html 2]&lt;br /&gt;
&lt;br /&gt;
== Check if module is installed ==&lt;br /&gt;
&lt;br /&gt;
On Unix systems do:&lt;br /&gt;
&lt;br /&gt;
php -i | grep module&lt;br /&gt;
&lt;br /&gt;
== cPanel PHP Configuration ==&lt;br /&gt;
&lt;br /&gt;
You can change how PHP is configured. As root, simply execute: /usr/local/cpanel/bin/rebuild_phpconf --help&lt;br /&gt;
&lt;br /&gt;
== Downgrade PHP 5.3 to 5.2 ==&lt;br /&gt;
&lt;br /&gt;
=== CentOS 6 ===&lt;br /&gt;
&lt;br /&gt;
[http://linux-bloggers.blogspot.co.uk/2011/09/downgrade-php-in-centos-6.html (A)]&lt;br /&gt;
[http://www.atomicorp.com/forum/viewtopic.php?f=2&amp;amp;t=5086 (B)]&lt;br /&gt;
[http://www.serverprontouniversity.com/support-of-the-day/support-of-the-day-downgrade-php-5-3-to-5-2-on-centos-6/ (C)]&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 10.04 ===&lt;br /&gt;
[http://dustyreagan.com/downgrade-php-5-3-to-5-2/ (A)]&lt;br /&gt;
[http://randyfay.com/node/63/ (B)]&lt;br /&gt;
[http://2bits.com/drupal-planet/various-ways-running-php-52-ubuntu-1004-lucid-lynx.html/ (C)]&lt;br /&gt;
[http://www.nickveenhof.be/blog/reverting-or-downgrade-php-53-52-ubuntu-lucid-lynx-1004/ (D)]&lt;br /&gt;
&lt;br /&gt;
== Gathering PHP Information - PHP Info Page ==&lt;br /&gt;
&lt;br /&gt;
Create a phpinfo.php inside /var/www/vhosts/domain.com/httpdocs to gather server information, loaded configuration file and PHP values using the below code and then go to yourdomain.com/phpinfo.php:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The local file will not be picked up as it reads it from the php.ini file so set the domain PHP support to Fast CGI Application and once set in that configuration file (cgi/php.ini) it will be the Master value. If the domain is set to be an Apache module edit the apache2/php.ini file.&lt;br /&gt;
&lt;br /&gt;
Refresh the file in your browser when you have changed a value/variable.&lt;br /&gt;
&lt;br /&gt;
=== Basic PHP page ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;PHP Test&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;?php echo &amp;#039;&amp;lt;p&amp;gt;Hello World&amp;lt;/p&amp;gt;&amp;#039;; ?&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Error Reporting/Logging ===&lt;br /&gt;
&lt;br /&gt;
In /etc/php.ini go to ~ line 518 and see next to error_reporting and it&amp;#039;s options:&lt;br /&gt;
&lt;br /&gt;
Set to the value E_ALL | E_STRICT instead of E_ALL &amp;amp; ~E_NOTICE potentially.&lt;br /&gt;
&lt;br /&gt;
=== Redirect ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?&lt;br /&gt;
Header( &amp;quot;HTTP/1.1 301 Moved Permanently&amp;quot; );&lt;br /&gt;
Header( &amp;quot;Location: http://www.new-url.com&amp;quot; );&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a Plesk server with version 11 on it, the web server EngineX uses the masks REMOTE_ADDR variable (which you should use instead of REMOTE_HOST which is for host names).  Disable your .htaccess and create a PHP script with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php&lt;br /&gt;
$ip = $_SERVER[&amp;quot;REMOTE_ADDR&amp;quot;];&lt;br /&gt;
$real_ip = $_SERVER[&amp;quot;HTTP_X_REAL_IP&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;IP: &amp;quot; .$ip;&lt;br /&gt;
echo &amp;quot;Real IP: &amp;quot; .$real_ip;&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What you will see is that IP reports as the IP of the server whereas the second line returns the real remote IP of the user connecting to the site. You should try changing the REMOTE_HOST to HTTP:HTTP_X_REAL_IP&lt;br /&gt;
&lt;br /&gt;
== failed to open stream: Too many open files ==&lt;br /&gt;
&lt;br /&gt;
To fix this try and set the [http://www.linuxhowtos.org/Tips%20and%20Tricks/ulimit.htm ulimit] in the Apache configuration, otherwise it will get overridden by the default value.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ulimit -n&lt;br /&gt;
ulimit -Sn&lt;br /&gt;
ulimit -Hn&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To set do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ulimit -n value&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Further information: [http://ss64.com/bash/ulimit.html 1], [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/ulimit.htm 2]&lt;br /&gt;
&lt;br /&gt;
== Joomla ==&lt;br /&gt;
&lt;br /&gt;
[http://help.joomla.org/content/view/1986/278/ Clearing the cache]&lt;br /&gt;
&lt;br /&gt;
== mod_fcgid: HTTP request length exceeds MaxRequestLen ==&lt;br /&gt;
&lt;br /&gt;
If you get the following error in a Plesk server in /var/www/vhosts/domain.co.uk/statistics/logs/error_log&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mod_fcgid: HTTP request length 131388 (so far) exceeds MaxRequestLen (131072)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It normally means you need to edit /etc/httpd/conf.d/fcgid.conf and in between the &amp;lt;IfModule&amp;gt; and &amp;lt;/IfModule&amp;gt; tags place:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;FcgidMaxRequestLen 134217728&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PHP.ini ==&lt;br /&gt;
&lt;br /&gt;
Windows location if using Plesk: C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5/php.ini&lt;br /&gt;
&lt;br /&gt;
safe_mode and [http://httpd.apache.org/docs/2.0/howto/cgi.html open_basedir] (set to off) can be changed within these php.ini files:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vim /etc/php5/apache2/php.ini&lt;br /&gt;
vim /etc/php5/cgi/php.ini&lt;br /&gt;
vim /etc/php5/cli/php.ini&lt;br /&gt;
/var/www/vhosts/domain.com/etc/php.ini&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://support.aiso.net/index.php?_m=knowledgebase&amp;amp;_a=viewarticle&amp;amp;kbarticleid=211/ Turning off magic_quotes_gpc]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://php.net/manual/en/security.magicquotes.php/ magic_quotes_gpc (deprecated in PHP 5.3)]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the below entry inside vhost.conf under the var/www/vhosts/domain.com/conf directory excluding what you do not need:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;Directory  /var/www/vhosts/DOMAIN.COM/httpdocs&amp;gt;&lt;br /&gt;
        php_admin_flag engine on&lt;br /&gt;
        php_admin_flag safe_mode off //turns safe mode off&lt;br /&gt;
        php_admin_value open_basedir //set none to turn off //the following to turn on /var/www/vhosts/DOMAIN.COM/ &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also edit this file /opt/psa/admin/conf/php.ini (Ubuntu) or /usr/local/psa/admin/conf/php.ini (CentOS) and add/edit safe_mode = Off open_basedir = none (or Off) and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/local/psa/admin/bin/httpdmng --reconfigure-all&lt;br /&gt;
/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command creates an include file in the same directory.&lt;br /&gt;
&lt;br /&gt;
=== safe_mode ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;Directory  /var/www/vhosts/DOMAIN.COM/httpdocs&amp;gt;&lt;br /&gt;
        php_admin_flag safe_mode off&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://forum.parallels.com/showthread.php?t=111630/ Safe mode and line errors]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webfusion.co.uk/support/answers/how-do-i-disable-php-safe-mode-vps-3-0-plesk-10-2634/ Disable Safe Mode on Plesk 10 for Webfusion]&lt;br /&gt;
&lt;br /&gt;
=== open_basedir ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;Directory /var/www/vhosts/DOMAIN.COM/httpdocs&amp;gt;&lt;br /&gt;
        php_admin_value open_basedir none &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://enarion.net/web/plesk/subdomains-and-open_basedir Turning off for subdomains]&lt;br /&gt;
&lt;br /&gt;
Subdomains do not have conf folders by default, so it can be set in /var/www/vhosts/domain/subdomains/conf/vhost.conf as /var/www/vhosts/domain/subdomain , locally in a .htaccess file or globally on the server in php.ini if it is running as Apache.&lt;br /&gt;
&lt;br /&gt;
=== Timezone ===&lt;br /&gt;
&lt;br /&gt;
Within the three php.ini files if you search for /timezone you will need to un-comment the values for timezone, latitude and longitude and enter only the timezone within &amp;quot;quotes&amp;quot;. The most common request if for the following values:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Date]&lt;br /&gt;
; Defines the default timezone used by the date functions&lt;br /&gt;
; http://php.net/date.timezone&lt;br /&gt;
date.timezone = &amp;quot;Europe/London&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; http://php.net/date.default-latitude&lt;br /&gt;
date.default_latitude = 51.500181&lt;br /&gt;
&lt;br /&gt;
; http://php.net/date.default-longitude&lt;br /&gt;
date.default_longitude = 0.12619&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://uk3.php.net/manual/en/datetime.configuration.php#ini.date.timezone/ Values for the world]&lt;br /&gt;
&lt;br /&gt;
You may need to add it to the domain specific PHP file in /var/www/vhosts/domain.com/etc/php.ini or /usr/local/psa/admin/conf/php.ini&lt;br /&gt;
&lt;br /&gt;
=== Fail to download/export SQL Database (memory_limit) ===&lt;br /&gt;
&lt;br /&gt;
When trying to download a copy of SQL database with Error 6 (net::ERR_FILE_NOT_FOUND) or unable to &amp;quot;find&amp;quot; a file this may be due to the setting memory_limit in the Plesk php.ini file.&lt;br /&gt;
&lt;br /&gt;
1. Open your Plesk php.ini (placed at /usr/local/psa/admin/conf/php.ini)&amp;lt;br&amp;gt;&lt;br /&gt;
2. Find memory_limit and change to: memory_limit = 128M/x2/4/8 for example&amp;lt;br&amp;gt;&lt;br /&gt;
3. Stop and start psa services&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/init.d/psa stopall&lt;br /&gt;
/etc/init.d/psa startall&lt;br /&gt;
/etc/init.d/sw-cp-server restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://kb.parallels.com/en/111858/ Exporting large database in phpMyAdmin] or [[PHP#Export_issue | see here]]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://kb.parallels.com/article_50_780_en.html PHP Upload Files Failure/Increasing memory values]&lt;br /&gt;
&lt;br /&gt;
=== Fatal error: Call to undefined function curl_init() ===&lt;br /&gt;
&lt;br /&gt;
If you are using Plesk and the curl.dll (not the actual file name) extension is enabled in php.ini check the wordpress applications in the site for a different PHP config to the main site. Reset the settings for the site and they may go back into sync.&lt;br /&gt;
&lt;br /&gt;
=== Timeout ===&lt;br /&gt;
&lt;br /&gt;
Set max_execution_time in php.ini. By default this is 60 seconds on most servers.&lt;br /&gt;
&lt;br /&gt;
Also see [[Wordpress#Uploading_images_or_videos_fails | this]].&lt;br /&gt;
&lt;br /&gt;
If you get:&lt;br /&gt;
&lt;br /&gt;
mod_fcgid: stderr: PHP Notice:  session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in /var/www/vhosts/domain.co.uk/httpdocs/filepath.php on line X, referer: domain.co.uk/filepath&lt;br /&gt;
&lt;br /&gt;
Set php.ini to have this:&lt;br /&gt;
&lt;br /&gt;
session.save_path = &amp;quot;/tmp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== [http://www.codingforums.com/archive/index.php/t-168650.html Include file] ===&lt;br /&gt;
&lt;br /&gt;
=== PHP Warning: Module ===&lt;br /&gt;
&lt;br /&gt;
If you get something like the below message when doing php -v :&lt;br /&gt;
&lt;br /&gt;
PHP Warning: Module &amp;#039;json&amp;#039; already loaded in Unknown on line 0&amp;lt;br&amp;gt;&lt;br /&gt;
PHP Warning: Module &amp;#039;mbstring&amp;#039; already loaded in Unknown on line 0&lt;br /&gt;
&lt;br /&gt;
The modules have likely been defined twice in the server configuration by adding them manually to the PHP.ini file which is unnecessary. Remove the extra config which should get rid of the warning.&lt;br /&gt;
&lt;br /&gt;
== PHP Configuration in Plesk ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;amp;larr; Hosting Services - Domains &amp;gt; Open in Control Panel for your domain&lt;br /&gt;
&amp;amp;darr;  Hosting Services - Subscriptions &amp;gt; Manage Hosting/Open in Control Panel for your domain&lt;br /&gt;
&amp;amp;darr;  &amp;amp;darr;&lt;br /&gt;
&amp;amp;darr;  &amp;amp;darr;&lt;br /&gt;
Websites &amp;amp; Domains tab &amp;gt; click your domain &amp;gt; under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PHP Configuration in WHM ==&lt;br /&gt;
&lt;br /&gt;
Use Software &amp;gt; EasyApache (Apache Update)&lt;br /&gt;
&lt;br /&gt;
Apache: Mod FCGID&amp;lt;br&amp;gt;&lt;br /&gt;
PHP: Fastcgi &lt;br /&gt;
&lt;br /&gt;
For Magento the following requirements are needed:&lt;br /&gt;
&lt;br /&gt;
* PDO_MySQL&lt;br /&gt;
* simplexml&lt;br /&gt;
* mcrypt&lt;br /&gt;
* hash&lt;br /&gt;
* GD&lt;br /&gt;
* DOM&lt;br /&gt;
* iconv&lt;br /&gt;
* SOAP (if Webservices API is to be used)&lt;br /&gt;
&lt;br /&gt;
The web based version of EasyApache is notoriously temperamental, it may freeze on you. This is usually due to the memory load on the server. By using an [[SSH]] console, you can complete the process in a much more efficient manner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/scripts/easyapache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to launch the process. Follow the instructions on screen, remembering that it can sometimes take a while to build an entirely new version of php, and good luck.&lt;br /&gt;
&lt;br /&gt;
Complete these instructions to set up all the required extensions, however when it came to one payment gateway, you may still need to set up curl and curlssl – two libraries needed for POSTing data securely over HTTP and SSL. Remember to activate these at the time you do your original build, as it’ll save a great deal of hassle later on.&lt;br /&gt;
&lt;br /&gt;
Alternatively run: /usr/local/cpanel/bin/rebuild_phpconf&lt;br /&gt;
&lt;br /&gt;
== [http://www.w3schools.com/php/php_mail.asp PHP Mail Test] ==&lt;br /&gt;
&lt;br /&gt;
Or the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;?php&lt;br /&gt;
 $to = &amp;quot;recipient@example.com&amp;quot;;&lt;br /&gt;
 $subject = &amp;quot;Hi!&amp;quot;;&lt;br /&gt;
 $body = &amp;quot;Hi,\n\nHow are you?&amp;quot;;&lt;br /&gt;
 if (mail($to, $subject, $body)) &lt;br /&gt;
 {&lt;br /&gt;
 echo(&amp;quot;Message successfully sent!&amp;quot;);&lt;br /&gt;
 } &lt;br /&gt;
 else &lt;br /&gt;
 {&lt;br /&gt;
 echo(&amp;quot;Message delivery failed...&amp;quot;);&lt;br /&gt;
 }&lt;br /&gt;
 ?&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PHP Page downloading ==&lt;br /&gt;
&lt;br /&gt;
If when you view a .php file it tries to download and you do not want it to, do the following via SSH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;a2enmod php5&lt;br /&gt;
/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if you use Plesk go [[PHP#PHP_Support_in_Plesk | here]] and tick PHP Support. a2dismod may be needed as well.&lt;br /&gt;
&lt;br /&gt;
Alternate guides:&lt;br /&gt;
&lt;br /&gt;
* [http://serverfault.com/questions/56394/how-do-i-enable-apache-modules-from-the-command-line-in-redhat CentOS]&lt;br /&gt;
* [http://forums.digitalpoint.com/showthread.php?t=7584 1]&lt;br /&gt;
* [https://www.google.co.uk/search?hl=en&amp;amp;safe=off&amp;amp;site=&amp;amp;source=hp&amp;amp;q=application%2Fx-httpd-php&amp;amp;oq=application%2Fx-httpd-php&amp;amp;aq=f&amp;amp;aqi=g9g-m1&amp;amp;aql=&amp;amp;gs_l=hp.3..0l9j0i5.505.505.0.887.1.1.0.0.0.0.67.67.1.1.0...0.0.9RGFj87BnHk 2]&lt;br /&gt;
* [http://oscartheduck.wordpress.com/2007/04/19/applicationx-httpd-php-downloading-instead-of-being-served-by-wordpress-on-freebsd/ 3]&lt;br /&gt;
&lt;br /&gt;
You may need to do:&lt;br /&gt;
&lt;br /&gt;
apt-get install php5-cgi libapache2-mod-fcgid libapache2-mod-php5&lt;br /&gt;
&lt;br /&gt;
== PHP My Admin ==&lt;br /&gt;
&lt;br /&gt;
=== How to access in Plesk ===&lt;br /&gt;
&lt;br /&gt;
You may need to allow pop-ups.&lt;br /&gt;
&lt;br /&gt;
In &amp;#039;&amp;#039;&amp;#039;Plesk 10&amp;#039;&amp;#039;&amp;#039; go to either:&lt;br /&gt;
&lt;br /&gt;
* Server Management - Tools &amp;amp; Settings &amp;gt; Applications &amp;amp; Databases - Database Servers &amp;gt; click Webadmin icon&lt;br /&gt;
* Server Management - Tools &amp;amp; Utilities &amp;gt; Resources - Database Servers &amp;gt; same as above.&lt;br /&gt;
* Server tab, Resources - Database Servers &amp;gt; same as above.&lt;br /&gt;
&lt;br /&gt;
This access for MySQL is server level so you can see all MySQL databases.&lt;br /&gt;
&lt;br /&gt;
For individual domains you go to:&lt;br /&gt;
&lt;br /&gt;
* Hosting Services - Domains &amp;gt; Open in Control panel &amp;gt; Websites &amp;amp; Domains &amp;gt; Databases &amp;gt; click the database you want to manage then Webadmin icon.&lt;br /&gt;
* Hosting Services - Subscriptions &amp;gt; Manage Hosting &amp;gt; Websites &amp;amp; Domains &amp;gt; Databases &amp;gt; same as above.&lt;br /&gt;
&lt;br /&gt;
[http://kb.parallels.com/en/112779 The root user cannot access phpMyAdmin]&lt;br /&gt;
&lt;br /&gt;
=== import.php: Missing parameter: import_type ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;import.php: Missing parameter: import_type&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fixes [http://wiki.mediatemple.net/w/(dv)_4.0:Import.php_-_Missing_parameter_import_type_or_format 1] and [http://forum.parallels.com/pda/index.php/t-105726.html 2]&lt;br /&gt;
&lt;br /&gt;
=== 1077 Error ===&lt;br /&gt;
&lt;br /&gt;
When you upload a file into phpMyAdmin and it shows a 1077 error, you are likely uploading the wrong file type. It needs to be as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;#039;&amp;#039;File may be compressed (gzip, zip) or uncompressed.&lt;br /&gt;
A compressed file&amp;#039;s name must end in .[format].[compression]. Example: .sql.zip&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you right click the .sql file and zip it and then try it should work as long as it is below 2GB.&lt;br /&gt;
&lt;br /&gt;
=== Cannot start session ===&lt;br /&gt;
&lt;br /&gt;
phpMyAdmin - Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.&lt;br /&gt;
&lt;br /&gt;
* Make a PHP Info page to see which php.ini it loads&lt;br /&gt;
* Check /var/log/sw-cp-server/error_log , /var/log/apache2/error.log or /var/www/vhosts/site11.pro1.ictgateshead.org/statistics/logs/error_log&lt;br /&gt;
* Put session.save_handler = files and session.save_path = /tmp in all PHP.ini files and restart Apache.&lt;br /&gt;
* Ensure tmp has root:root user:group . It may try to save session files to /var/lib/php5 and ensure the following folders have the right permissions: /usr/local/psa/tmp + aps /usr/local/psa/admin/sessions + logs + bin/modules&lt;br /&gt;
* find /opt/psa -user admins -print | xargs chown root -- to correct ownership # chmod 4110 /opt/psa/admin/sbin/wrapper  -- to set correct permissions of wrapper for Plesk&lt;br /&gt;
* Also: http://kb.parallels.com/en/111857&lt;br /&gt;
&lt;br /&gt;
Or when installing Joomla for example on a Plesk server, you may get:&lt;br /&gt;
&lt;br /&gt;
mod_fcgid: stderr: PHP Warning:  session_write_close(): open(/var/lib/php/session/sess_adkb8rfaum29um5g8d57i6v5q3, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/domain.co.uk/httpdocs/libraries/joomla/session/session.php on line 676, referer: http://IPaddress/installation/index.php&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vim /var/www/vhosts/domain.co.uk/etc/php.ini&lt;br /&gt;
session.save_path = /tmp&lt;br /&gt;
#session.save_path = &amp;quot;/var/lib/php/session&amp;quot;&lt;br /&gt;
/etc/init.d/httpd or /etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This above Joomla Plesk one happens because /var/lib/php/session needs a different user:group and/or permissions.&lt;br /&gt;
&lt;br /&gt;
=== Export issue ===&lt;br /&gt;
&lt;br /&gt;
The error normally shown is &amp;quot;can’t find the file at https://xx.xx.xx.xx:8443/domains/databases/phpMyAdmin/export.php&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vim /usr/local/psa/admin/conf/php.ini&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the line containing&amp;#039;&amp;#039;&amp;#039; memory_limit&amp;#039;&amp;#039;&amp;#039;. Increase this to &amp;#039;&amp;#039;&amp;#039;256M&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;512M&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;1024M&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/init.d/sw-cp-server restart&lt;br /&gt;
/etc/init.d/psa stopall&lt;br /&gt;
/etc/init.d/psa startall&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Accessing a manual install ===&lt;br /&gt;
&lt;br /&gt;
If you have installed phpMyAdmin in another location, see these links:&lt;br /&gt;
&lt;br /&gt;
http://help.slamdot.com/idx/0/081/How-do-I-access-phpMyAdmin&amp;lt;br&amp;gt;&lt;br /&gt;
http://learnwebtutorials.com/access-mysql-database-phpmyadmin&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Rare error:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
export.php: Missing parameter: whatDocumentation&lt;br /&gt;
export.php: Missing parameter: export_typeDocumentation&lt;br /&gt;
&lt;br /&gt;
In file &amp;lt;Plesk_dir&amp;gt;\admin\htdocs\domains\databases\phpMyAdmin\libraries\session.inc.php&lt;br /&gt;
&lt;br /&gt;
uncomment line:&lt;br /&gt;
//@ini_set(&amp;#039;session.use_trans_sid&amp;#039;, true); to @ini_set(&amp;#039;session.use_trans_sid&amp;#039;, true);&lt;br /&gt;
&lt;br /&gt;
Restart Plesk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- NOT GUARANTEED TO WORK&lt;br /&gt;
&lt;br /&gt;
== Update PHP ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ubuntu to use 5.3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
First, add the appropriate lines in your /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
   deb http://packages.dotdeb.org stable all&lt;br /&gt;
   deb http://php53.dotdeb.org stable all&lt;br /&gt;
&lt;br /&gt;
Then, use a decent package manager (such as aptitude, dselect or synaptic) to install all the packages you want (mysql-server-5.1, php5, php5-apc, php5-memcache…). Dependencies will automatically be satisfied by using the most recent packages (Dotdeb’s ones if you’re on Debian stable, aka “Lenny”).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ubuntu&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get update  &lt;br /&gt;
apt-get install build-essential libxml2-dev libbz2-dev libpng3-dev libmysqlclient15-dev libcurl3-dev libc-client-dev libxpm4 libgd-xpm-dev libjpeg62-dev libfreetype6 libfreetype6-dev&lt;br /&gt;
cd /admin&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
wget http://uk3.php.net/get/php-5.2.10.tar.gz/from/this/mirror&lt;br /&gt;
tar -zxvf php-5.2.8.tar.gz&lt;br /&gt;
cd php-5.2.8&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
./configure --prefix=/usr --with-config-file-path=/etc/php5/cgi --enable-force-cgi-redirect --enable-fastcgi --enable-calendar --with-bz2 --enable-dba --enable-bcmath --enable-exif --enable-ftp --with-gd --enable-mbstring --with-mime-magic --enable-wddx --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-sockets --enable-soap --with-zlib --with-pcre-regex --with-mysql --with-xmlrpc --with-mysqli --with-curl --with-imap --with-kerberos --with-imap-ssl --with-jpeg-dir=/usr/lib --with-xpm-dir=/usr/include/X11 --with-freetype-dir=/usr/include/freetype2/freetype&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;make  &lt;br /&gt;
make install  &lt;br /&gt;
cd /usr/bin  &lt;br /&gt;
mv php5-cgi php5-cgi.old  &lt;br /&gt;
cp php-cgi php5-cgi&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Comment out the following line in /etc/apache2/mods-available/suphp.conf (with a #) &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;suPHP_ConfigPath /etc/suphp/suphp.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Comment out the following lines in the /etc/php5/cgi/php.ini file (with a ; ) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;extension=gd.so&lt;br /&gt;
extension=mysql.so&lt;br /&gt;
extension=mysqli.so&lt;br /&gt;
extension=xmlrpc.so&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Also in /etc/php5/cgi/php.ini, change the line:  &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.1.so&lt;br /&gt;
#to &lt;br /&gt;
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Restart Apache using /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Windows 5.3 with Fast CGI&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Download the following components.&lt;br /&gt;
&lt;br /&gt;
PHP5.3.* VC9 Non Thread Safe version&lt;br /&gt;
http://windows.php.net/download/&lt;br /&gt;
&lt;br /&gt;
Microsoft 2008 C++ Runtime&lt;br /&gt;
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;amp;displayLang=en&lt;br /&gt;
&lt;br /&gt;
Fastcgi 1.5&lt;br /&gt;
http://www.iis.net/download/fastcgi&lt;br /&gt;
&lt;br /&gt;
Install the Microsoft 2008 C++ Runtime using the default values, extract PHP, stop IIS using the following command:&lt;br /&gt;
&lt;br /&gt;
iisreset /stop&lt;br /&gt;
&lt;br /&gt;
Rename the existing c:\PHP to c:\php.old&lt;br /&gt;
&lt;br /&gt;
Copy the new php installation to c:\ and rename the directory to PHP&lt;br /&gt;
&lt;br /&gt;
Right click on the PHP directry select properties then security and add the &amp;#039;NETWORK SERVICE&amp;#039; user, click advanced and tick &amp;#039;replace permission entries on all child objects&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Copy c:\PHP\ssleay32.dll c:\windwos\system32&lt;br /&gt;
&lt;br /&gt;
Rename C:\PHP\php.ini-production to C:\PHP\php.ini and one the file in notepad.&lt;br /&gt;
&lt;br /&gt;
Set the parematers below and save the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;extension_dir = &amp;quot;C:\PHP\ext&amp;quot;&lt;br /&gt;
error_log=&amp;quot;C:\inetpub\temp\php-errors.log&amp;quot;&lt;br /&gt;
cgi.force_redirect = 0&lt;br /&gt;
fastcgi.impersonate = 1&lt;br /&gt;
fastcgi.logging = 0&lt;br /&gt;
cgi.fix_pathinfo=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment the following line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;extension=php_mysql.dll&lt;br /&gt;
extension=php_mysqli.dll&lt;br /&gt;
extension=php_curl.dll&lt;br /&gt;
extension=php_gd2.dll&lt;br /&gt;
extension=php_imap.dll&lt;br /&gt;
extension=php_mcrypt.dll&lt;br /&gt;
extension=php_mssql.dll&lt;br /&gt;
extension=php_openssl.dll&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install fast cgi using the default settings&lt;br /&gt;
&lt;br /&gt;
Open the comand prompt and run the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd C:\Windows\System32\inetsrv&lt;br /&gt;
cscript fcgiconfig.js -add -section:&amp;quot;PHP&amp;quot; -extension:php -path:&amp;quot;C:\PHP\php-cgi.exe&amp;quot;&lt;br /&gt;
cscript fcgiconfig.js -set -section:&amp;quot;PHP&amp;quot; -InstanceMaxRequests:10000&lt;br /&gt;
cscript fcgiconfig.js -set -section:&amp;quot;PHP&amp;quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open the &amp;#039;Internet information service (IIS) manager&amp;#039; right click &amp;#039;websites&amp;#039; and select &amp;#039;properties&amp;#039; &amp;gt; &amp;#039;Home directory&amp;#039; &amp;gt; &amp;#039;Configuration&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Locate the .php application extion and click edit and exter the excutable path as below:&lt;br /&gt;
&lt;br /&gt;
c:\windows\system32\inetsrv\fcgiext.dll&lt;br /&gt;
&lt;br /&gt;
Start IIS using iisreset /start&lt;br /&gt;
&lt;br /&gt;
Test PHP by running phpinfo script one of the sites on the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;? phpinfo() ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Windows php 4 - 5 PLESK&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Actually you need to keep the packaged PHP installs provided by Plesk untouched. You can add some additional PHP versions in the C:\Program Files (x86)\Parallels\Plesk\Additional\. Here is the procedure I am using:&lt;br /&gt;
&lt;br /&gt;
Create a folder named PHP535NTSVC9X64 (I named it to know exactly what type of build it is). Unzip the build inside. Add a php.ini (if it is PHP5.3, you might need to start over with a fresh configuration)&lt;br /&gt;
&lt;br /&gt;
Pay attention to have the correct folders for extension. Mine is include_path=&amp;quot;.;C:\Program Files (x86)\Parallels\Plesk\Additional&lt;br /&gt;
\PHP534NTSVC9\pear ;./includes;./pear&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add any compatible additional extension (like Wincache) in the ext folder. In your Plesk domain site, uncheck PHP support. In IIS7, go to the given site.com and click on Handler Mapping. Click on the right, on Add Module Mapping&lt;br /&gt;
&lt;br /&gt;
Request path: *.php Module: FastCgiModule&lt;br /&gt;
&lt;br /&gt;
For the Executable: browse, look for php-cgi.exe and don&amp;#039;t forget to add double quotes. For instance: &amp;quot;C:\Program Files (x86)\Parallels&lt;br /&gt;
\Plesk\Additional\PHP535NTSVC9X64\p hp-cgi.exe&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Name it clearly PHP_5_3_5_NTS_VC9_name_site&lt;br /&gt;
&lt;br /&gt;
Select Request Restriction.. and INVOKE this for &amp;quot;file and folder&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When you click OK you get a message to create a FastCGI application for this executable, click on Yes.&lt;br /&gt;
&lt;br /&gt;
In IIS7, go to the server main node (right below Start Page). Click on FastCgi Settings. Select the proper Full Path corresponding to your new PHP application and double click on it. Set InstanceMaxRequests to 10000 instead of 200 (I am not sure why I still do that)&lt;br /&gt;
&lt;br /&gt;
At the same line, to the right of EnvironmentVariables, double click on (Collection)&lt;br /&gt;
&lt;br /&gt;
In the environmentVariables Collector Editor, create a variable&lt;br /&gt;
&lt;br /&gt;
Name: PHPRC Value: C:\Program Files (x86)\Parallels\Plesk\Additional\PHP535NTSVC9X64\ (that&amp;#039;s your new PHP install path). The PHPRC &lt;br /&gt;
env variable provides some information to where to find the php.ini file.&lt;br /&gt;
&lt;br /&gt;
Eventually restart the application pool linked to your domain, or restart the IIS service from the IIS7 main node. (not forcefully required)&lt;br /&gt;
&lt;br /&gt;
Place a phpinfo.php file containing &amp;lt;?php phpinfo(); ?&amp;gt; in your site web root&lt;br /&gt;
&lt;br /&gt;
Try to see if you can access it, and check out that all is ok and loaded.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Windows php 4 - 5&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Download php from http://php.net, extract the zip to desktop, go into the extracted folder and rename &amp;quot;ext&amp;quot; to &amp;quot;extensions&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Copy libmysql.dll, libmcrypt.dll, ssleay32.dll from PHP 5 folder to c:\Windows\System32 , copy PHP.ini from current PHP4 install to PHP 5 directory, add# two extension lines to php.ini&lt;br /&gt;
&lt;br /&gt;
extension=php_mysql.dll&amp;lt;br&amp;gt;&lt;br /&gt;
extension=php_mysqli.dll&lt;br /&gt;
&lt;br /&gt;
Make sure the PHP 5 folder is named PHP, stop IIS, rename C:\PHP C:\PHP4 , copy PHP5 folder to C:\PHP   (COPY AND PASTE!! DO NOT DRAG AND DROP!!), open IIS Manager, update the PHP ISAPI Extension, remove the 4 extension and insert the extension for PHP5, right click the Web Sites folder in IIS Manager and update the PHP path (Home Directory, Configuration, Mappings), start IIS&lt;br /&gt;
&lt;br /&gt;
Test&lt;br /&gt;
&lt;br /&gt;
NOT GUARANTEED TO WORK --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [http://www.inmotionhosting.com/support/website/general-server-setup/what-is-suphp suPHP] ==&lt;br /&gt;
&lt;br /&gt;
== register_globals ==&lt;br /&gt;
&lt;br /&gt;
If you get the following error on your website:&lt;br /&gt;
&lt;br /&gt;
FATAL ERROR: register_globals is disabled in php.ini, please enable it!&lt;br /&gt;
&lt;br /&gt;
Setup a [[PHP#Gathering_PHP_Information_-_PHP_Info_Page | PHP Info page]] and see which php.ini PHP is loading from. Then go into [[SSH]] and edit the Loaded Configuration File by finding the entry using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/register_globals&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set it to on or off. Then exit the file and run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upgrade PHP ==&lt;br /&gt;
&lt;br /&gt;
Work in progress.&lt;br /&gt;
&lt;br /&gt;
[http://www.simmonsconsulting.com/2009/03/08/howto-upgrade-ubuntu-lts-804-server-to-php-528 Ubuntu 8.04 to PHP 5.2.8]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://dustyreagan.com/how-to-update-ubuntu-hardy-to-php-529 Ubuntu 8.04 to PHP 5.2.9]&lt;br /&gt;
&lt;br /&gt;
[http://www.how2centos.com/installing-php-5-3-3-on-centos-5-5-tutorial/ CentOS 5.5 to PHP 5.3.3]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webtatic.com/packages/php54/ CentOS 6.2 to PHP 5.4]&lt;br /&gt;
&lt;br /&gt;
== Version 5.3 ==&lt;br /&gt;
&lt;br /&gt;
[http://kb.parallels.com/en/111630 CentOS 5]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://kb.parallels.com/en/111711 Linux General]&lt;br /&gt;
[http://kb.parallels.com/en/113179 Windows]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rootadminacc</name></author>
	</entry>
</feed>