<?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: Install PHP5, lighttpd and Imagick on Mac OS X Leopard</title>
	<atom:link href="http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/</link>
	<description>you were expecting someone else?</description>
	<lastBuildDate>Wed, 10 Mar 2010 14:27:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Geoff Allen</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38493</link>
		<dc:creator>Geoff Allen</dc:creator>
		<pubDate>Fri, 27 Feb 2009 22:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38493</guid>
		<description>&lt;p&gt;After:
lighttpd -f /opt/local/etc/lighttpd/lighttpd.conf -D
I get...
2009-02-27 21:58:41: (log.c.97) server started 
2009-02-27 21:58:41: (mod&lt;em&gt;fastcgi.c.924) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 Permission denied 
2009-02-27 21:58:41: (mod&lt;/em&gt;fastcgi.c.1365) [ERROR]: spawning fcgi failed. 
2009-02-27 21:58:41: (server.c.897) Configuration of plugins failed. Going down.&lt;/p&gt;

&lt;p&gt;I have no idea how to fix this, hope you can help, thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>After:
lighttpd -f /opt/local/etc/lighttpd/lighttpd.conf -D
I get&#8230;
2009-02-27 21:58:41: (log.c.97) server started 
2009-02-27 21:58:41: (mod<em>fastcgi.c.924) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 Permission denied 
2009-02-27 21:58:41: (mod</em>fastcgi.c.1365) [ERROR]: spawning fcgi failed. 
2009-02-27 21:58:41: (server.c.897) Configuration of plugins failed. Going down.</p>

<p>I have no idea how to fix this, hope you can help, thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Allen</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38492</link>
		<dc:creator>Geoff Allen</dc:creator>
		<pubDate>Fri, 27 Feb 2009 02:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38492</guid>
		<description>&lt;p&gt;After step 6. I attempt    sudo mate /opt/local/etc/php.ini   but get     sudo: mate: command not found
I&#039;m a bit of a newb...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>After step 6. I attempt    sudo mate /opt/local/etc/php.ini   but get     sudo: mate: command not found
I&#8217;m a bit of a newb&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mitsu Hadeishi</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38491</link>
		<dc:creator>Mitsu Hadeishi</dc:creator>
		<pubDate>Thu, 26 Feb 2009 18:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38491</guid>
		<description>&lt;p&gt;I figured it out.  The problem was I am also loading the php4 module and it is using the same php.ini as php5, so when it attempts to load the imagick.so compiled against php5 it barfs.  The solution to running both side by side will have to be separating the php.ini files somehow.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I figured it out.  The problem was I am also loading the php4 module and it is using the same php.ini as php5, so when it attempts to load the imagick.so compiled against php5 it barfs.  The solution to running both side by side will have to be separating the php.ini files somehow.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mitsu Hadeishi</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38490</link>
		<dc:creator>Mitsu Hadeishi</dc:creator>
		<pubDate>Thu, 26 Feb 2009 17:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38490</guid>
		<description>&lt;p&gt;sorry it&#039;s italicizing some of the symbols, above.  The symbol not found is underscore zend underscore ce underscore iterator.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>sorry it&#8217;s italicizing some of the symbols, above.  The symbol not found is underscore zend underscore ce underscore iterator.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mitsu Hadeishi</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38489</link>
		<dc:creator>Mitsu Hadeishi</dc:creator>
		<pubDate>Thu, 26 Feb 2009 17:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38489</guid>
		<description>&lt;p&gt;I&#039;ve been struggling with this for a few days ... I found your instructions and hoped my problems were over.  But, using the current version of php5 and ImageMagick on MacPorts and the imagick php5 plugin, I get the following error in the server log when I try to start up:&lt;/p&gt;

&lt;p&gt;dyld: NSLinkModule() error
dyld: Symbol not found: &lt;em&gt;zend&lt;/em&gt;ce_iterator
  Referenced from: /opt/local/lib/php/extensions/imagick.so
  Expected in: flat namespace&lt;/p&gt;

&lt;p&gt;I&#039;m thinking that someone got rid of zend&lt;em&gt;ce&lt;/em&gt;iterator in the latest php5, or I might have some binding error, or maybe my ImageMagick compiled against the wrong headers (I also have php4 installed?)  Any ideas?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been struggling with this for a few days &#8230; I found your instructions and hoped my problems were over.  But, using the current version of php5 and ImageMagick on MacPorts and the imagick php5 plugin, I get the following error in the server log when I try to start up:</p>

<p>dyld: NSLinkModule() error
dyld: Symbol not found: <em>zend</em>ce_iterator
  Referenced from: /opt/local/lib/php/extensions/imagick.so
  Expected in: flat namespace</p>

<p>I&#8217;m thinking that someone got rid of zend<em>ce</em>iterator in the latest php5, or I might have some binding error, or maybe my ImageMagick compiled against the wrong headers (I also have php4 installed?)  Any ideas?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38475</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 08 Feb 2009 17:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38475</guid>
		<description>&lt;p&gt;Are you starting lighttpd using &lt;code&gt;sudo&lt;/code&gt;?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Are you starting lighttpd using <code>sudo</code>?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lee</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38474</link>
		<dc:creator>Daniel Lee</dc:creator>
		<pubDate>Tue, 03 Feb 2009 16:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38474</guid>
		<description>&lt;p&gt;Ok I fixed that issue. Now I don&#039;t know why it isn&#039;t binding any clues why?
