{"id":271,"date":"2015-02-19T15:49:08","date_gmt":"2015-02-19T08:49:08","guid":{"rendered":"http:\/\/www.st.ac.th\/krubuncha\/?p=271"},"modified":"2021-12-05T21:26:17","modified_gmt":"2021-12-05T14:26:17","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-freebsd-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%ad%e0%b8%b2-mysql-server","status":"publish","type":"post","link":"https:\/\/www.st.ac.th\/krubuncha\/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-freebsd-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%ad%e0%b8%b2-mysql-server\/","title":{"rendered":"\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 FreeBSD \u0e41\u0e1a\u0e1a\u0e44\u0e21\u0e48\u0e40\u0e2d\u0e32 Mysql Server \u0e41\u0e15\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a php-mysql"},"content":{"rendered":"<p>FREEBSD 10.1<br \/>\n************<br \/>\n1. #portsnap fetch<br \/>\n#portsnap extract<br \/>\n#portsnap fetch update<\/p>\n<p>2.cd\u00a0 \/usr\/port\/lang\/perl5.20\/make install clean<\/p>\n<p>3. cd\u00a0 \/usr\/port\/www\/apache24\/make install clean<\/p>\n<p>4. apache24_enable=&#8221;YES&#8221; To \/etc\/rc.conf<\/p>\n<p>5. \/usr\/local\/etc\/rc.d\/apache24 start<\/p>\n<p>6. check html file on web<\/p>\n<p>7. cd\u00a0 \/usr\/port\/lang\/php56\/make install clean<\/p>\n<p>8. cd\u00a0 \/usr\/port\/lang\/php56-extension\/make install clean<\/p>\n<p>9. cd\u00a0 \/usr\/port\/www\/mod_php56\/make install clean<\/p>\n<p>10. insert \/usr\/local\/etc\/apache\/httpd.conf end of file<br \/>\n&lt;FilesMatch &#8220;\\.php$&#8221;&gt;<br \/>\nSetHandler application\/x-httpd-php<br \/>\n&lt;\/FilesMatch&gt;<br \/>\n&lt;FilesMatch &#8220;\\.phps$&#8221;&gt;<br \/>\nSetHandler application\/x-httpd-php-source<br \/>\n&lt;\/FilesMatch&gt;<\/p>\n<p>11. \/usr\/local\/etc\/rc.d\/apache24 restart<\/p>\n<p>12. check phpinfo();<\/p>\n<p>13. check phpinfo(); (Mysql + Mysqli)<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>FREEBSD 10.1 ************ 1. #portsnap fetch #portsnap extract #portsnap fetch update 2.cd\u00a0 \/usr\/port\/lang\/perl5.20\/make install clean 3. cd\u00a0 \/usr\/port\/www\/apache24\/make install clean 4. apache24_enable=&#8221;YES&#8221; To \/etc\/rc.conf 5. <a class=\"mh-excerpt-more\" href=\"https:\/\/www.st.ac.th\/krubuncha\/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-freebsd-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%ad%e0%b8%b2-mysql-server\/\" title=\"\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 FreeBSD \u0e41\u0e1a\u0e1a\u0e44\u0e21\u0e48\u0e40\u0e2d\u0e32 Mysql Server \u0e41\u0e15\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a php-mysql\">[\u0e2d\u0e48\u0e32\u0e19\u0e15\u0e48\u0e2d]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":523,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?fit=200%2C200&ssl=1","blog_post_layout_featured_media_urls":{"thumbnail":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=150%2C150&ssl=1",150,150,true],"full":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?fit=200%2C200&ssl=1",200,200,false]},"categories_names":{"1":{"name":"\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e2d\u0e23\u0e4c","link":"https:\/\/www.st.ac.th\/krubuncha\/category\/%e0%b8%9a%e0%b8%97%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%84%e0%b8%ad%e0%b8%a1%e0%b8%9e%e0%b8%b4%e0%b8%a7%e0%b9%80%e0%b8%95%e0%b8%ad%e0%b8%ad%e0%b8%a3%e0%b9%8c\/"}},"tags_names":[],"comments_number":0,"wpmagazine_modules_lite_featured_media_urls":{"thumbnail":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=150%2C150&ssl=1",150,150,true],"cvmm-medium":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=200%2C200&ssl=1",200,200,true],"cvmm-medium-plus":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=200%2C200&ssl=1",200,200,true],"cvmm-portrait":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=200%2C200&ssl=1",200,200,true],"cvmm-medium-square":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=200%2C200&ssl=1",200,200,true],"cvmm-large":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=200%2C200&ssl=1",200,200,true],"cvmm-small":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?resize=130%2C95&ssl=1",130,95,true],"full":["https:\/\/i0.wp.com\/www.st.ac.th\/krubuncha\/wp-content\/uploads\/sites\/19\/2015\/02\/cropped-freebsd-logo2-e1470190174543.jpg?fit=200%2C200&ssl=1",200,200,false]},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Mvvj-4n","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":1,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":539,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/posts\/271\/revisions\/539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/media\/523"}],"wp:attachment":[{"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.st.ac.th\/krubuncha\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}