<?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>A blog about web development, software business, and WordPress</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:10:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Indunil</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-2/#comment-165516</link>
		<dc:creator>Indunil</dc:creator>
		<pubDate>Mon, 24 Jan 2011 17:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-165516</guid>
		<description>THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU

THANK YOU THANK YOU THANK YOU</description>
		<content:encoded><![CDATA[<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
<p>THANK YOU THANK YOU THANK YOU</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Solstice</title>
		<link>http://w-shadow.com/blog/2008/06/24/how-to-create-a-database-in-cpanel-with-php/comment-page-2/#comment-33320</link>
		<dc:creator>Mike Solstice</dc:creator>
		<pubDate>Mon, 11 Jan 2010 06:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=199#comment-33320</guid>
		<description>THANK YOU THANK YOU THANK YOU!! omg. 2 Weeks of Googling. Posted on 50+ PHP forums. Everywhere I went I get &quot;that&#039;s not possible&quot; (create a db w/o logging into cpanel) but I&#039;ve seen other scripts do it, so I knew it was possible &amp; it is an absolutely essential process to my site as I don&#039;t allow my clients cPanel access to begin with. 

For the record, works &quot;out of the box&quot; on HostGator Reseller. Plugged in a username &amp; password &amp; presto. I about flew out of my chair lol Thank you!!!</description>
		<content:encoded><![CDATA[<p>THANK YOU THANK YOU THANK YOU!! omg. 2 Weeks of Googling. Posted on 50+ PHP forums. Everywhere I went I get &#8220;that&#8217;s not possible&#8221; (create a db w/o logging into cpanel) but I&#8217;ve seen other scripts do it, so I knew it was possible &amp; it is an absolutely essential process to my site as I don&#8217;t allow my clients cPanel access to begin with. </p>
<p>For the record, works &#8220;out of the box&#8221; on HostGator Reseller. Plugged in a username &amp; password &amp; presto. I about flew out of my chair lol Thank you!!!</p>
]]></content:encoded>
	</item>
	<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-2/#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-2/#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>
</channel>
</rss>

