<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/tag/php/feed</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Tue, 14 Apr 2026 15:19:05 +0000</lastBuildDate><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>使用WordPress架設自己的部落格</title><link>https://magiclen.org/wordpress-install</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2022/06/shot-09-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/shot-09-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/shot-09-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/shot-09-660x486.png 3x" alt="">
想要架設一個網站在上面分享各式各樣的資訊或是記下生活的點點滴滴嗎？雖然現在不太流行了，但部落格在社群平台還沒開始火起來之前可是很多人在使用的，當年交換無名小站或痞客邦的帳號就像是現在互換Facebook、Instagram一樣，沒有部落格可就跟不上流行了。作為一款西元2003年就開始的免費PHP論壇程式，WordPress時至今日已成為最受歡迎的網站內容管理系統(CMS, Content Mana...]]></description><category>網站應用</category><category>網路相關</category><category>Linux</category><category>Apache</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>WordPress</category><category>資料庫</category><category>部落格</category><guid>https://magiclen.org/wordpress-install</guid><pubDate>Tue, 5 Jul 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用Ubuntu Server架設MySQL伺服器，並於PHP程式中存取MySQL資料庫</title><link>https://magiclen.org/ubuntu-server-mysql-php</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2020/05/shot-49-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/05/shot-49-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/05/shot-49-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/05/shot-49-660x486.png 3x" alt="">
MySQL是一個開源的關聯式資料庫管理系統(Relational Database Management System, RDBMS)，適合用來架設網站。PHP是一種適合用於網站開發的腳本式程式語言，彈性度高，可以直接被嵌入HTML文件中。]]></description><category>研究分享</category><category>網路相關</category><category>Linux</category><category>Linux</category><category>MySQL</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>Ubuntu</category><category>Ubuntu Server</category><category>資料庫</category><category>ss (指令)</category><guid>https://magiclen.org/ubuntu-server-mysql-php</guid><pubDate>Tue, 25 Aug 2020 12:00:38 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用Ubuntu Server透過Nginx伺服器執行PHP程式</title><link>https://magiclen.org/ubuntu-server-nginx-php</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2020/05/shot-19-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/05/shot-19-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/05/shot-19-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/05/shot-19-660x486.png 3x" alt="">
Nginx是一個免費開源且穩定高效的Web伺服器程式，擁有反向代理以及負載平衡的功能，經常作為最前端的伺服器。PHP是一種適合用於網站開發的腳本式程式語言，彈性度高，可以直接被嵌入HTML文件中。Nginx可以透過FastCGI去執行PHP程式，且內建FastCGI快取功能。]]></description><category>研究分享</category><category>網路相關</category><category>Linux</category><category>Linux</category><category>Nginx</category><category>PHP</category><category>Ubuntu</category><category>Ubuntu Server</category><category>php-fpm</category><category>ss (指令)</category><guid>https://magiclen.org/ubuntu-server-nginx-php</guid><pubDate>Tue, 18 Aug 2020 12:00:24 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>安裝 LNAMP Server + phpMyAdmin 在 Linux 系統上輕鬆架設網站</title><link>https://magiclen.org/lnamp</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/05/apache2-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/05/apache2-660x486.png 3x" alt="">
LNAMP是Linux系統上的開源架站組合，從名稱來看，「L」表示「Linux」作業系統，「N」表示「nginx」網頁伺服器，「A」表示「Apache」網頁伺服器，「M」表示「MySQL」資料庫，「P」表示「PHP」程式語言，而phpMyAdmin則是以PHP作為基礎的資料庫管理工具。使用效能較佳的Nginx來處理靜態檔案、反向代理、資源分配，搭配成熟的Apache來處理動態網頁程式，可以比單純使...]]></description><category>網路相關</category><category>Linux</category><category>Apache</category><category>LAMP</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>資料庫</category><guid>https://magiclen.org/lnamp</guid><pubDate>Sat, 19 Mar 2016 09:59:15 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用phpBB架設自己的論壇(討論區)</title><link>https://magiclen.org/phpbb3-install</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2022/06/shot-15-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/shot-15-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/shot-15-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/shot-15-660x486.png 3x" alt="">
想要架設一個網站讓很多人在上面交流資訊嗎？雖然現在不太流行了，但論壇網站(或稱討論區)在社群平台還沒開始火起來之前可是很多人在使用的。作為一款從西元2000年就開始的免費PHP論壇程式，phpBB成熟穩定，而且十分輕巧，著重在論壇的基本功能上，沒有花裡胡哨的設計，它能夠讓使用者在數分鐘之內就建立好一個論壇網站，支援多種語言、外掛以及各式佈景來給使用者套用。就算使用者不會寫任何的程式，也可以架設出一...]]></description><category>網站應用</category><category>網路相關</category><category>Linux</category><category>Apache</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>phpBB</category><category>論壇</category><category>資料庫</category><guid>https://magiclen.org/phpbb3-install</guid><pubDate>Thu, 19 Mar 2015 01:19:22 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>MagicCrypt─在Java、Android、PHP、Node.js、Rust實現DES/AES加解密，並且能夠互通的函式庫</title><link>https://magiclen.org/aes</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
在使用網路傳輸資料的過程中，即便使用了SSL(Secure Sockets Layer)或是TLS(Transport Layer Security)，傳輸內容還是有可能會遭到破解(如中間人攻擊, MITM)。當傳輸的資料遭到惡意的第三方竊聽，並且成功取得明文(也就是原始資料)，那下場就很慘了。如果要讓傳輸過程更安全的話，那就自行把要傳遞的資料用自己的方式先加密吧！AES(Advanced Enc...]]></description><category>研究分享</category><category>Android</category><category>Java</category><category>PHP</category><category>Rust</category><category>JavaScript</category><category>AES</category><category>Android</category><category>DES</category><category>Java</category><category>JavaScript</category><category>MagicCrypt</category><category>PHP</category><category>node.js</category><category>Rust</category><category>加密</category><category>TypeScript</category><guid>https://magiclen.org/aes</guid><pubDate>Mon, 13 Oct 2014 13:59:02 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>安裝 LAMP Server + phpMyAdmin 在 Linux 系統上輕鬆架設網站</title><link>https://magiclen.org/lamp</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/05/apache2-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/05/apache2-660x486.png 3x" alt="">
LAMP是Linux系統上的開源架站組合，從名稱來看，「L」表示「Linux」作業系統，「A」表示「Apache」網頁伺服器，「M」表示「MySQL」資料庫，「P」表示「PHP」程式語言，而phpMyAdmin則是以PHP作為基礎的資料庫管理工具。這篇文章將要介紹如何在Ubuntu Server上架設網站，選用LAMP Server + phpMyAdmin。二十分鐘內，一個屬於您自己的網頁伺服器...]]></description><category>網路相關</category><category>Linux</category><category>Apache</category><category>LAMP</category><category>Linux</category><category>MySQL</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>資料庫</category><guid>https://magiclen.org/lamp</guid><pubDate>Tue, 12 Aug 2014 05:05:08 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>顯示PHP錯誤訊息 加速偵錯(Debug)效率</title><link>https://magiclen.org/php-debug</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2014/08/shut-0171-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2014/08/shut-0171-220x162.png 1x, https://magiclen.org/wp-content/uploads/2014/08/shut-0171-440x324.png 2x, https://magiclen.org/wp-content/uploads/2014/08/shut-0171-660x486.png 3x" alt="">
在設計PHP網頁的時候常會因為小小的疏失導致整個網頁一片空白，如果沒有PHP的錯誤訊息的話，要找到問題點會變得十分困難。因此，在網頁開發階段，可以設定php.ini，讓PHP顯示出錯誤訊息，加速偵錯(Debug)的效率。]]></description><category>PHP</category><category>PHP</category><guid>https://magiclen.org/php-debug</guid><pubDate>Mon, 11 Aug 2014 14:55:15 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>