<?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>PHP &#8211; 這世上 沒有偶然 只有必然</title>
	<atom:link href="https://wordpress.lokidea.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.lokidea.com</link>
	<description>幻幽的小小分享區</description>
	<lastBuildDate>Mon, 16 Dec 2019 11:07:16 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>PHP在linux(Ubuntu)上面做版本切換</title>
		<link>https://wordpress.lokidea.com/1993/php%e5%9c%a8linuxubuntu%e4%b8%8a%e9%9d%a2%e5%81%9a%e7%89%88%e6%9c%ac%e5%88%87%e6%8f%9b/</link>
					<comments>https://wordpress.lokidea.com/1993/php%e5%9c%a8linuxubuntu%e4%b8%8a%e9%9d%a2%e5%81%9a%e7%89%88%e6%9c%ac%e5%88%87%e6%8f%9b/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Mon, 16 Dec 2019 11:07:16 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1993</guid>

					<description><![CDATA[PHP5.6以後，從7.0開始，每次往上0.1版本都有速度提升 最近剛釋出7.4想必也提升了不少速度 大家可以 &#8230; <a href="https://wordpress.lokidea.com/1993/php%e5%9c%a8linuxubuntu%e4%b8%8a%e9%9d%a2%e5%81%9a%e7%89%88%e6%9c%ac%e5%88%87%e6%8f%9b/" class="more-link">閱讀全文 <span class="screen-reader-text">PHP在linux(Ubuntu)上面做版本切換</span></a>]]></description>
										<content:encoded><![CDATA[
<p>PHP5.6以後，從7.0開始，每次往上0.1版本都有速度提升</p>


<p>最近剛釋出7.4想必也提升了不少速度</p>


<p>大家可以參考這篇<br /><a rel="noreferrer noopener" aria-label="The Definitive PHP 5.6, 7.0, 7.1, 7.2 &amp; 7.3 Benchmarks (2019) (在新分頁中開啟)" href="https://kinsta.com/blog/php-benchmarks/" target="_blank">The Definitive PHP 5.6, 7.0, 7.1, 7.2 &amp; 7.3 Benchmarks (2019)</a><br />寫了5.6、7.0、7.1、7.2、7.3的各種CMS平台效能比較</p>


<span id="more-1993"></span>


<p>以上都不是今天重點</p>


<p>今天把一個線上服務從7.0切換到7.3</p>


<p>就找了一下線上資源</p>


<p>發現這一篇很有用<br /><a rel="noreferrer noopener" aria-label="How to Switch between Multiple PHP Version on Ubuntu (在新分頁中開啟)" href="https://tecadmin.net/switch-between-multiple-php-version-on-ubuntu/" target="_blank">How to Switch between Multiple PHP Version on Ubuntu</a></p>


<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Switch From PHP 5.6 => PHP 7.3</p><cite>主要就這三行就可以切換版本了</cite></blockquote>


<pre class="wp-block-code"><code>sudo a2dismod php5.6
sudo a2enmod php7.3
sudo service apache2 restart</code></pre>


<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>下面這段我也還在嘗試</p></blockquote>


<pre class="wp-block-code"><code>sudo update-alternatives --config php</code></pre>


<p>參考資料：</p>


<ul class="wp-block-list"><li><a href="https://stackoverflow.com/questions/42619312/switch-php-versions-on-commandline-ubuntu-16-04" target="_blank" rel="noreferrer noopener" aria-label="apache - Switch php versions on commandline ubuntu 16.04 - Stack Overflow (在新分頁中開啟)">apache &#8211; Switch php versions on commandline ubuntu 16.04 &#8211; Stack Overflow</a></li></ul>


<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1993/php%e5%9c%a8linuxubuntu%e4%b8%8a%e9%9d%a2%e5%81%9a%e7%89%88%e6%9c%ac%e5%88%87%e6%8f%9b/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP判斷http或https的連線</title>
		<link>https://wordpress.lokidea.com/1575/php%e5%88%a4%e6%96%b7http%e6%88%96https%e7%9a%84%e9%80%a3%e7%b7%9a/</link>
					<comments>https://wordpress.lokidea.com/1575/php%e5%88%a4%e6%96%b7http%e6%88%96https%e7%9a%84%e9%80%a3%e7%b7%9a/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Thu, 20 Apr 2017 12:48:13 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[偶然]]></category>
		<category><![CDATA[base_url]]></category>
		<category><![CDATA[codeigniter]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1575</guid>

					<description><![CDATA[Codeigniter 的 base_url 要弄成判斷 http 或是 https 真麻煩 今天找語法就找了 &#8230; <a href="https://wordpress.lokidea.com/1575/php%e5%88%a4%e6%96%b7http%e6%88%96https%e7%9a%84%e9%80%a3%e7%b7%9a/" class="more-link">閱讀全文 <span class="screen-reader-text">PHP判斷http或https的連線</span></a>]]></description>
										<content:encoded><![CDATA[<p>Codeigniter 的 base_url 要弄成判斷 http 或是 https 真麻煩<br />
今天找語法就找了四個版本<br />
一開始找到的版本不知道為何都不生效<br />
今天只想先記錄一下，下次再來研究到底為什麼會這樣<br />
SSL也不是買憑證唷，是用cloudflare提供的<br />
<span id="more-1575"></span></p>
<blockquote>
<hr />
<p>版本一：$root = ($_SERVER[&#8216;SERVER_PORT&#8217;] == 443 ? &#8216;https&#8217; : &#8216;http&#8217;);</p>
<hr />
<p>版本二：$root = &#8220;http&#8221;.((isset($_SERVER[&#8216;HTTPS&#8217;]) &amp;&amp; $_SERVER[&#8216;HTTPS&#8217;] == &#8220;on&#8221;) ? &#8220;s&#8221; : &#8220;&#8221;);</p>
<hr />
<p>版本三：$root = (empty($_SERVER[&#8216;HTTPS&#8217;]) OR strtolower($_SERVER[&#8216;HTTPS&#8217;]) === &#8216;off&#8217;) ? &#8216;http&#8217; : &#8216;https&#8217;;</p></blockquote>
<hr />
<blockquote><p>版本四：<br />
$isSecure = false;<br />
if (isset($_SERVER[&#8216;HTTPS&#8217;]) &amp;&amp; $_SERVER[&#8216;HTTPS&#8217;] == &#8216;on&#8217;) {<br />
$isSecure = true;<br />
}<br />
elseif (!empty($_SERVER[&#8216;HTTP_X_FORWARDED_PROTO&#8217;]) &amp;&amp; $_SERVER[&#8216;HTTP_X_FORWARDED_PROTO&#8217;] == &#8216;https&#8217; || !empty($_SERVER[&#8216;HTTP_X_FORWARDED_SSL&#8217;]) &amp;&amp; $_SERVER[&#8216;HTTP_X_FORWARDED_SSL&#8217;] == &#8216;on&#8217;) {<br />
$isSecure = true;<br />
}<br />
$root = $isSecure ? &#8216;https&#8217; : &#8216;http&#8217;;</p></blockquote>
<p>&nbsp;</p>
<hr />
<p>我也放了一份在 <a href="https://gist.github.com/Barneybook/6bc0a9a6e6056b08d89553648ef12dd3" target="_blank" rel="noopener noreferrer">gist上面</a> 唷<br />
下一篇應該就會解釋這四種方法為什麼可以用，為什麼不能用了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1575/php%e5%88%a4%e6%96%b7http%e6%88%96https%e7%9a%84%e9%80%a3%e7%b7%9a/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>更新ubuntu14.04 -&#062;16.04遇到的問題【345/366】</title>
		<link>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sat, 10 Dec 2016 15:22:37 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[mysql-server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 16.04]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1406</guid>

					<description><![CDATA[之前剛好有機會使用到ubuntu 16.04 發現PHP7變成預設了 今天剛好下午有時間就更新了一下 沒想到光 &#8230; <a href="https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">更新ubuntu14.04 -&#62;16.04遇到的問題【345/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>之前剛好有機會使用到ubuntu 16.04<br />
發現PHP7變成預設了<br />
今天剛好下午有時間就更新了一下<br />
沒想到光是下載更新就花了快兩個小時<br />
<span id="more-1406"></span><br />
更新完比較大的問題只有 mysql-server-5.7沒辦法順利啟動<br />
一開始以為是PHP7沒有支援mysql，結果只是mysql沒有正確啟動<br />
<a href="http://askubuntu.com/questions/777845/mysql-not-working-after-upgrade-from-14-04-to-16-04" target="_blank" rel="noopener noreferrer">MySQL not working after upgrade from 14.04 to 16.04 &#8211; Ask Ubuntu</a><br />
找到這篇<br />
改了my.cnf還是不能啟動<br />
又找了一會就是找不到問題<br />
就重新安裝了mysql-server-5.7<br />
重裝好就跳了訊息說</p>
<blockquote><p>innodb_use_sys_malloc = 1</p></blockquote>
<p>這行設定有問題，砍掉以後就可以正常啟動mysql了<br />
但是&#8230;.<br />
wordpress進來以後<br />
又有一個新問題<br />
就是curl沒有安裝<br />
又跑去google一下<br />
找到兩篇文章</p>
<ul>
<li><a href="http://askubuntu.com/questions/794862/cannot-install-php7-0-curl-on-ubuntu-16-04-php-7" target="_blank" rel="noopener noreferrer">Cannot install php7.0-curl on Ubuntu 16.04 &amp; PHP 7 &#8211; Ask Ubuntu</a></li>
<li><a href="http://askubuntu.com/questions/767551/cannot-install-php-curl-on-ubuntu-16-04-php-7" target="_blank" rel="noopener noreferrer">apache2 &#8211; Cannot install php-curl on Ubuntu 16.04 &amp; PHP 7 &#8211; Ask Ubuntu</a></li>
</ul>
<p>執行了兩個curl的安裝</p>
<blockquote><p>apt-get install php-curl<br />
apt-get install php7.0-curl</p></blockquote>
<p>重啟apache2以後就正常可以使用了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>網頁伺服器的目錄與檔案存取設定【176/366】</title>
		<link>https://wordpress.lokidea.com/1018/%e7%b6%b2%e9%a0%81%e4%bc%ba%e6%9c%8d%e5%99%a8%e7%9a%84%e7%9b%ae%e9%8c%84%e8%88%87%e6%aa%94%e6%a1%88%e5%ad%98%e5%8f%96%e8%a8%ad%e5%ae%9a%e3%80%90176-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/1018/%e7%b6%b2%e9%a0%81%e4%bc%ba%e6%9c%8d%e5%99%a8%e7%9a%84%e7%9b%ae%e9%8c%84%e8%88%87%e6%aa%94%e6%a1%88%e5%ad%98%e5%8f%96%e8%a8%ad%e5%ae%9a%e3%80%90176-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Fri, 24 Jun 2016 04:12:58 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[全端之路]]></category>
		<category><![CDATA[必然]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1018</guid>

					<description><![CDATA[遇到之前剛好改到伺服器上面的檔案與資料夾權限 竟然通通改為777了!~! 為了改回來只好找一下語法 資料夾要改 &#8230; <a href="https://wordpress.lokidea.com/1018/%e7%b6%b2%e9%a0%81%e4%bc%ba%e6%9c%8d%e5%99%a8%e7%9a%84%e7%9b%ae%e9%8c%84%e8%88%87%e6%aa%94%e6%a1%88%e5%ad%98%e5%8f%96%e8%a8%ad%e5%ae%9a%e3%80%90176-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">網頁伺服器的目錄與檔案存取設定【176/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>遇到之前剛好改到伺服器上面的檔案與資料夾權限<br />
竟然通通改為777了!~!<br />
為了改回來只好找一下語法<br />
資料夾要改為755，檔案要改為644<br />
Google了一會~ <a href="http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt">終於有篇文章了</a><br />
<span id="more-1018"></span><br />
因為我用apache<br />
所以看到兩段語法似乎都可以適用</p>
<blockquote><p>find /var/www \<br />
\( -type f -exec chmod ug+rw,o+r {} \; \) , \<br />
\( -type d -exec chmod ug+rwxs,o+rx {} \; \)</p></blockquote>
<p>上面一次做完，下面分兩行執行</p>
<blockquote><p>chmod 755 $(find /var/www -type d)<br />
chmod 644 $(find /var/www -type f)</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1018/%e7%b6%b2%e9%a0%81%e4%bc%ba%e6%9c%8d%e5%99%a8%e7%9a%84%e7%9b%ae%e9%8c%84%e8%88%87%e6%aa%94%e6%a1%88%e5%ad%98%e5%8f%96%e8%a8%ad%e5%ae%9a%e3%80%90176-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[TWAMPd更新] 520再度更新【149/366】</title>
		<link>https://wordpress.lokidea.com/924/twampd%e6%9b%b4%e6%96%b0-520%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%90149-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/924/twampd%e6%9b%b4%e6%96%b0-520%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%90149-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sat, 28 May 2016 15:48:02 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[網路觀察]]></category>
		<category><![CDATA[TWAMPd]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=924</guid>

					<description><![CDATA[因為PHP 7.0.7發佈了 就跑去查一下自己用的環境有沒有更新 就發現TWAMPd又發佈新版本了 520新版 &#8230; <a href="https://wordpress.lokidea.com/924/twampd%e6%9b%b4%e6%96%b0-520%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%90149-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">[TWAMPd更新] 520再度更新【149/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>因為<a href="http://php.net/archive/2016.php#id2016-05-26-1">PHP 7.0.7發佈</a>了<br />
就跑去查一下自己用的環境有沒有更新<br />
就發現<a href="https://drupaltaiwan.org/taxonomy/term/1119" target="_blank" rel="noopener noreferrer">TWAMPd</a>又發佈新版本了<br />
<span id="more-924"></span><br />
<a href="https://drupaltaiwan.org/forum/20160519/11617" target="_blank" rel="noopener noreferrer">520新版</a><br />
環境內建:<br />
Apache v2.4.18<br />
MariaDB v10.1.14<br />
PHP v7.0.6 / 5.6.21 / 5.5.35 / 5.4.45 / 5.3.29<br />
Composer v1.1.1<br />
Drupal v8.1.1 / 7.43 / 6.38<br />
Drupal Console v1.0.0-alpha2<br />
Drush v8.1.2 / 7.3.0 / 6.7.0 / 5.10.0<br />
phpMyAdmin v4.6.0.0<br />
Adminer v4.2.4</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/924/twampd%e6%9b%b4%e6%96%b0-520%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%90149-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>隨便聊聊 part 21【145/366】</title>
		<link>https://wordpress.lokidea.com/905/%e9%9a%a8%e4%be%bf%e8%81%8a%e8%81%8a-part-21%e3%80%90145-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/905/%e9%9a%a8%e4%be%bf%e8%81%8a%e8%81%8a-part-21%e3%80%90145-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Tue, 24 May 2016 13:23:38 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[隨便聊聊]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[閒聊]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=905</guid>

					<description><![CDATA[好久沒有出現這個隨便聊聊了 今天因為對應的文章還在寫 所以先發篇聊聊來擋一下 自己開發PHP 但也對各種技術有 &#8230; <a href="https://wordpress.lokidea.com/905/%e9%9a%a8%e4%be%bf%e8%81%8a%e8%81%8a-part-21%e3%80%90145-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">隨便聊聊 part 21【145/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>好久沒有出現這個隨便聊聊了<br />
今天因為對應的文章還在寫<br />
所以先發篇聊聊來擋一下<br />
<span id="more-905"></span><br />
自己開發PHP<br />
但也對各種技術有興趣<br />
而且PHP開發資源極多<br />
光是把之前介紹的 <a href="https://github.com/ziadoz/awesome-php" target="_blank" rel="noopener noreferrer">Awesome PHP</a><br />
整個repo介紹的東西講一遍<br />
就可以寫一年份的文章了</p>
<hr />
<p>但還是慢慢學吧~!<br />
畢竟程式設計師要學的東西很多呢<br />
PS:<br />
<a href="https://github.com/sindresorhus/awesome" target="_blank" rel="noopener noreferrer">awesome</a><br />
所以下一篇可能會有nodejs的彙整文章之類</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/905/%e9%9a%a8%e4%be%bf%e8%81%8a%e8%81%8a-part-21%e3%80%90145-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vanilla Forums &#8211; PHP開源輕論壇【143/366】</title>
		<link>https://wordpress.lokidea.com/897/vanilla-forums-php%e9%96%8b%e6%ba%90%e8%bc%95%e8%ab%96%e5%a3%87%e3%80%90143-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/897/vanilla-forums-php%e9%96%8b%e6%ba%90%e8%bc%95%e8%ab%96%e5%a3%87%e3%80%90143-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sun, 22 May 2016 09:12:47 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[後端]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[輕論壇]]></category>
		<category><![CDATA[開源]]></category>
		<category><![CDATA[開源輕論壇]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=897</guid>

					<description><![CDATA[今天跟大家介紹一個『輕』論壇開源服務 使用PHP開發的，現在版本是2.2.1 Wiki上面的介紹還滿完整的 官 &#8230; <a href="https://wordpress.lokidea.com/897/vanilla-forums-php%e9%96%8b%e6%ba%90%e8%bc%95%e8%ab%96%e5%a3%87%e3%80%90143-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">Vanilla Forums &#8211; PHP開源輕論壇【143/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>今天跟大家介紹一個『輕』論壇開源服務<br />
使用PHP開發的，現在<a href="https://vanillaforums.org/discussion/32109/vanilla-2-2-1-now-available" target="_blank" rel="noopener noreferrer">版本</a>是2.2.1<br />
<a href="https://en.wikipedia.org/wiki/Vanilla_Forums" target="_blank" rel="noopener noreferrer">Wiki</a>上面的介紹還滿完整的<br />
官方也有提供架設好的服務<br />
基本版一個月199鎂<br />
有提供一個月的試用<br />
<span id="more-897"></span><br />
不過還是可以試看看自己架設<br />
5/7釋出 2.2.1的<a href="https://vanillaforums.org/addon/vanilla-core">版本</a><br />
這個月看能不能架設起來<br />
讓大家可以玩玩看<br />
官方也有之後版本的<a href="https://vanillaforums.org/discussion/31122/roadmap-for-2-3-and-2-4">開發方向</a><br />
<a href="http://vanillaforums.cn/">中文資源</a>也不少<br />
中文的<a href="https://github.com/chuck911/vanilla4china">repo</a>跟英文版好像略為不同<br />
也有<a href="https://vanillaforums.org/addon/vf_zh_tw-locale">官方的中文翻譯</a><br />
歡迎大家能一起來討論呢~!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/897/vanilla-forums-php%e9%96%8b%e6%ba%90%e8%bc%95%e8%ab%96%e5%a3%87%e3%80%90143-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ImageMagick 開源圖像處理函式庫【130/366】</title>
		<link>https://wordpress.lokidea.com/841/imagemagick-%e9%96%8b%e6%ba%90%e5%9c%96%e5%83%8f%e8%99%95%e7%90%86%e5%87%bd%e5%bc%8f%e5%ba%ab%e3%80%90130-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/841/imagemagick-%e9%96%8b%e6%ba%90%e5%9c%96%e5%83%8f%e8%99%95%e7%90%86%e5%87%bd%e5%bc%8f%e5%ba%ab%e3%80%90130-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Mon, 09 May 2016 13:03:31 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[後端]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[開源]]></category>
		<category><![CDATA[圖像處理]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=841</guid>

					<description><![CDATA[前兩天寫了安全相關的問題 今天就來寫寫不小心認識到的函式庫吧 ImageMagick 是個純C的函式庫 官網  &#8230; <a href="https://wordpress.lokidea.com/841/imagemagick-%e9%96%8b%e6%ba%90%e5%9c%96%e5%83%8f%e8%99%95%e7%90%86%e5%87%bd%e5%bc%8f%e5%ba%ab%e3%80%90130-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">ImageMagick 開源圖像處理函式庫【130/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>前兩天寫了安全相關的問題<br />
今天就來寫寫不小心認識到的函式庫吧<br />
ImageMagick 是個純C的函式庫<br />
<a href="https://www.imagemagick.org/script/index.php" target="_blank" rel="noopener noreferrer">官網</a>  <a href="http://git.imagemagick.org/repos/ImageMagick.git" target="_blank" rel="noopener noreferrer">官方repo</a>  <a href="https://github.com/ImageMagick/ImageMagick" target="_blank" rel="noopener noreferrer">github-mirror</a>  <a href="https://gitlab.com/ImageMagick/ImageMagick" target="_blank" rel="noopener noreferrer">gitlab-mirror</a><br />
<span id="more-841"></span><br />
這種程式語言都有相關的串接方式<br />
PHP則是有改寫成 Extension<br />
官方有列出三個PHP相關的串接專案</p>
<ol>
<li><a href="http://www.magickwand.org/" target="_blank" rel="noopener noreferrer">MagickWand</a> for PHP a native PHP-extension to the ImageMagick MagickWand API.</li>
<li><a href="http://pecl.php.net/package/imagick" target="_blank" rel="noopener noreferrer">IMagick</a> is a native PHP extension to create and modify images using the ImageMagick API. Documentation for the extension is available here.</li>
<li><a href="https://github.com/francodacosta/phmagick" target="_blank" rel="noopener noreferrer">phMagick</a> is a wrapper class for ImageMagick, wrapping the most common web image manipulation actions in easy to use functions, but allowing full access to ImageMagick&#8217;s power by issuing system calls to it&#8217;s command-line programs.</li>
</ol>
<p>其他語言就大家自己多多研究了!!<br />
PS:想看更多就期待我有機會寫範例吧</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/841/imagemagick-%e9%96%8b%e6%ba%90%e5%9c%96%e5%83%8f%e8%99%95%e7%90%86%e5%87%bd%e5%bc%8f%e5%ba%ab%e3%80%90130-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>用程式寄信也是挺麻煩的【100/366】</title>
		<link>https://wordpress.lokidea.com/732/%e7%94%a8%e7%a8%8b%e5%bc%8f%e5%af%84%e4%bf%a1%e4%b9%9f%e6%98%af%e6%8c%ba%e9%ba%bb%e7%85%a9%e7%9a%84%e3%80%90100-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/732/%e7%94%a8%e7%a8%8b%e5%bc%8f%e5%af%84%e4%bf%a1%e4%b9%9f%e6%98%af%e6%8c%ba%e9%ba%bb%e7%85%a9%e7%9a%84%e3%80%90100-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sat, 09 Apr 2016 14:22:13 +0000</pubDate>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[偶然]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[phpmailer]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=732</guid>

					<description><![CDATA[今天又剛好碰到寄信的問題 這邊簡單說一下 寄信應該是可以用程式直接寄出的 但是沒有SMTP似乎挺麻煩的 我是用 &#8230; <a href="https://wordpress.lokidea.com/732/%e7%94%a8%e7%a8%8b%e5%bc%8f%e5%af%84%e4%bf%a1%e4%b9%9f%e6%98%af%e6%8c%ba%e9%ba%bb%e7%85%a9%e7%9a%84%e3%80%90100-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">用程式寄信也是挺麻煩的【100/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>今天又剛好碰到寄信的問題<br />
這邊簡單說一下<br />
寄信應該是可以用程式直接寄出的<br />
但是沒有SMTP似乎挺麻煩的<br />
<span id="more-732"></span><br />
我是用PHPMAILER來寄送信件<br />
用linux的時候，可以直接使用sendmail()這個函數<br />
但是主機環境是IIS的時候就不能直接使用了<br />
只好透過SMTP來寄信了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/732/%e7%94%a8%e7%a8%8b%e5%bc%8f%e5%af%84%e4%bf%a1%e4%b9%9f%e6%98%af%e6%8c%ba%e9%ba%bb%e7%85%a9%e7%9a%84%e3%80%90100-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>TWAMPd愚人節再度更新【96/366】</title>
		<link>https://wordpress.lokidea.com/723/twampd%e6%84%9a%e4%ba%ba%e7%af%80%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%9096-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/723/twampd%e6%84%9a%e4%ba%ba%e7%af%80%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%9096-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Tue, 05 Apr 2016 15:50:54 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[後端]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[網路觀察]]></category>
		<category><![CDATA[TWAMPd]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=723</guid>

					<description><![CDATA[這次應該是配合Drupla 9 dev發佈 雖然我並不是Drupal開發者 但是這個整合包真的很好用 這次愚人 &#8230; <a href="https://wordpress.lokidea.com/723/twampd%e6%84%9a%e4%ba%ba%e7%af%80%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%9096-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">TWAMPd愚人節再度更新【96/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>這次應該是配合Drupla 9 dev發佈<br />
雖然我並不是Drupal開發者<br />
但是這個整合包真的很好用<br />
<span id="more-723"></span><br />
這次愚人節版本<br />
共橫跨5個PHP版本( PHP 7.0.5, 5.6.19, 5.5.34, 5.4.45, 5.3.29)<br />
Drupal 也橫跨4個版本( Drush 5, 6, 7, 8, 9-dev )<br />
內建Composer+TWAMP Closure CLI<br />
重點是不需要安裝，執行後就可以使用<br />
只要注意Port不要被其他程式佔用就可以使用<br />
<a href="https://drupaltaiwan.org/forum/20160401/11610" target="_blank" rel="noopener noreferrer">TWAMP 麻瓜架站包 2016 愚人節版</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/723/twampd%e6%84%9a%e4%ba%ba%e7%af%80%e5%86%8d%e5%ba%a6%e6%9b%b4%e6%96%b0%e3%80%9096-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
