<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Create a MySQL Database In cPanel With PHP</title>
	<atom:link href="http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/</link>
	<description>Slightly Advanced Computer Stuff (and some magic)</description>
	<lastBuildDate>Sat, 21 Nov 2009 04:22:17 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony Chambers</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-31550</link>
		<dc:creator>Tony Chambers</dc:creator>
		<pubDate>Sun, 20 Sep 2009 16:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-31550</guid>
		<description>Whilst trying this straight out of the box (after editing my username etc) my webpage will not finish loading.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Whilst trying this straight out of the box (after editing my username etc) my webpage will not finish loading.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30763</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Tue, 07 Jul 2009 12:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30763</guid>
		<description>It could be. 

Anyway, what happens is this : the script uses CURL to access the cPanel pages. The problematic line is supposed to make the CURL functions to automatically follow HTTP redirects. You can comment out the line and, assuming that the script doesn&#039;t encounter any redirects while doing whatever you want it to do, it should work fine.</description>
		<content:encoded><![CDATA[<p>It could be. </p>
<p>Anyway, what happens is this : the script uses CURL to access the cPanel pages. The problematic line is supposed to make the CURL functions to automatically follow HTTP redirects. You can comment out the line and, assuming that the script doesn&#8217;t encounter any redirects while doing whatever you want it to do, it should work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30761</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Tue, 07 Jul 2009 07:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30761</guid>
		<description>Hello again

I looked at the php info for my server and safe mode is off. Is this error due to the other part of the error message ie &quot;....an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35&quot;

Thanks</description>
		<content:encoded><![CDATA[<p>Hello again</p>
<p>I looked at the php info for my server and safe mode is off. Is this error due to the other part of the error message ie &#8220;&#8230;.an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35&#8243;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30755</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Mon, 06 Jul 2009 17:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30755</guid>
		<description>This means your server is running PHP in &lt;a href=&quot;http://php.net/manual/en/features.safe-mode.php&quot; rel=&quot;nofollow&quot;&gt;safe mode&lt;/a&gt; which is an obsolete, deprecated and wholly unpleasant mode of operation. 

You could try commenting out the offending line 35 in ecurl.class.php. That should get rid of the error, but I can&#039;t guarantee something else wouldn&#039;t crop up.</description>
		<content:encoded><![CDATA[<p>This means your server is running PHP in <a href="http://php.net/manual/en/features.safe-mode.php" rel="nofollow">safe mode</a> which is an obsolete, deprecated and wholly unpleasant mode of operation. </p>
<p>You could try commenting out the offending line 35 in ecurl.class.php. That should get rid of the error, but I can&#8217;t guarantee something else wouldn&#8217;t crop up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30752</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Mon, 06 Jul 2009 14:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30752</guid>
		<description>Hello again

Today I tried running the script and it runs but it is giving the following message:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35

Can you please tell me what this error is?

Thanks,
Arvind.</description>
		<content:encoded><![CDATA[<p>Hello again</p>
<p>Today I tried running the script and it runs but it is giving the following message:</p>
<p>Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35</p>
<p>Can you please tell me what this error is?</p>
<p>Thanks,<br />
Arvind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30701</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Tue, 30 Jun 2009 13:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30701</guid>
		<description>Hello again,

For your reference I am attaching the relevant portion of the log file below:
It shows a timeout error, is this the issue. Also, how to resolve this. 

Regards,
Arvind

ATTACHED BELOW- Error log from server

error_log:2009-06-30 06:10:22.115 [INFO] [59.92.179.107:1522-0#APVH_aquariusweb.in] ExtConn timed out while processing.
error_log:2009-06-30 06:10:22.115 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] connection to [uds://tmp/lshttpd/APVH_aquariusweb.in_Suphp.sock] on request #0, confirmed: 1, Connection timed out!
error_log:2009-06-30 06:10:22.115 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] [uds://tmp/lshttpd/APVH_aquariusweb.in_Suphp.sock] Request in process stage, fail with 503 
error_log:2009-06-30 06:10:22.121 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] oops! 503 Service Unavailable
error_log:2009-06-30 06:10:22.121 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] Content len: 0, Request line: 
error_log:2009-06-30 06:10:22.121 [INFO] [59.92.179.107:1522-0#APVH_aquariusweb.in] File not found [/home/aquarius/public_html/503.shtml]</description>
		<content:encoded><![CDATA[<p>Hello again,</p>
<p>For your reference I am attaching the relevant portion of the log file below:<br />
It shows a timeout error, is this the issue. Also, how to resolve this. </p>
<p>Regards,<br />
Arvind</p>
<p>ATTACHED BELOW- Error log from server</p>
<p>error_log:2009-06-30 06:10:22.115 [INFO] [59.92.179.107:1522-0#APVH_aquariusweb.in] ExtConn timed out while processing.<br />
error_log:2009-06-30 06:10:22.115 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] connection to [uds://tmp/lshttpd/APVH_aquariusweb.in_Suphp.sock] on request #0, confirmed: 1, Connection timed out!<br />
error_log:2009-06-30 06:10:22.115 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] [uds://tmp/lshttpd/APVH_aquariusweb.in_Suphp.sock] Request in process stage, fail with 503<br />
error_log:2009-06-30 06:10:22.121 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] oops! 503 Service Unavailable<br />
error_log:2009-06-30 06:10:22.121 [NOTICE] [59.92.179.107:1522-0#APVH_aquariusweb.in] Content len: 0, Request line:<br />
error_log:2009-06-30 06:10:22.121 [INFO] [59.92.179.107:1522-0#APVH_aquariusweb.in] File not found [/home/aquarius/public_html/503.shtml]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30699</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Tue, 30 Jun 2009 11:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30699</guid>
		<description>That&#039;s... interesting. I use cPanel 11 myself, so that shouldn&#039;t be a problem. Also, as far as I can tell, there is simply no way to get an infinite loop in the script itself. I&#039;m not so sure about the eCurl library though, so maybe using &lt;a href=&quot;http://blog.5ubliminal.com/posts/elhttpclient-evolution-php-curl-http/&quot; rel=&quot;nofollow&quot;&gt;a newer version of that&lt;/a&gt; might help.

I suspect it&#039;s more likely that the script makes a slow/problematic HTTP request via the eCurl library and so stays blocked forever, waiting for a request that never returns any data.</description>
		<content:encoded><![CDATA[<p>That&#8217;s&#8230; interesting. I use cPanel 11 myself, so that shouldn&#8217;t be a problem. Also, as far as I can tell, there is simply no way to get an infinite loop in the script itself. I&#8217;m not so sure about the eCurl library though, so maybe using <a href="http://blog.5ubliminal.com/posts/elhttpclient-evolution-php-curl-http/" rel="nofollow">a newer version of that</a> might help.</p>
<p>I suspect it&#8217;s more likely that the script makes a slow/problematic HTTP request via the eCurl library and so stays blocked forever, waiting for a request that never returns any data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30698</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Tue, 30 Jun 2009 11:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30698</guid>
		<description>Hello

I tried creating a database using your script, and I get the following error:

 503 Service Unavailable
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!

I contacted my webhost, they tried running the script in Apache, but the script is basically executing in an indefinite loop without doing anything. 

Is there some parameter issue or cpanel version issue here? My host uses CPanel 11.

Regards
Arvind</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I tried creating a database using your script, and I get the following error:</p>
<p> 503 Service Unavailable<br />
The server is temporarily busy, try again later! Powered By LiteSpeed Web Server<br />
LiteSpeed Technologies is not responsible for administration and contents of this web site!</p>
<p>I contacted my webhost, they tried running the script in Apache, but the script is basically executing in an indefinite loop without doing anything. </p>
<p>Is there some parameter issue or cpanel version issue here? My host uses CPanel 11.</p>
<p>Regards<br />
Arvind</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30632</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30632</guid>
		<description>What script, exactly? Assuming you just used the example script, it should always show &lt;em&gt;something&lt;/em&gt; - even if it&#039;s just an error message.

Also, it looks like your site is down. Maybe the script doesn&#039;t work because of that.</description>
		<content:encoded><![CDATA[<p>What script, exactly? Assuming you just used the example script, it should always show <em>something</em> &#8211; even if it&#8217;s just an error message.</p>
<p>Also, it looks like your site is down. Maybe the script doesn&#8217;t work because of that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-1/#comment-30631</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-30631</guid>
		<description>Hello

I am trying to execute the script, but it does not show any message at all, and the browser keeps showing a message on the status bar that &quot; Transferring data from designshack.info&quot;

Please help

Thanks
Arvind</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I am trying to execute the script, but it does not show any message at all, and the browser keeps showing a message on the status bar that &#8221; Transferring data from designshack.info&#8221;</p>
<p>Please help</p>
<p>Thanks<br />
Arvind</p>
]]></content:encoded>
	</item>
</channel>
</rss>
