<?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>DIYMacServer &#187; PHP</title>
	<atom:link href="http://diymacserver.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://diymacserver.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 13:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP released 5.3.10</title>
		<link>http://diymacserver.com/2012/02/04/php-released-5-3-10/</link>
		<comments>http://diymacserver.com/2012/02/04/php-released-5-3-10/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 10:43:35 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2206</guid>
		<description><![CDATA[The PHP development team released 5.3.10, it contains a critical security update and I urge you to perform the update. I&#8217;ve successfully tested it on my servers without a noticeable problem. Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830. To see the buglist solved in this release, read them in the ChangeLog. [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP development team released 5.3.10, it contains a critical security update and I urge you to perform the update. I&#8217;ve successfully tested it on my servers without a noticeable problem.</p>
<ul>
<li>Fixed arbitrary remote code execution vulnerability reported by<br />
   Stefan Esser, CVE-2012-0830.
</li>
</ul>
<p>To see the buglist solved in this release, read them in the <a href="http://www.php.net/ChangeLog-5.php#5.3.10">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2012/02/04/php-released-5-3-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP released 5.3.9</title>
		<link>http://diymacserver.com/2012/01/14/php-released-5-3-9/</link>
		<comments>http://diymacserver.com/2012/01/14/php-released-5-3-9/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 20:33:14 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2187</guid>
		<description><![CDATA[The PHP development team released 5.3.9, it is an improvement on the stability and contains some security fixes. I&#8217;ve successfully tested it on my servers without a noticeable problem. Security Enhancements and Fixes in PHP 5.3.9: Added max_input_vars directive to prevent attacks based on hash collisions. (CVE-2011-4885) Fixed bug #60150 (Integer overflow during the parsing [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP development team released 5.3.9, it is an improvement on the stability and contains some security fixes. I&#8217;ve successfully tested it on my servers without a noticeable problem.</p>
<p>Security Enhancements and Fixes in PHP 5.3.9:</p>
<ul>
<li>Added max_input_vars directive to prevent attacks based on hash collisions. (CVE-2011-4885)
</li>
<li>Fixed bug #60150 (Integer overflow during the parsing of invalid exif header). (CVE-2011-4566)
</li>
</ul>
<p>Key enhancements in PHP 5.3.9 include:</p>
<ul>
<li>Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to is_a and is_subclass_of).
</li>
<li>Fixed bug #55609 (mysqlnd cannot be built shared)
</li>
<li>Many changes to the FPM SAPI module
</li>
</ul>
<p>To see the buglist solved in this release, read them in the <a href="http://www.php.net/ChangeLog-5.php#5.3.9">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2012/01/14/php-released-5-3-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP released 5.3.8</title>
		<link>http://diymacserver.com/2011/08/23/php-released-5-3-8/</link>
		<comments>http://diymacserver.com/2011/08/23/php-released-5-3-8/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 20:29:52 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2114</guid>
		<description><![CDATA[The PHP development team just released 5.3.8. It&#8217;s an important bug fix release that solves two new bugs that were introduced in 5.3.7: Fixed bug #55439 (crypt() returns only the salt for MD5) Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283). My advise is [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP development team <a href="http://news.php.net/php.announce/86">just released 5.3.8</a>. It&#8217;s an important bug fix release that solves two new bugs that were introduced in 5.3.7:</p>
<ul>
<li>Fixed bug #55439 (crypt() returns only the salt for MD5)</li>
<li>Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283).</li>
</ul>
<p>My advise is to upgrade as soon as possible. I haven&#8217;t found any problem with this version and I installed it on most of my test and production servers.</p>
<p>To see the buglist solved in this release, read them in the <a href="http://www.php.net/ChangeLog-5.php#5.3.8">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/08/23/php-released-5-3-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP released 5.3.7</title>
		<link>http://diymacserver.com/2011/08/19/php-released-5-3-7/</link>
		<comments>http://diymacserver.com/2011/08/19/php-released-5-3-7/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:21:24 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2109</guid>
		<description><![CDATA[The PHP development team just released 5.3.7. I haven&#8217;t found any problem with this version and I installed it on most of my test and production servers. I would advise you to upgrade as this version solves some security issues. There are a lot of bugs solved in this release, you can read all about [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP development team <a href="http://news.php.net/php.announce/84">just released 5.3.7</a>. I haven&#8217;t found any problem with this version and I installed it on most of my test and production servers. I would advise you to upgrade as this version solves some security issues.</p>
<p>There are a lot of bugs solved in this release, you can read all about them in the <a href="http://www.php.net/ChangeLog-5.php#5.3.7">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/08/19/php-released-5-3-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems after upgrading to Lion</title>
		<link>http://diymacserver.com/2011/07/23/problems-after-upgrading-to-lion/</link>
		<comments>http://diymacserver.com/2011/07/23/problems-after-upgrading-to-lion/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 19:25:26 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Lion]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2036</guid>
		<description><![CDATA[After getting the MAMP stuff out of the way for Lion on my freshly installed VMware based virtual Mac it was time to upgrade my iMac (which I use as my main computer). It all went without any complications (also the blogosphere is quite silent on upgrading woes). First thing I noticed was that my [...]]]></description>
			<content:encoded><![CDATA[<p>After getting the MAMP stuff out of the way for Lion on my freshly installed VMware based virtual Mac it was time to upgrade my iMac (which I use as my main computer). It all went without any complications (also the blogosphere is quite silent on upgrading woes). First thing I noticed was that my local websites weren&#8217;t running and after some examination I found that none of my stuff was working. All the configuration and setup had been removed for MAMP and the mail-server.</p>
<p>So I started recompiling after solving problems with upgrading my version of Xcode. The installer asks you to stop iTunes but it forgets there is an iTunes Helper process still running and you have to quit it manually (e.g. using the Activity Monitor) before it finishes installing.</p>
<p>Everything went all right until I ran into compilation problems with PHP. Which was strange as everything went great on the fresh install of Lion. The error I encountered was: </p>
<pre class="brush: plain; title: ;">/Users/richard/DIYMacServer/php-5.3.6/main/spprintf.c:186: error: static declaration of ‘strnlen’ follows non-static declaration
/usr/include/string.h:143: error: previous declaration of ‘strnlen’ was here
make: *** [main/spprintf.lo] Error 1</pre>
<p>This is even a <a href="https://bugs.php.net/bug.php?id=55172">bug reported at PHP</a>. To me it looked like there was some leftovers from the upgrade and I decided to wipe all the development stuff and install Xcode fresh. To do that you need to type in the following command:</p>
<pre class="brush: plain; title: ;">sudo /Developer/Library/uninstall-devtools --mode=all</pre>
<p>This will run for a while, when done re-install Xcode 4.1 and reboot. When your Mac is up and running again re-compile everything again and then it will work again. I&#8217;ve got my sites back in running mode again. Tomorrow I&#8217;ll start on getting my test mail server up and running again.</p>
<p>This proves again that a fresh install of the OS is much better then an upgrade to get rid of all the unwanted stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/07/23/problems-after-upgrading-to-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First documentation set for Lion</title>
		<link>http://diymacserver.com/2011/07/22/first-documentation-set-for-lion/</link>
		<comments>http://diymacserver.com/2011/07/22/first-documentation-set-for-lion/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 13:44:35 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=2028</guid>
		<description><![CDATA[Alright here is the first result of adapting the instructions to Mac OS X 10.7 aka Lion. First some remarks, to get the quickest results I decided to first do everything in a virtual machine as I wanted to take the time to upgrade my desktop. It was remarkably easy to install Lion as a [...]]]></description>
			<content:encoded><![CDATA[<p>Alright here is the first result of adapting the instructions to Mac OS X 10.7 aka Lion. First some remarks, to get the quickest results I decided to first do everything in a virtual machine as I wanted to take the time to upgrade my desktop. It was remarkably easy to install Lion as a virtual OS using VMWare. First I tried with <a href="/2011/04/05/creating-virtual-macs/">Virtualbox which works with Snow Leopard</a> but that didn&#8217;t work for Lion. So I tried with the current beta of VMWare Fusion which I am currently testing and that one went without any problem. Just do a &#8220;Show Package Contents&#8221; of &#8220;Install Mac OS X Lion&#8221; and copy the file &#8220;InstallESD.dmg&#8221;. Create a new virtual machine and point it to this DMG file for installing and it will install like a regular Mac. If anyone has a regular version of VMWare Fusion 3.1.x can you verify that this works?</p>
<p>Next step was getting XCode on the machine for which I had to use the &#8220;App Store&#8221; but luckily XCode is again free! Everything installed I was ready to go. One of the things I noticed is that I can install everything in 64 bits without needing to explicitly specifying it which we had to do on Snow Leopard. Also note that there is no more 32 bits on Lion! This is why it won&#8217;t run on some of the older Intel Macs.</p>
<p>So if you&#8217;ve already upgraded your Mac to Lion or just have bought a new one and need to install MAMP, that part is no finished. Next step is me taking the time to upgrade my desktop and then attack the mail-server documentation.</p>
<p><a href="/lion/">http://diymacserver.com/lion/</a></p>
<p><strong>Update</strong>: Just got this in my RSS reader, <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=2003715">VMWare 3.1.3 does not support Lion as a guest</a>. The current Beta does so I guess you have to wait till 3.1.4 or join the beta program!</p>
<p>Also found that PostgresSQL 9.0.4 is installed with OS X Lion! There is documentation in /Library/Webserver/Documents and the psql command is available. Let&#8217;s see what we can find out more…</p>
<p>Found this in the official Apple documentation <a href="http://developer.apple.com/library/mac/#releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_7.html%23//apple_ref/doc/uid/TP40010355-SW5">What is new in Mac OS X 10.7</a></p>
<blockquote><p><em><strong>Beginning in Mac OS X v10.7, Mac OS X Server ships with PostgreSQL instead of MySQL as its database server. If you are using other software that requires MySQL, you must install it yourself.</strong></em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/07/22/first-documentation-set-for-lion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP released 5.3.6</title>
		<link>http://diymacserver.com/2011/03/20/php-released-5-3-6/</link>
		<comments>http://diymacserver.com/2011/03/20/php-released-5-3-6/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 13:18:38 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=1736</guid>
		<description><![CDATA[The PHP development team just released 5.3.6. I haven&#8217;t found any problem with this version and I installed it on most of my test servers. There are a lot of bugs solved in this release, you can read all about them in the ChangeLog. For instructions on how to upgrade PHP please read: Upgrading PHP.]]></description>
			<content:encoded><![CDATA[<p>The PHP development team just released 5.3.6. I haven&#8217;t found any problem with this version and I installed it on most of my test servers.</p>
<p>There are a lot of bugs solved in this release, you can read all about them in the <a href="http://www.php.net/ChangeLog-5.php#5.3.6">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/03/20/php-released-5-3-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP released 5.3.5</title>
		<link>http://diymacserver.com/2011/01/12/php-released-5-3-5/</link>
		<comments>http://diymacserver.com/2011/01/12/php-released-5-3-5/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 20:15:37 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=1688</guid>
		<description><![CDATA[The PHP development team already released 5.3.5, I missed it because I didn&#8217;t expect them to update so soon. I haven&#8217;t found any problem yet with this version but I must admit that I haven&#8217;t tried out all the possible variations yet, but will continue to try them all out. There is only one error [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP development team already released 5.3.5, I missed it because I didn&#8217;t expect them to update so soon. I haven&#8217;t found any problem yet with this version but I must admit that I haven&#8217;t tried out all the possible variations yet, but will continue to try them all out. </p>
<p>There is only one error solved in this release s you can read in the <a href="http://www.php.net/ChangeLog-5.php#5.3.5">ChangeLog</a>.</p>
<p>For instructions on how to upgrade PHP please read: <a href="/updating-your-installation/updating-php/">Upgrading PHP</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/01/12/php-released-5-3-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First attempt at using MySQL 5.5.x</title>
		<link>http://diymacserver.com/2011/01/08/first-attempt-at-using-mysql-5-5-x/</link>
		<comments>http://diymacserver.com/2011/01/08/first-attempt-at-using-mysql-5-5-x/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 13:25:00 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=1683</guid>
		<description><![CDATA[It took me a bit longer then I first anticipated but I got most of the setup working on MySQL 5.5.x out of the box. First I struggled a long time at compiling it properly and found out when I had solved it that you no longer need to compile MySQL. Which is excellent news [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a bit longer then I first anticipated but I got most of the setup working on MySQL 5.5.x out of the box. First I struggled a long time at compiling it properly and found out when I had solved it that you no longer need to compile MySQL. Which is excellent news as it simplifies the setup and a lot of the problems I see here from users. </p>
<p>So here is a quick overview of people who are eager to use MySQL 5.5.x, I will update the other stuff over the next few weeks accordingly. By the way I&#8217;ve only done this on Snow Leopard, the Leopard version is only available for Intel, so no more PPC support from MySQL. </p>
<p>First get the binary installer package for MySQL 5.5.x from <a href="http://www.mysql.com/downloads/mysql/">here</a> (I&#8217;ve used 5.5.8) and install only the software (no preference pane or startup item).</p>
<p>If you haven&#8217;t installed Apache yet now is a good time. (<a href="/installing-apache/">Installing Apache</a>) </p>
<p>Next up is PHP, this requires a new compilation instruction. From now on we will use the native MySQL driver for compilation. Which means changing:</p>
<p> <codeblock> &#8211;with-mysql=/usr/local/mysql<br />
  &#8211;with-pdo-mysql=/usr/local/mysql<br />
  &#8211;with-mysqli=/usr/local/mysql/bin/mysql_config </codeblock></p>
<p>into:</p>
<p><codeblock> &#8211;with-mysql=mysqlnd<br />
  &#8211;with-pdo-mysql=mysqlnd<br />
  &#8211;with-mysqli=mysqlnd</codeblock> </p>
<p>In all the compilation instructions found <a href="/installing-php/">here</a> and it all will compile perfectly.</p>
<p>For Postfix and Dovecot we require a bit of a workaround to get it working properly as the MySQL installation does not correctly sets the full library paths. You can see this when you execute the command:</p>
<p><codeblock>otool -DX /usr/local/mysql/lib/libmysqlclient.dylib </codeblock></p>
<p>You can correct it by executing the following command:   </p>
<p><codeblock>sudo install_name_tool -id /usr/local/mysql/lib/libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.dylib</codeblock></p>
<p>If you&#8217;ve done this you can compile Postfix and Dovecot using the existing instructions without any problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/01/08/first-attempt-at-using-mysql-5-5-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>MySQL 5.5.x branch still has issues</title>
		<link>http://diymacserver.com/2011/01/01/mysql-5-5-x-branch-still-has-issues/</link>
		<comments>http://diymacserver.com/2011/01/01/mysql-5-5-x-branch-still-has-issues/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 10:33:54 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://diymacserver.com/?p=1675</guid>
		<description><![CDATA[I&#8217;ve been trying to get the latest release of MySQL working properly and wanted to share some of the progress made. One of the challenges is that they complete redone the build process which now includes the use of cmake in addition to the normal make process. I&#8217;ve got the basics mostly covered but still [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to get the latest release of MySQL working properly and wanted to share some of the progress made. One of the challenges is that they complete redone the build process which now includes the use of <a href="http://www.cmake.org">cmake</a> in addition to the normal make process. I&#8217;ve got the basics mostly covered but still encountered some issues, mostly related to getting PHP to work with this. Which made it difficult for me to even start testing the complete install (as my test are build with PHP for simplicity) and also limited the usefulness of the installation as most of our setup depend on using mysql with other compiled software. I haven&#8217;t even started on getting postfix or dovecot to work with this.</p>
<p>I found some bugs in the mysql bug forum related to these issues like:<br />
<a href="http://bugs.mysql.com/bug.php?id=58987">#58987</a>, <a href="http://bugs.mysql.com/bug.php?id=59006">#59006</a> and <a href="http://bugs.mysql.com/bug.php?id=59236">#59236</a></p>
<p>For the moment I would advise you to keep using MySQL 5.1.x, you can still download the <a href="http://downloads.mysql.com/archives.php?p=mysql-5.1&#038;o=other">5.1.53 source code from the archive</a>.</p>
<p>So I&#8217;m still working on it, and will keep you posted on any progress made.</p>
]]></content:encoded>
			<wfw:commentRss>http://diymacserver.com/2011/01/01/mysql-5-5-x-branch-still-has-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

