<?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>Karoshi Ethos &#187; Zend Framework</title>
	<atom:link href="http://karoshiethos.com/tag/zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://karoshiethos.com</link>
	<description>Navigating the treacherous waters of interactive technology</description>
	<lastBuildDate>Fri, 11 May 2012 20:46:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Installing PDO_MYSQL on CentOS (the easy way)</title>
		<link>http://karoshiethos.com/2008/07/24/installing-pdo_mysql-on-centos/</link>
		<comments>http://karoshiethos.com/2008/07/24/installing-pdo_mysql-on-centos/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 17:14:56 +0000</pubDate>
		<dc:creator>Rob Ruchte</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Carbon]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://karoshiethos.com/?p=37</guid>
		<description><![CDATA[When deploying LAMP projects, quite often we find ourselves being given access to a newly installed server with distribution-specific default configurations, which are usually very stripped down. Our Carbon Content Management Toolkit, which runs on top of the Zend Framework, uses the PDO_MYSQL driver for data access, along with a few other modules that are [...]]]></description>
			<content:encoded><![CDATA[<p>When deploying LAMP projects, quite often we find ourselves being given access to a newly installed server with distribution-specific default configurations, which are usually very stripped down. Our <a href="http://thirdpartylabs.com/services/cms">Carbon Content Management Toolkit</a>, which runs on top of the <a href="http://framework.zend.com/">Zend Framework</a>, uses the <a href="http://pecl.php.net/package/PDO_MYSQL">PDO_MYSQL</a> driver for data access, along with a few other modules that are typically present in commercial hosting environments, but not always included in an OS's default PHP build.</p>
<p>Getting <a href="http://pear.php.net/">PEAR</a>, <a href="http://pecl.php.net/">PECL</a>, and a build environment set up can be a time consuming process if you do it from scratch. Luckily most OSs these days come with easy to use package management systems that take care of downloading, building, and installing the packages you need, and their dependancies.</p>
<p>Check the <a href="http://en.wikipedia.org/wiki/Package_management_system">package management system</a> entry on Wikipedia if you're unsure about which package system your OS uses. Each one works a little bit differently, but the concepts are the same. You're going to need to set up your OS's version of the following packages in order to make your life easy:</p>
<p>php-devel<br />
php-pear<br />
mysql-devel<br />
httpd-devel</p>
<p>The package names will differ a bit for each system. The following example uses the <a href="http://wiki.centos.org/PackageManagement/Yum">Yum package manager</a> in <a href="http://centos.org/">CentOS</a>, and gets PDO_MYSQL up and running in just a few minutes.</p>
<p><code class="console"># yum install php-devel php-pear mysql-devel httpd-devel<br />
# pecl install pdo<br />
# PHP_PDO_SHARED=1 pecl install pdo_mysql</code></p>
<p>Add these lines to php.ini:</p>
<p><code class="console">extension=pdo.so<br />
extension=pdo_mysql.so</code></p>
<p>Now restart Apache, and you should see your PDO modules in phpinfo(), Robert's your father's brother.<br />
<code class="console"># apachectl restart</code></p>
<p>If you need to actually <a href="http://www.php.net/manual/en/install.unix.php">make a custom PHP build</a>, you should have everything you need to do that after installing the devel packages. You still may need to build any dependancies that your custom PHP build requires, but your package system should make that fairly easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://karoshiethos.com/2008/07/24/installing-pdo_mysql-on-centos/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

