<?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 htaccess - TsupamaN.com</title>
	<atom:link href="https://www.tsupaman.com/tag/%E0%B9%80%E0%B8%9B%E0%B8%A5%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%99%E0%B9%80%E0%B8%A7%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%8A%E0%B8%B1%E0%B9%88%E0%B8%99-php-htaccess/feed" rel="self" type="application/rss+xml" />
	<link>https://www.tsupaman.com/tag/เปลี่ยนเวอร์ชั่น-php-htaccess</link>
	<description>ทำเว็บไซต์ด้วย Wordpress</description>
	<lastBuildDate>Fri, 22 Jun 2018 07:53:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>วิธีเปลี่ยน PHP Version ให้เว็บไซต์บน DirectAdmin</title>
		<link>https://www.tsupaman.com/2018/06/directadmin-change-php-version</link>
		
		<dc:creator><![CDATA[TsupamaN]]></dc:creator>
		<pubDate>Fri, 22 Jun 2018 07:52:32 +0000</pubDate>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[php htaccess]]></category>
		<category><![CDATA[เปลี่ยนเวอร์ชั่น php]]></category>
		<category><![CDATA[เปลี่ยนเวอร์ชั่น php directadmin]]></category>
		<category><![CDATA[เปลี่ยนเวอร์ชั่น php htaccess]]></category>
		<category><![CDATA[เวอร์ชั่น PHP]]></category>
		<category><![CDATA[เวอร์ชั่น php htaccess]]></category>
		<guid isPermaLink="false">https://www.tsupaman.com/?p=3111</guid>

					<description><![CDATA[<p>เทคโนโลยีทุกวันนี้ไปเร็วมากครับ การพัฒนาอะไรต่างๆ บางอย่างก็ใช้ความรู้เก่าๆ เดิมๆ เช่น การเขียนเว็บ การเขียนสคริปต์ เขียนโปรแกรมต่างๆ เป็นอีกปัญหาของนักพัฒนา ที่เมื่อทำงานเสร็จแล้ว ยังต้องมาติดตั้งโปรแกรมลงบนโฮสเซิร์ฟเวอร์ ซึ่งอาจจะเจอปัญหามากมาย ในบทความนี้ขอยกหนึ่งปัญหาที่จะต้องเจอนั่นก็คือ เวอร์ชั่นของ PHP ซึ่งโฮสต่างๆ มักจะอัพเดทเซิร์ฟเวอร์ของตัวเองไปในรุ่นล่าสุด แต่โปรแกรมของนักพัฒนาคนนั้น ยังเป็นเวอร์ชั่นเก่าอยู่ จะทำอย่างไร จึงจำเป็นต้องเปลี่ยนในเวอร์ชั่น PHP ลดถอยลงมาเหมือนเดิม ซึ่งทำได้ดังนี้ วิธีเปลี่ยน PHP Version ให้กับเว็บไซต์บน DirectAdmin Login เข้าหน้า DirectAdmin ก่อน แล้วไปที่เมนู Domain Setup คลิกที่โดเมนที่จะเลือกเปลี่ยนเวอร์ชั่น ด้านล่างวงแดง PHP Version Selector เลือก First PHP เป็นเวอร์ชั่นที่ต้องการครับ โดยส่วนใหญ่ในปัจจุบัน โฮสต่างๆ จะมีให้เลือกเป็น PHP 7.1 หรือ PHP 5.6 ประมาณนี้ครับ ส่วนบางโฮสเก่าๆ [&#8230;]</p>
<p>The post <a href="https://www.tsupaman.com/2018/06/directadmin-change-php-version">วิธีเปลี่ยน PHP Version ให้เว็บไซต์บน DirectAdmin</a> appeared first on <a href="https://www.tsupaman.com">TsupamaN.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>เทคโนโลยีทุกวันนี้ไปเร็วมากครับ การพัฒนาอะไรต่างๆ บางอย่างก็ใช้ความรู้เก่าๆ เดิมๆ เช่น การเขียนเว็บ การเขียนสคริปต์ เขียนโปรแกรมต่างๆ เป็นอีกปัญหาของนักพัฒนา ที่เมื่อทำงานเสร็จแล้ว ยังต้องมาติดตั้งโปรแกรมลงบนโฮสเซิร์ฟเวอร์ ซึ่งอาจจะเจอปัญหามากมาย ในบทความนี้ขอยกหนึ่งปัญหาที่จะต้องเจอนั่นก็คือ <strong>เวอร์ชั่นของ PHP</strong></p>
<p>ซึ่งโฮสต่างๆ มักจะอัพเดทเซิร์ฟเวอร์ของตัวเองไปในรุ่นล่าสุด แต่โปรแกรมของนักพัฒนาคนนั้น ยังเป็นเวอร์ชั่นเก่าอยู่ จะทำอย่างไร จึงจำเป็นต้องเปลี่ยนใน<strong>เวอร์ชั่น PHP</strong> ลดถอยลงมาเหมือนเดิม ซึ่งทำได้ดังนี้</p>
<h3>วิธีเปลี่ยน PHP Version ให้กับเว็บไซต์บน DirectAdmin</h3>
<p><a href="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-01.jpg" data-rel="lightbox-gallery-L3Xfo72O" data-rl_title="" data-rl_caption="" title=""><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-3112" src="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-01.jpg" alt="" width="800" height="612" srcset="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-01.jpg 800w, https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-01-300x230.jpg 300w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p style="text-align: center;"><strong>Login เข้าหน้า DirectAdmin</strong> ก่อน แล้วไปที่เมนู <strong>Domain Setup</strong></p>
<p><a href="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-02.jpg" data-rel="lightbox-gallery-L3Xfo72O" data-rl_title="" data-rl_caption="" title=""><img decoding="async" class="aligncenter size-full wp-image-3113" src="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-02.jpg" alt="" width="941" height="466" srcset="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-02.jpg 941w, https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-02-300x149.jpg 300w" sizes="(max-width: 941px) 100vw, 941px" /></a></p>
<p style="text-align: center;">คลิกที่โดเมนที่จะเลือกเปลี่ยนเวอร์ชั่น</p>
<p><a href="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-03.jpg" data-rel="lightbox-gallery-L3Xfo72O" data-rl_title="" data-rl_caption="" title=""><img decoding="async" class="aligncenter size-full wp-image-3114" src="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-03.jpg" alt="" width="800" height="579" srcset="https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-03.jpg 800w, https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-03-300x217.jpg 300w, https://www.tsupaman.com/wp-content/uploads/2018/06/directadmin-change-version-php-03-110x80.jpg 110w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p style="text-align: center;">ด้านล่างวงแดง <strong>PHP Version Selector</strong> เลือก <strong>First PHP</strong> เป็นเวอร์ชั่นที่ต้องการครับ โดยส่วนใหญ่ในปัจจุบัน โฮสต่างๆ จะมีให้<strong>เลือกเป็น PHP 7.1 หรือ PHP 5.6</strong> ประมาณนี้ครับ ส่วนบางโฮสเก่าๆ อาจจะถอยลงไปถึง PHP 5.2 หรือ PHP 5.4 ก็มี ซึ่งไม่แนะนำ เพราะมันเก่ามากๆ การใช้งานต่างๆ ระบบความปลอดภัยจะน้อยมากเช่นกัน</p>
<p>หรือหากไม่อยากมายุ่งกับระบบบนโฮส เพราะหากเปลี่ยนแล้ว มันก็ต้องเปลี่ยนทั้งโดเมน บางทีเราอาจจะต้องใช้ซับโดเมนในเวอร์ชั่นล่าสุด ก็มาเปลี่ยนบน .htaccess เอาก็ได้ครับตามนี้</p>
<pre class="lang:php decode:true">เปลี่ยนไปเป็นเวอร์ชั่น PHP 5.3
AddHandler application/x-httpd-php53 .php

เปลี่ยนไปเป็นเวอร์ชั่น PHP 5.4
AddHandler application/x-httpd-php54 .php

เปลี่ยนไปเป็นเวอร์ชั่น PHP 5.5
AddHandler application/x-httpd-php55 .php

เปลี่ยนไปเป็นเวอร์ชั่น PHP 5.6
AddHandler application/x-httpd-php56 .php

เปลี่ยนไปเป็นเวอร์ชั่น PHP 7
AddHandler application/x-httpd-php7 .php

เปลี่ยนไปเป็นเวอร์ชั่น PHP 7.1
AddHandler application/x-httpd-php71 .php</pre>
<p>&nbsp;</p>
<p>The post <a href="https://www.tsupaman.com/2018/06/directadmin-change-php-version">วิธีเปลี่ยน PHP Version ให้เว็บไซต์บน DirectAdmin</a> appeared first on <a href="https://www.tsupaman.com">TsupamaN.com</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
