<?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>Sébastien Barbieri's blog &#187; ce</title>
	<atom:link href="http://blog.sbw.be/tag/ce/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sbw.be</link>
	<description>My life, my work, my projects</description>
	<lastBuildDate>Mon, 28 Jun 2010 05:28:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend Server CE &#124; PDO &#124; ubuntu 9.10 &#124; /tmp/mysql.sock</title>
		<link>http://blog.sbw.be/2009/12/11/zend-ce-pdo-ubuntu-mysql/</link>
		<comments>http://blog.sbw.be/2009/12/11/zend-ce-pdo-ubuntu-mysql/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 14:56:50 +0000</pubDate>
		<dc:creator>Sébastien Barbieri</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ce]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.sbw.be/?p=339</guid>
		<description><![CDATA[You are using PDO and Zend Server CE and Ubuntu 9.10
You have a little problem?
This is The solution (thanks to @DwebConsulting).

sudo service mysql stop
sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak
sudo cp /etc/mysql/debian.cnf /etc/mysql/debian.cnf.bak
sudo vim /etc/mysql/my.cnf

replace every line starting with &#8220;socket =&#8221; by &#8220;socket = /tmp/mysql.sock&#8221; 


sudo vim /etc/mysql/debian.cnf

replace every line starting with &#8220;socket =&#8221; by &#8220;socket = /tmp/mysql.sock&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>You are using PDO and Zend Server CE and Ubuntu 9.10</p>
<p>You have a little problem?</p>
<p>This is The solution (thanks to <a href="http://twitter.com/DwebConsulting">@DwebConsulting</a>).</p>
<ol>
<li>sudo service mysql stop</li>
<li>sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak</li>
<li>sudo cp /etc/mysql/debian.cnf /etc/mysql/debian.cnf.bak</li>
<li>sudo vim /etc/mysql/my.cnf
<ol>
<li>replace every line starting with &#8220;socket =&#8221; by &#8220;socket = /tmp/mysql.sock&#8221; </li>
</ol>
</li>
<li>sudo vim /etc/mysql/debian.cnf
<ol>
<li>replace every line starting with &#8220;socket =&#8221; by &#8220;socket = /tmp/mysql.sock&#8221; </li>
</ol>
</li>
<li>sudo service mysql start</li>
</ol>
<p>in the Zend Server CE admin (http://localhost:10081/ZendServer/) > Server Setup > Directives ><br />
Search for default_socket and in mysql and mysqli remove the content of the textarea (empty value => default value used instead)<br />
Then click <strong>Save Changes</strong> and click <strong>Restart PHP</strong></p>
<p>It will work until Zend Server CE bug is fixed (release 5.0).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sbw.be/2009/12/11/zend-ce-pdo-ubuntu-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pear / php update &#8211; pear.php.net is using a unsupported protocal</title>
		<link>http://blog.sbw.be/2009/12/08/pear-php-update-pear-php-net-is-using-a-unsupported-protocal/</link>
		<comments>http://blog.sbw.be/2009/12/08/pear-php-update-pear-php-net-is-using-a-unsupported-protocal/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:16:15 +0000</pubDate>
		<dc:creator>Sébastien Barbieri</dc:creator>
				<category><![CDATA[truc de g33k]]></category>
		<category><![CDATA[ce]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend studio]]></category>

		<guid isPermaLink="false">http://blog.sbw.be/?p=337</guid>
		<description><![CDATA[and you get some wonderful error message such as: Notice: Undefined variable: dorest in PEAR/Command/Install.php on line 1220
Sometimes it happens&#8230;
Solution: locate the .channels/ directory
For ubuntu with Zend-CE 5.2 it&#8217;s in /usr/local/zend/share/pear/.channels/
And delete everything in there

sudo rm /usr/local/zend/share/pear/.channels/*
then do a fresh pear update-channels to reconstruct the serialized cache file in .channels/
sudo pear update-channels
if you also want [...]]]></description>
			<content:encoded><![CDATA[<p>and you get some wonderful error message such as: Notice: Undefined variable: dorest in PEAR/Command/Install.php on line 1220</p>
<p>Sometimes it happens&#8230;</p>
<p>Solution: locate the .channels/ directory<br />
For ubuntu with Zend-CE 5.2 it&#8217;s in /usr/local/zend/share/pear/.channels/</p>
<p>And delete everything in there<br />
<code><br />
sudo rm /usr/local/zend/share/pear/.channels/*</code></p>
<p>then do a fresh pear update-channels to reconstruct the serialized cache file in .channels/</p>
<p><code>sudo pear update-channels</code></p>
<p>if you also want to also install phpunit</p>
<p><code><br />
cd /usr/local/zend/bin/<br />
sudo ./pear channel-discover pear.phpunit.de<br />
sudo ./pear install phpunit/PHPUnit<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sbw.be/2009/12/08/pear-php-update-pear-php-net-is-using-a-unsupported-protocal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
