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

<channel>
	<title>Web Hosting UK &#124; Dedicated Servers &#124; VPS Hosting &#124; Windows Hosting &#187; PHP MySQL Hosting</title>
	<atom:link href="http://www.webhosting.uk.com/web-hosting/faq/uk-website-hosting/linux-hosting/php-web-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webhosting.uk.com/web-hosting/faq</link>
	<description>WebHosting Knowledgebase Articles &#124; FAQ's</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:44:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Recognizing Slow MySQL Queries</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/recognizing-slow-mysql-queries/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/recognizing-slow-mysql-queries/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 07:51:45 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[MySQL Queries]]></category>
		<category><![CDATA[slow MySQL Queries]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=1288</guid>
		<description><![CDATA[MySQL is one of the most well known and efficient databases for any of the website as it offers the perfect solutions. Sometimes these small MySQL queries can create big issue on a server side scripting. This article will teach &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/recognizing-slow-mysql-queries/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>MySQL is one of the most well known and efficient databases for any of the website as it offers the perfect solutions. Sometimes these small MySQL queries can create big issue on a server side scripting. This article will teach you how to identify those particular querries that are creating a problem for your server. As such there are many non-technical users who rely on MySQL but do not want to become MySQL experts beyond the routine maintenance.</p>
<p style="text-align: center;"><img class="size-full wp-image-1289 aligncenter" title="slow mysql query" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/slow-mysql-querry.jpg" alt="slow mysql querry Recognizing Slow MySQL Queries" width="304" height="166" /></p>
<p>The information given here will serve like a guide for the non-technical users. You may or may not be the MySQL expert, once you understand the &#8216;dynamic&#8217; SQL passing tests, it will help you to analyze the queries and isolate them. Once you have isolated the queries, you can consult with a MySQL expert to fix them.</p>
<p>The <a href="http://www.webhosting.uk.com/cpanel-hosting.php" target="_blank">MySQL hosting</a> plans can show the complete logs of those queries that are taking a lot of time. The time calculated is by X seconds of time out but this future is not turned on by default. When ever a query is related to the performance with the problems creep in, such users are at the loss because as there is no magical solution for the slow queries as none of the case is unique. Here’s how you turn it on:</p>
<p><strong>Step 1:-</strong> First of all login to your web hosting server as root privilege.<br />
<strong>Step 2:-</strong> As soon as you get into your server open the my.cnf with any of the editor you have. Example:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
pico /etc/my.cnf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><strong>Step 3:- </strong>Check Into the [mysqld] section and add the following lines into it.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
log-slow-queries = /var/log/mysql-slow.log<br />
long_query_time = 3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>This is just an example for the issue that we are discussing. At that location you will find multiple user as well as file name that you wanted to modify.</p>
<p>In this example<br />
I will be logging to /var/log/mysql-slow.log any queries that are taking longer then 3 seconds.</p>
<p><strong>Step  4:- </strong>Once the above mentiobned process is complete, you can go ahead to save the configuration.</p>
<p>For pico: CTRL+X and YES</p>
<p><strong>Step 5:-</strong> Now the log file has to be created.</p>
<p>touch /var/log/mysql-slow.log</p>
<p><strong>Step 6:-</strong> Once the owner of the mysql file is changed, it will be easier to write to it. The file can be updated after that.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
chown mysql.root /var/log/mysql-slow.log<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<strong>Step 7:-</strong> The most important thing we have to do is to restart the complete mysql.</p>
<p>service mysql restart</p>
<p>It should restart successfully. If it doesn’t check that you didn’t brake my.cnf</p>
<p><strong>Step 8:-</strong> As the server gets restarted you will have to wait for sometime. You will also have to examine the slow queries log. Here is an example about how you can do it:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
cat /var/log/mysql-slow.log<br />
tail /var/log/mysql-slow.log<br />
tail -50 /var/log/mysql-slow.log<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Once you have identified the exact MySql query that takes a long time for execution; you can wither optimize the query or remove it. You can test the results by checking the server load and the MySQL slow queries log. Once you have fixed all the problems, go ahead and fix the slow queries as it will slow your server. my.cnf should now look similar to this:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#log-slow-queries = /var/log/mysql-slow.log<br />
#long_query_time = 3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>The process mentioned above will help you to fix the slow MySQL issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/recognizing-slow-mysql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use The Callback Function In PHP Hosting?</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/how-to-use-the-callback-function-in-php-hosting/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/how-to-use-the-callback-function-in-php-hosting/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 07:09:34 +0000</pubDate>
		<dc:creator>Catherine</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[PHP hosting]]></category>
		<category><![CDATA[PHP web hosting]]></category>
		<category><![CDATA[Web Hosting UK]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=1266</guid>
		<description><![CDATA[The callback function in PHP hosting is a commonly used technique. A callback is a code that is passed to a particular function and then later it is implemented by that function. This post will illustrate the process of sending &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/how-to-use-the-callback-function-in-php-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The callback function in PHP hosting is a commonly used technique. A callback is a code that is passed to a particular function and then later it is implemented by that function. This post will illustrate the process of sending callbacks in PHP and it also includes an example to explain how callbacks can be useful. In order to demonstrate how callbacks can be useful, we will assume that we have a PHP script; and when it is called it will download an RSS feed from 10 different web sites. In case it takes 2 seconds to download from every website, it will take 20 seconds for downloading from all the websites. The code for achieving this will look like the one mentioned below; this code also contains sleep() for demonstrating the script in a better way.</p>
<p><a href="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode1.jpg"><img class="aligncenter size-full wp-image-1267" title="phpcode1" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode1.jpg" alt="phpcode1 How To Use The Callback Function In PHP Hosting?" width="855" height="555" /></a></p>
<p>When you run this code, you will notice that it freezes until all the websites have been completed. At this point, it is important to access all the return data at once. The following figure illustrates the workflow of this script.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1268" title="php2" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/php2.png" alt="php2 How To Use The Callback Function In PHP Hosting?" width="690" height="272" /></p>
<p>Returning the newly downloaded data as it becomes available is a much better solution. Of course, it is also possible to hard-code the required functionality in the <code>downloadFromSites()</code> function, however doing so will make it very difficult to reuse the code and use the returned data in a different way according to the requirements. The diagram given below shows the workflow of the previous function modified for using the callbacks. In this scenario, the callback function is called every time a single website completes downloading.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1269" title="php3" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/php3.png" alt="php3 How To Use The Callback Function In PHP Hosting?" width="690" height="339" /></p>
<p>Using callbacks becomes very simple with PHP as it also uses the helper functions – is_called() and call_user_func(). There are mainly 3 types of callbacks that can be used:</p>
<p>1. A 	standard PHP function. This is passed as a string such as 	<code>'callbackName'</code></p>
<p>2. A 	static method of a class. This is passed as an array along with  the 	the class name as the first element and the method name as the 	 second argument. For example, <code>array('MyClass', 	'MyCallback')</code></p>
<p>3. A method of an object. 	This is also passed as an array, but  instead of the class name being 	the first element, the object is the  first element. For example, 	<code>array($obj, 	'MyCallback')</code></p>
<p>The listing mentioned below illustrates the process of defining all types of callbacks and then the process of referencing each one of them.</p>
<p><a href="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode2.jpg"><img class="aligncenter size-full wp-image-1270" title="phpcode2" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode2.jpg" alt="phpcode2 How To Use The Callback Function In PHP Hosting?" width="855" height="461" /></a></p>
<p>In order to test if a callback can be used you can use the is_callable() function. This function accepts the callback as its only argument and returns true if it is a valid callback. It is then possible for you to call the with the call_user_func(). The callback is passed as the first argument, and if any arguments are accepted by the callback function; they can be included as second and subsequent arguments. The code mentioned below demonstrates how this can be typically used. This code ensures a callback can be called, then calls it with a single argument. This script outputs <code>Hello</code>.</p>
<p><a href="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode3.jpg"><img class="aligncenter size-full wp-image-1271" title="phpcode3" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode3.jpg" alt="phpcode3 How To Use The Callback Function In PHP Hosting?" width="852" height="268" /></a></p>
<p>Returning to our previous example, it is now possible to alter the <code>downloadFromSites()</code>function so it accepts a callback as the second argument. Therefore now along with returning all of the data once all websites have been processed, the callback will be called after each website is processed. The callback will accept the website name as its first argument and the downloaded data as the second argument.</p>
<p><a href="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode6.jpg"><img class="aligncenter size-full wp-image-1272" title="phpcode6" src="http://www.webhosting.uk.com/web-hosting/faq/wp-content/uploads/2011/04/phpcode6.jpg" alt="phpcode6 How To Use The Callback Function In PHP Hosting?" width="854" height="849" /></a></p>
<p>When you run this code, you will see that the &#8220;finished downloading&#8221; message is displayed as each website is completed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/how-to-use-the-callback-function-in-php-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Information About The phpMyAdmin Databases</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/information-about-the-phpmyadmin-databases/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/information-about-the-phpmyadmin-databases/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 08:13:45 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpMyAdmin tutorial]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=1104</guid>
		<description><![CDATA[phpMyAdmin tutorial will help you to become more familiar with phpMyAdmin databases and phpMyAdmin interface.  We are going to assume that you are logged into your web hosting account on the web server. The control panel will show you the &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/information-about-the-phpmyadmin-databases/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>phpMyAdmin tutorial will help you to become more familiar with phpMyAdmin databases and phpMyAdmin interface.  We are going to assume that you are logged into your <a href="http://wwww.webhosting.uk.com/" target="_blank">web hosting account</a> on the web server. The control panel will show you the phpMyAdmin. When we open the phpMyAdmin the main screen is divided into two different screens. If you look at the blue section on the left, you can see the databases that are already present within your blog or website listed and you have a complete direct access.</p>
<p>As every one knows that the database consists of multiple tables, and it is in the tables that database information is recorded. In the blue screen, below any databases you have, it will list any tables in those databases. You can see the database name on the left hand side, the right hand screen opens up with information about that the tables contained in that database, as well as giving you the option of performing several actions. In that section, you will be allowed to perform several actions on each individual table. You can Browse a table to see the individual records. You can see the Structure of a table, and perform certain actions. You can Search for specific keywords in a table. You can easily update such as insert, delete, add, new rows (or fields) in the table. You can delete the contents of a table by clicking on the big red X, you can also delete the complete table.</p>
<p>There are multiple lists of action links at top of the window, you can get into and click on the link structure in the upper left corner to view the database structure. The next link is SQL, and it will open a SQL Query window for entering direct queries to the database. The next link is Search, you can click on it to perform a search. The following link is Query, which also opens a SQL Query window, but provides an easier step-by-step way to make queries. The next link is Export, which you can use to export databases to your local computer. The Import link will import previously exported databases. The Operations link can do a number of other operations, like creating new tables, and copying or renaming databases.</p>
<p>Whenever you return back to the blue section and click on a table name tab, the other screen will now display you the  complete structure of the database table. It will list all the tables fields, along with the type of field, attributes, and other properties. If you scroll down, it will tell you which field is the Primary Key field. It provides lots of other information about the table, and has the same action links at the top of the screen that the database did. In the blue screen, right below the phpMyAdmin name, there is a row of icons. If your want further help with SQL you can click the icon that is for Documentation. It is a box, with SQL inside it. The box with the question mark will get you assistance with phpMyAdmin by clicking on it. The middle box, with the red SQL is another way of opening the SQL Query window. The icon with the Exit and arrow will log you out of phpMyAdmin. Clicking on the house returns you to the main screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/information-about-the-phpmyadmin-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Few Very Common Mysql Errors And Solution</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/few-very-common-mysql-errors-solution/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/few-very-common-mysql-errors-solution/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 12:32:21 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[how to mysql]]></category>
		<category><![CDATA[Mysql Errors]]></category>
		<category><![CDATA[Mysql problem]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=886</guid>
		<description><![CDATA[Some of the main errors that the users usually get while working with MySQL are mentioned below: 1) If a user is getting any of the following error in the php myadmin &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Error: mysql_fetch_array (): supplied argument is not &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/few-very-common-mysql-errors-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some of the main errors that the users usually get while working with MySQL are mentioned below:</p>
<p>1) If a user is getting any of the following error in the php myadmin<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Error: mysql_fetch_array (): supplied argument is not a valid MySQL result resource in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/dbi/mysql.dbi.lib.php on line 118 anxiety_bvlt1<br />
Solution &#8211;&gt; The Database Name: anxiety_bvlt1</p>
<p>a] You have to first check the ownership or the permissions of that perticular database anxiety_bvlt1 in /var/lib/mysql. The ownership should be mysql.mysql and the permission of the folder anxiety_bvlt1 should be 700.<br />
b] The /tmp partition on the server should not be full.</p>
<p>2) Error: You have exceeded the maximum allowed connections.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
a] You must use mysql_connect() instead of mysql_pconnect() as mysql_pconnect() creates persistent connections even when not required causing that error to show up. Please replace mysql_connect() instead of mysql_pconnect() and that will fix your issue.<br />
b] Restart the mysql service on the server.</p>
<p>3) Error: Unable to connect to database ! MySQL said: Access denied for user: &#8216;rads_copp@localhost&#8217; (Using password: YES)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Find the file that has mysql connections set for the installed software. Generally it is a file named config.php or config.inc.php or db.php.<br />
The configuration should be as follows-<br />
$CONFIG['dbserver'] = &#8216;localhost&#8217;; // Your database server<br />
$CONFIG['dbuser'] = &#8216;rads_copp1&#8242;; // Your mysql username prefixed with cpanel username<br />
$CONFIG['dbpass'] = &#8216;mRPlqjnrc9bC&#8217;; // Your mysql password<br />
$CONFIG['dbname'] = &#8216;rads_copp1&#8242;; // Your mysql database name prefixed with cpanel username</p>
<p>In case the above settings are correct then try resetting the password of the MySQL user from root whm &gt; SQL mysql &gt; “Change a User or Database Password”.</p>
<p>4) Accessing the Database remotely<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
a] Use the following settings –<br />
Server Name = IP of the server or domain name<br />
Username = Mysql username<br />
Password = Mysql password<br />
Database = Database name</p>
<p>b] Add ‘%’ sign (without quotes) in cpanel &gt; mysql &gt; access hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/few-very-common-mysql-errors-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to rectify &#8221; Rails application failed to start properly&#8221;</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/how-to-rectify-rails-application-failed-to-start-properly/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/how-to-rectify-rails-application-failed-to-start-properly/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 19:21:45 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[cPanel Hosting]]></category>
		<category><![CDATA[cPanel VPS Hosting]]></category>
		<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[Linux Reseller Hosting]]></category>
		<category><![CDATA[Perl/CGI-Scripts and Programing Languages]]></category>
		<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=458</guid>
		<description><![CDATA[This shows that there is a error somewhere in your rails application. More details about this error can be seen in two ways. They are as follows, 1) Login into your control panel and refer the Error log section. 2) &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/how-to-rectify-rails-application-failed-to-start-properly/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This shows that there is a error somewhere in your rails application. More details about this error can be seen in two ways. They are as follows,</p>
