<?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>betweenGo &#187; PHP</title>
	<atom:link href="http://betweengo.com/category/web/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://betweengo.com</link>
	<description>We make Ruby on Rails easy.  We make ATG easy.</description>
	<lastBuildDate>Thu, 24 Jun 2010 19:42:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>phpMyAdmin not starting</title>
		<link>http://betweengo.com/2008/03/05/phpmyadmin-not-starting/</link>
		<comments>http://betweengo.com/2008/03/05/phpmyadmin-not-starting/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 02:25:40 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://betweengo.com/database/mysql/2008/03/05/phpmyadmin-not-starting/</guid>
		<description><![CDATA[Today when I started up phpMyAdmin (version 2.10.0.2) by going to http://localhost/phpMyAdmin I saw this error screen.



phpMyAdmin &#8211; Error



I googled around but could not find any solutions.
So I went and tried to install the latest version of phpMyAdmin, 2.11.5.  When I tried to run setup I saw this error screen.



phpMyAdmin &#8211; Error



Cannot start session [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/04/03/error-in-my_thread_global_end-when-running-rake-dbmigrate/' rel='bookmark' title='Permanent Link: &#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate'>&#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate</a></li>
<li><a href='http://betweengo.com/2008/05/06/apache-not-starting-because-of-skype/' rel='bookmark' title='Permanent Link: Apache not starting because of Skype'>Apache not starting because of Skype</a></li>
<li><a href='http://betweengo.com/2009/09/25/microsoft-windows-vista-error-0x80070091-and-cygwin/' rel='bookmark' title='Permanent Link: Microsoft Windows Vista Error 0&#215;80070091 and Cygwin'>Microsoft Windows Vista Error 0&#215;80070091 and Cygwin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today when I started up phpMyAdmin (version 2.10.0.2) by going to <a href="http://localhost/phpMyAdmin" title="phpMyAdmin">http://localhost/phpMyAdmin</a> I saw this error screen.</p>
<table border="1" bgColor="#ff0000" width="100%" cellPadding="3" borderColor="#ff0000">
<tr>
<td vAlign="middle"><font color="#ffffff"></p>
<h2>phpMyAdmin &#8211; Error</h2>
<p></font></td>
</tr>
</table>
<p>I googled around but could not find any solutions.</p>
<p>So I went and tried to install the latest version of phpMyAdmin, 2.11.5.  When I tried to run <a href="http://localhost/phpMyAdmin/scripts/setup.php">setup</a> I saw this error screen.</p>
<table border="1" bgColor="#ff0000" width="100%" cellPadding="3" borderColor="#ff0000">
<tr>
<td vAlign="middle"><font color="#ffffff"></p>
<h2>phpMyAdmin &#8211; Error</h2>
<p></font></td>
</tr>
<tr bgColor="#ffffff">
<td>Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.</td>
</tr>
</table>
<p>Now that I had an error message to work with I googled around and found this post, <a href="http://www.lost-in-code.com/25/xampp-phpmyadmin-problem/" title="Xampp phpMyAdmin Problem">Xampp phpMyAdmin Problem</a>, which helped me diagnose the problem.</p>
<p>It turns out during one of my cleaning sessions I wiped out the session directory in, &#8220;C:\DOCUME~1\fkim\LOCALS~1\Temp\php\session.&#8221;  After restoring it I ran into my next problem.</p>
<table border="1" bgColor="#ff0000" width="100%" cellPadding="3" borderColor="#ff0000">
<tr>
<td vAlign="middle"><font color="#ffffff"></p>
<h2>phpMyAdmin &#8211; Error</h2>
<p></font></td>
<td>Cannot load <a href="http://php.net/mysql" target="Documentation" title="PHP: MySQL"><em>mysql</em></a> extension. Please check your PHP configuration. &#8211; <a href="./Documentation.html#faqmysql" target="documentation" title="phpMyAdmin Documentation">Documentation</a></td>
</tr>
</table>
<p>I upgraded to PHP 5.2.5 from 5.2.1 but that did not help.  I installed the mbstring module but that did not help.</p>
<p>Finally I added the PHP extension directory to the path (I had already added the PHP directory to the path) and it finally worked!  My path now includes the following two directories, E:\Program Files\PHP and E:\Program Files\PHP\ext.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/04/03/error-in-my_thread_global_end-when-running-rake-dbmigrate/' rel='bookmark' title='Permanent Link: &#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate'>&#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate</a></li>
<li><a href='http://betweengo.com/2008/05/06/apache-not-starting-because-of-skype/' rel='bookmark' title='Permanent Link: Apache not starting because of Skype'>Apache not starting because of Skype</a></li>
<li><a href='http://betweengo.com/2009/09/25/microsoft-windows-vista-error-0x80070091-and-cygwin/' rel='bookmark' title='Permanent Link: Microsoft Windows Vista Error 0&#215;80070091 and Cygwin'>Microsoft Windows Vista Error 0&#215;80070091 and Cygwin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/03/05/phpmyadmin-not-starting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem connecting to MySQL 4.1 via PHP</title>
		<link>http://betweengo.com/2005/10/26/php-and-mysql-41/</link>
		<comments>http://betweengo.com/2005/10/26/php-and-mysql-41/#comments</comments>
		<pubDate>Thu, 27 Oct 2005 03:00:54 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://betweengo.com/miscellaneous/2005/10/26/php-and-mysql-41/</guid>
		<description><![CDATA[After installing MySQL 4.1 I was unable to connect to the MySQL database via PHP. It turns out this was because I set the root password. I tried instructing MySQL to use the old password encryption method by adding these two lines to my.ini but that did not work.
#Use old password encryption method (needed for [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/04/03/error-in-my_thread_global_end-when-running-rake-dbmigrate/' rel='bookmark' title='Permanent Link: &#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate'>&#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate</a></li>
<li><a href='http://betweengo.com/2008/08/29/microsoft-office-2008-update-1210-will-not-install/' rel='bookmark' title='Permanent Link: Microsoft Office 2008 update 12.1.0 will not install'>Microsoft Office 2008 update 12.1.0 will not install</a></li>
<li><a href='http://betweengo.com/2005/11/08/setting-up-a-windows-ruby-on-rails-environment/' rel='bookmark' title='Permanent Link: Setting up a Windows Ruby on Rails Environment'>Setting up a Windows Ruby on Rails Environment</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After installing MySQL 4.1 I was unable to connect to the MySQL database via PHP. It turns out this was because I set the root password. I tried instructing MySQL to use the old password encryption method by adding these two lines to my.ini but that did not work.</p>
<p>#Use old password encryption method (needed for 4.0 and older clients).<br />
old_passwords</p>
<p>Finally I just uninstalled MySQL 4.1 and reinstalled it without the root password. After doing that everything was fine.</p>
<p>Also I noticed when I uninstalled MySQL 4.0 it did not remove the service. When I installed MySQL 4.1 it complained about the Windows service&#8221;MySQL&#8221; already being there so I had to install the Windows service &#8220;MySQL41&#8243;. Then I uninstalled MySQL 4.1 due to the above issue and it removed the &#8220;MySQL41&#8243; service.</p>
<p>When I installed the second time it thought I was trying to reconfigure the &#8220;MySQL&#8221; service. I instructed the installer to remove the &#8220;MySQL&#8221; service. Then I uninstalled and reinstalled a third time and this time I was able to install the Windows service &#8220;MySQL41&#8243; properly.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/04/03/error-in-my_thread_global_end-when-running-rake-dbmigrate/' rel='bookmark' title='Permanent Link: &#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate'>&#8216;Error in my_thread_global_end()&#8217; when running rake db:migrate</a></li>
<li><a href='http://betweengo.com/2008/08/29/microsoft-office-2008-update-1210-will-not-install/' rel='bookmark' title='Permanent Link: Microsoft Office 2008 update 12.1.0 will not install'>Microsoft Office 2008 update 12.1.0 will not install</a></li>
<li><a href='http://betweengo.com/2005/11/08/setting-up-a-windows-ruby-on-rails-environment/' rel='bookmark' title='Permanent Link: Setting up a Windows Ruby on Rails Environment'>Setting up a Windows Ruby on Rails Environment</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2005/10/26/php-and-mysql-41/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->