{"id":220,"date":"2018-04-18T08:54:16","date_gmt":"2018-04-17T23:54:16","guid":{"rendered":"https:\/\/dong1lkim.oboki.net\/?p=220"},"modified":"2019-09-01T22:21:42","modified_gmt":"2019-09-01T13:21:42","slug":"linux-php-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/oboki.net\/workspace\/system\/linux\/linux-php-%ec%84%a4%ec%b9%98\/","title":{"rendered":"[Linux] php \uc124\uce58"},"content":{"rendered":"<h1>php \uc124\uce58<\/h1>\n<h2>\uc758\uc874 \ub77c\uc774\ube0c\ub7ec\ub9ac<\/h2>\n<ul>\n<li>libxml2-devel<\/li>\n<li>libwebp-devel<\/li>\n<li>libjpeg-devel<\/li>\n<li>libpng-devel<\/li>\n<li>libXpm-devel<\/li>\n<li>libicu-devel<\/li>\n<\/ul>\n<h2>\uc124\uce58<\/h2>\n<h3>1. Configuration<\/h3>\n<pre><code>.\/configure --prefix=\/apps\/php\/7.1.8 \\\n--with-config-file-path=\/apps\/php \\\n--with-config-file-scan-dir=\/apps\/php\/conf.d \\\n--with-apxs2=\/apps\/httpd\/bin\/apxs --with-mysqli \\\n--with-pdo-mysql --enable-calendar \\\n--enable-sockets --enable-sysvsem \\\n--enable-sysvshm --enable-zip --with-zlib \\\n--with-curl=\/apps\/share\/curl --with-gd \\\n--enable-mbstring --with-openssl=\/apps\/share\/openssl \\\n--with-openssl-dir=\/apps\/share\/openssl \\\n--with-jpeg-dir=\/apps\/php\/img_format_dir\/jpeg \\\n--with-png-dir=\/apps\/php\/img_format_dir\/png \\\n--with-xpm-dir=\/apps\/php\/img_format_dir\/xpm \\\n--with-webp-dir=\/apps\/php\/img_format_dir\/webp \\\n--enable-pcntl \\\n--enable-intl\n<\/code><\/pre>\n<h3>2. Build<\/h3>\n<p><code>make<\/code><\/p>\n<h3>3. Install<\/h3>\n<p><code>make install<\/code><\/p>\n<h2>ref<\/h2>\n<p>apxs &#8211; APache eXtenSion \ub3c4\uad6c<br \/>\n<a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/ko\/programs\/apxs.html\"><a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/ko\/programs\/apxs.html\">https:\/\/httpd.apache.org\/docs\/2.2\/ko\/programs\/apxs.html<\/a><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>php \uc124\uce58 \uc758\uc874 \ub77c\uc774\ube0c\ub7ec\ub9ac libxml2-devel libwebp-devel libjpeg-devel libpng-devel libXpm-devel libicu-devel \uc124\uce58 1. Configuration .\/configure &#8211;prefix=\/apps\/php\/7.1.8 \\ &#8211;with-config-file-path=\/apps\/php \\ &#8211;with-config-file-scan-dir=\/apps\/php\/conf.d \\ &#8211;with-apxs2=\/apps\/httpd\/bin\/apxs &#8211;with-mysqli \\ &#8211;with-pdo-mysql &#8211;enable-calendar \\ &#8211;enable-sockets &#8211;enable-sysvsem \\ &#8211;enable-sysvshm &#8211;enable-zip &#8211;with-zlib \\ &#8211;with-curl=\/apps\/share\/curl &#8211;with-gd \\ &#8211;enable-mbstring &#8211;with-openssl=\/apps\/share\/openssl \\ &#8211;with-openssl-dir=\/apps\/share\/openssl \\ &#8211;with-jpeg-dir=\/apps\/php\/img_format_dir\/jpeg \\ &#8211;with-png-dir=\/apps\/php\/img_format_dir\/png \\ &#8211;with-xpm-dir=\/apps\/php\/img_format_dir\/xpm \\ &#8211;with-webp-dir=\/apps\/php\/img_format_dir\/webp \\ &#8211;enable-pcntl \\ &#8211;enable-intl 2. Build make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[83,109],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-php"],"_links":{"self":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":12,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":1274,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/220\/revisions\/1274"}],"wp:attachment":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}