can&#039;t bind to port:  80 Permission denied&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ok I fixed that issue. Now I don&#8217;t know why it isn&#8217;t binding any clues why?
can&#8217;t bind to port:  80 Permission denied</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lee</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38473</link>
		<dc:creator>Daniel Lee</dc:creator>
		<pubDate>Tue, 03 Feb 2009 14:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38473</guid>
		<description>&lt;p&gt;When I come to run lighttpd I get this error with the config file.&lt;/p&gt;

&lt;p&gt;Duplicate config variable in conditional 0 global: server.document-root
2009-02-03 14:14:18: (configfile.c.855) source: /opt/local/etc/lighttpd/lighttpd.conf line: 218 pos: 15 parser failed somehow near here: (EOL) &lt;/p&gt;

&lt;p&gt;Do you have any idea what is wrong? I can email you the file if you would like to see. I&#039;m keen to get this running as it is for my dissertation.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>When I come to run lighttpd I get this error with the config file.</p>

<p>Duplicate config variable in conditional 0 global: server.document-root
2009-02-03 14:14:18: (configfile.c.855) source: /opt/local/etc/lighttpd/lighttpd.conf line: 218 pos: 15 parser failed somehow near here: (EOL) </p>

<p>Do you have any idea what is wrong? I can email you the file if you would like to see. I&#8217;m keen to get this running as it is for my dissertation.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38466</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Thu, 15 Jan 2009 19:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38466</guid>
		<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have followed your steps, but i have this problem :&lt;/p&gt;

&lt;p&gt;&quot;opening pid-file failed: /opt/local/var/run/lighttpd.pid Permission denied&quot;&lt;/p&gt;

&lt;p&gt;Someone known which permission i must modified ?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>

<p>I have followed your steps, but i have this problem :</p>

<p>&#8220;opening pid-file failed: /opt/local/var/run/lighttpd.pid Permission denied&#8221;</p>

<p>Someone known which permission i must modified ?</p>

<p>Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Hon-Yu Lawrence Cheung</title>
		<link>http://davidwinter.me.uk/articles/2008/11/22/php5-lighttpd-and-imagick-on-mac-os-x-leopard/comment-page-1/#comment-38459</link>
		<dc:creator>Hon-Yu Lawrence Cheung</dc:creator>
		<pubDate>Sun, 28 Dec 2008 17:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://davidwinter.me.uk/?p=101#comment-38459</guid>
		<description>&lt;p&gt;Mac OS X Leopard 10.5.6, Mac port 1.7.0, Perl 5.8.8, PHP5.2.8,
ImageMagick 6.4.8, gwak 3.1.6, re2c 0.13.5&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;install php5 from Macport with variants&lt;/p&gt;

&lt;p&gt;$ sudo port -v install php5 +fastcgi +mysql5 + pear +readline&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;install ImageMagick from Macport with variants&lt;/p&gt;

&lt;p&gt;$ sudo port -v install ImageMagick +no_x11 +perl +q32 +hdri +jpeg&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;install gawk from Macport&lt;/p&gt;

&lt;p&gt;$ sudo port -v install gawk&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;install re2c from Macport&lt;/p&gt;

&lt;p&gt;$ sudo port -v install 0.13.5&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Everything is ok , now can build library&lt;/p&gt;

&lt;p&gt;$ sudo pecl install imagick&lt;/p&gt;

&lt;p&gt;The config script will ask for location of ImageMagick, I answer:
[/opt/local]&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The following statement appears after process complete.&lt;/p&gt;

&lt;p&gt;Build process completed successfully
Installing &#039;/opt/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so&#039;
install ok: channel://pecl.php.net/imagick-2.2.1
configuration option &quot;php_ini&quot; is not set to php.ini location&lt;/p&gt;

&lt;p&gt;You should add &quot;extension=imagick.so&quot; to php.ini&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Edit /opt/local/etc/php.ini for ImageMagick extension&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>Mac OS X Leopard 10.5.6, Mac port 1.7.0, Perl 5.8.8, PHP5.2.8,
ImageMagick 6.4.8, gwak 3.1.6, re2c 0.13.5</p>

<ol>
<li><p>install php5 from Macport with variants</p>

<p>$ sudo port -v install php5 +fastcgi +mysql5 + pear +readline</p></li>
<li><p>install ImageMagick from Macport with variants</p>

<p>$ sudo port -v install ImageMagick +no_x11 +perl +q32 +hdri +jpeg</p></li>
<li><p>install gawk from Macport</p>

<p>$ sudo port -v install gawk</p></li>
<li><p>install re2c from Macport</p>

<p>$ sudo port -v install 0.13.5</p></li>
<li><p>Everything is ok , now can build library</p>

<p>$ sudo pecl install imagick</p>

<p>The config script will ask for location of ImageMagick, I answer:
[/opt/local]</p></li>
</ol>

<p>The following statement appears after process complete.</p>

<p>Build process completed successfully
Installing &#8216;/opt/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so&#8217;
install ok: channel://pecl.php.net/imagick-2.2.1
configuration option &#8220;php_ini&#8221; is not set to php.ini location</p>

<p>You should add &#8220;extension=imagick.so&#8221; to php.ini</p>

<ol>
<li>Edit /opt/local/etc/php.ini for ImageMagick extension</li>
</ol>]]></content:encoded>
	</item>
</channel>
</rss>