<p>1) Login into your control panel and refer the Error log section.</p>
<p>2) Follow this path :- RAILS_APP/log/</p>
<p>Genrally you will get more  appropriate information if you refer rails log directory. There are different files which are stored in there and it will depend upon the mode that you selected while you logged in.  While using FastCGI wrapper, fastcgi.crash.log is needed. While regular CGI, it&#8217;s a type of log between many others, depending on the mode you&#8217;re in. Genral errors are incorrect database settings and bugs in your code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/how-to-rectify-rails-application-failed-to-start-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allowed memory size of xxxxx bytes exhausted : PHP Fatal error</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/allowed-memory-size-of-xxxxx-bytes-exhausted-php-fatal-error/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/allowed-memory-size-of-xxxxx-bytes-exhausted-php-fatal-error/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 11:07:03 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Fatal Error]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=406</guid>
		<description><![CDATA[Some times you may see the error message like &#8211; “PHP Fatal error:  Allowed memory size of xxxxx bytes exhausted (tried to allocate xxxxxxx bytes) in Unknown on line 0? while accessing some php pages which indicates that those php &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/allowed-memory-size-of-xxxxx-bytes-exhausted-php-fatal-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some times you may see the error message like &#8211; “PHP Fatal error:  Allowed memory size of xxxxx bytes exhausted (tried to allocate xxxxxxx bytes) in Unknown on line 0? while accessing some php pages which indicates that those php files requires more memory for it to execute than the one specified in php.ini file. If the memory_limit value is manipulated in server side php.ini file, it will be applied to all the php files server side.</p>
<p>In order to overcome the error without modifying the server side php.ini file, you need to use the ini_set functionto increase the memory limit inserting the following code in the php file itself. Keep on increasing the memory limit unless the error disappears.</p>
<p><strong>ini_set(”memory_limit”,”64M”);</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/allowed-memory-size-of-xxxxx-bytes-exhausted-php-fatal-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a SPF record and how to change the SPF record ?</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/what-is-a-spf-record-and-how-to-change-the-spf-record/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/what-is-a-spf-record-and-how-to-change-the-spf-record/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 17:59:27 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Cloud Hosting]]></category>
		<category><![CDATA[CMS Hosting]]></category>
		<category><![CDATA[cPanel Hosting]]></category>
		<category><![CDATA[Dedicated Servers]]></category>
		<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Reseller Hosting]]></category>
		<category><![CDATA[Semi Dedicated Server]]></category>
		<category><![CDATA[Virtual Private Servers]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>
		<category><![CDATA[Windows Hosting]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=333</guid>
		<description><![CDATA[SPF stands for Standard Policy framework. It is being implemented by many Hosting providers. Hosting providers need a SPF record, so that a email can go through their network. It is an attempt made to control bounce back emails. It &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/what-is-a-spf-record-and-how-to-change-the-spf-record/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>SPF stands for Standard Policy framework. It is being implemented by many Hosting providers. Hosting providers need a SPF record, so that a email can go through their network. It is an attempt made to control bounce back emails. It allows the e-mail address owner to specify the mail servers which will be used to send mail from their respective domain to prevent sender address forgery. The SPF record makes sure the Remote email server will allow mails on your server from your domain name only. It helps fighting against spam emails. </p>
<p>Its mostly used to create SPF record for a particular domain name so that you will not receive any bounce back emails that are not sent by you. The SPF record can be setup and managed for the respective domain name from<br />
cPanel -> Email Authentication..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/what-is-a-spf-record-and-how-to-change-the-spf-record/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to edit the date.timezone value in PHP?</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/how-to-edit-the-date-timezone-value-in-php/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/how-to-edit-the-date-timezone-value-in-php/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:02:32 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=255</guid>
		<description><![CDATA[Some time your PHP scripts doesn&#8217;t show the right time, the reason behind not showing the right time  is  probably your hosting server could be in a different timezone. This can be easily resolved by changing a setting in PHP called &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/how-to-edit-the-date-timezone-value-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><span style="font-size: medium;"><span style="line-height: 24px;"></p>
<div id="_mcePaste">Some time your PHP scripts doesn&#8217;t show the right time, the reason behind not showing the right time  is  probably your hosting server could be in a different timezone. This can be easily resolved by changing a setting in PHP called date.timezone.</div>
<div></div>
<div id="_mcePaste">It purely depending on the location, with the appropriate changes we can set a specific date.timezone value in PHP using the following option which should be added to your local php.ini file:</div>
<div></div>
<div>date.timezone = &#8220;UK/Central&#8221;</div>
<div></div>
<div>The above example assumes you&#8217;d like to set the timezone for your PHP scripts to US/Central. The full list of supported time zones is available here and you should simply replace &#8221;UK/Central&#8221; with the desired timezone.</div>
<p></span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/how-to-edit-the-date-timezone-value-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpBB Hosting</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/phpbb-hosting/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/phpbb-hosting/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 10:38:18 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[ASP MSSQL Windows Hosting]]></category>
		<category><![CDATA[ASP.NET Hosting]]></category>
		<category><![CDATA[cPanel Hosting]]></category>
		<category><![CDATA[cPanel VPS Hosting]]></category>
		<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[Linux Reseller Hosting]]></category>
		<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Reseller Hosting]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>
		<category><![CDATA[Windows Hosting]]></category>
		<category><![CDATA[Windows Reseller Hosting]]></category>
		<category><![CDATA[Best phpBB Hosting]]></category>
		<category><![CDATA[Cheap phpBB Hosting]]></category>
		<category><![CDATA[phpBB Forum Hosting]]></category>
		<category><![CDATA[phpBB Hosting]]></category>
		<category><![CDATA[phpBB Web Hosting]]></category>
		<category><![CDATA[UK phpBB Hosting]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=207</guid>
		<description><![CDATA[phpBB Forum Hosting phpBB is the most popular open source forum/message/bulletin board software available on the Internet. phpBB has a user-friendly interface, simple and straightforward administration panel, and helpful FAQ. phpBB forum is easy to install, simple to manage, and &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/phpbb-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>phpBB Forum Hosting</h2>
<p><img src="http://www.webhosting.uk.com/images/phpbb-hosting.jpg" alt="phpbb hosting phpBB Hosting" width="209" height="103" title="phpBB Hosting" /></p>
<p>phpBB is the most popular open source forum/message/bulletin board software available on the Internet. phpBB has a user-friendly interface, simple and straightforward administration panel, and helpful FAQ. phpBB forum is easy to install, simple to manage, and reliable. From it&#8217;s inception in 2000, phpBB has been a great community software with the right balance of features and usability.<br />
phpBB has a key feature set which includes the following, among others:</p>
<ul>
<li>Powerful Permissions System</li>
<li>Private Messaging</li>
<li>Search Functions</li>
<li>Customizable Template and Language System</li>
<li>Multi-database Support</li>
</ul>
<h2>Do you offer <a style="color: #000000" title="phpBB Hosting" href="http://www.webhosting.uk.com/" target="_blank">phpBB hosting</a> ?</h2>
<p>Yes. WebHosting UK offers the best <strong><a style="color: #000000" title="Web Hosting" href="http://www.webhosting.uk.com/" target="_blank">web hosting</a></strong> for phpBB Forum sites with great features, fast and secure servers, multiple add-ons and high quality customer service! phpBB comes standard with every webhosting.uk.com hosting package with both PHP5 and MySQL5 a perfect phpBB hosting environment. Its fully scalable and highly customizable Open Source bulletin board package. phpBB forum can be installed with just one click from our cPanel or DotNetPanel Control Panel with no hassle and no coding experience necessary. phpBB forum can be installed upon client request for all our <strong><a style="color: #000000" title="cPanel Hosting" href="http://www.webhosting.uk.com/cpanel-hosting.php" target="_blank">cPanel hosting</a></strong> and <strong><a style="color: #000000" title="Windows Hosting" href="http://www.webhosting.uk.com/windows-hosting.php" target="_blank">windows hosting</a></strong> customers.</p>
<h2>WebHosting UK phpBB Hosting Features:</h2>
<ul>
<li> Instant phpBB Account Setup</li>
<li> Free phpBB Installation</li>
<li>Great <strong><a style="color: #000000" title="phpBB Tutorials" href="http://www.webhosting.uk.com/phpbb.php" target="_blank">phpbb Tutorials</a></strong></li>
<li> Easy phpBB Account Upgrade</li>
<li> phpBB Optimized <a style="color: #000000" title="Dedicated Servers" href="http://www.webhosting.uk.com/dedicated-servers-web-hosting.php" target="_blank">Servers</a></li>
<li> PHP 5.x and MySQL 5.x</li>
<li> Fantastico auto-installer &#8211; Install phpBB in just a few clicks</li>
<li> Stable, Secure and Reliable phpBB forum hosting service</li>
<li> 99.95% Uptime Guarantee</li>
<li> 30 Day Money Back Guarantee.</li>
<li> Expert technical assistance</li>
</ul>
<h2>Additional phpBB Hosting Services:</h2>
<p>We are proud to host more than 5,000 Forum sites! and we make the process quick, easy and painless for everybody. We provide FREE and professional 24/7 phpBB hosting support. Our Technical Support team has helped setup innumerable such phpBB forums and helped them function with regular upgrades and updates! Use our professional services and let us put our years of experience to work for you. Don&#8217;t be fooled by other hosting providers, we promise the best service, because we can deliver it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/phpbb-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>osCommerce Hosting</title>
		<link>http://www.webhosting.uk.com/web-hosting/faq/oscommerce-hosting/</link>
		<comments>http://www.webhosting.uk.com/web-hosting/faq/oscommerce-hosting/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 13:19:05 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[ASP MSSQL Windows Hosting]]></category>
		<category><![CDATA[ASP.NET Hosting]]></category>
		<category><![CDATA[cPanel Hosting]]></category>
		<category><![CDATA[cPanel VPS Hosting]]></category>
		<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[Linux Reseller Hosting]]></category>
		<category><![CDATA[Managed Web Hosting]]></category>
		<category><![CDATA[PHP MySQL Hosting]]></category>
		<category><![CDATA[Reseller Hosting]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web Hosting PHP MYSQL]]></category>
		<category><![CDATA[Windows Hosting]]></category>
		<category><![CDATA[Windows Reseller Hosting]]></category>
		<category><![CDATA[Best osCommerce Host]]></category>
		<category><![CDATA[Cheap osCommerce Hosting]]></category>
		<category><![CDATA[osCommerce Hosting]]></category>
		<category><![CDATA[osCommerce Hosting UK]]></category>
		<category><![CDATA[osCommerce Web Hosting]]></category>
		<category><![CDATA[osCommerce Website Hosting]]></category>

		<guid isPermaLink="false">http://www.webhosting.uk.com/web-hosting/faq/?p=208</guid>
		<description><![CDATA[osCommerce Website Hosting osCommerce is the most popular open source, front-to-back, on-line shopping cart application that is available for free under the GNU General Public License. It features a rich set of out-of-the-box online shopping cart functionality that allows store &#8230; <a href="http://www.webhosting.uk.com/web-hosting/faq/oscommerce-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>osCommerce Website Hosting</h2>
<p><img src="http://www.webhosting.uk.com/images/oscommerce-web-hosting.jpg" alt="oscommerce web hosting osCommerce Hosting" width="211" height="60" title="osCommerce Hosting" /></p>
<p>osCommerce is the most popular open source, front-to-back, on-line shopping cart application that is available for free under the GNU General Public License. It features a rich set of out-of-the-box online shopping cart functionality that allows store owners to setup, run, and maintain online stores with minimum effort and with no costs, fees, or limitations involved.</p>
<p><img src="http://www.webhosting.uk.com/images/oscommerce-hosting.jpg" alt="oscommerce hosting osCommerce Hosting" width="165" height="269" title="osCommerce Hosting" /></p>
<h2>Do you offer <a style="color: #000000" title="osCommerce Hosting" href="http://www.webhosting.uk.com/" target="_blank">osCommerce Hosting</a> ?</h2>
<p>Yes. WebHosting UK offers you everything that you will need for creating and maintaining your online web store. WebHosting UK offers the best <strong><a style="color: #000000" title="Web Hosting" href="http://www.webhosting.uk.com/" target="_blank">web hosting</a></strong> environment for osCommerce websites with exhaustive features, fast and secure servers, multiple add-ons and high quality customer service! osCommerce comes standard with every webhosting.uk.com hosting package and it can be installed with just one click from cPanel or Plesk Control Panel with no hassle and no coding experience necessary. osCommerce can be installed upon client request for all our <strong><a style="color: #000000" title="cPanel Hosting" href="http://www.webhosting.uk.com/cpanel-hosting.php" target="_blank">cPanel hosting</a></strong> and <strong><a style="color: #000000" title="Windows Hosting" href="http://www.webhosting.uk.com/windows-hosting.php" target="_blank">windows hosting</a></strong> customers.</p>
<p>From the minute you sign up online, you are in complete control. Design your site’s skin, re-direct traffic to your site, manage payments and fulfill all orders from a user-friendly  owner console. With osCommerce, everything is screen-driven. Simply follow the directions, navigate and click to select from a full palette of options and within a couple of hours, you’re not just on-line – you’re in business!</p>
<h2>WebHosting UK osCommerce Hosting Features:</h2>
<ul>
<li> Instant osCommerce Account Setup</li>
<li> Free osCommerce Installation</li>
<li> Great <strong><a style="color: #000000" title="osCommerce Tutorials" href="http://www.webhosting.uk.com/oscommerce.php" target="_blank">osCommerce tutorial</a></strong></li>
<li> Easy osCommerce Account Upgrade</li>
<li> osCommerce Optimized <a style="color: #000000" title="Dedicated Servers" href="http://www.webhosting.uk.com/dedicated-servers-web-hosting.php" target="_blank">Servers</a></li>
<li> Fantastico auto-installer &#8211; Install osCommerce in just a few clicks</li>
<li> Stable, Secure and Reliable osCommerce hosting service</li>
<li> Secure transactions with SSL support.</li>
<li> 99.95% Uptime Guarantee</li>
<li> 30 Day Money Back Guarantee.</li>
<li> Expert technical assistance</li>
</ul>
<h2>Dedicated SSL and IP Address:</h2>
<p>SSL certificate is a must for osCommerce site as it ensures that the confidential information like credit card numbers and bank account information entered by your customers remains secure. All our cPanel and windows osCommerce hosting plans include shared SSL certificate but shared SSL doesn’t look good for big sites with big products. We recommend Dedicated SSL for e-commerce website. We provide dedicated ssl for £39.99 per year with free dedicated ip. Our Technical support team take care of the SSL installation on your website. Each osCommerce hosting plan can have its own Dedicated SSL Certificate and IP address.</p>
<h2>Payment Gateways:</h2>
<p>osCommerce supports number of online payment gateways like 2CheckOut, PayPal, Authorize.net etc. To accept payment from your online osCommerce web store you will need a merchant account from these payment gateways. osCommerce also supports offline payment processing like cheque, money orders, offline credit care processing etc.</p>
<h2>Additional osCommerce Hosting Services:</h2>
<p>Webhosting UK hosts several thousands of websites which work on osCommerce. We provide FREE and professional 24/7 osCommerce Support. Our Technical Support team has helped setup innumerable such websites and helped them function with regular upgrades and updates! Use our professional services and let us put our years of experience to work for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhosting.uk.com/web-hosting/faq/oscommerce-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

