{"id":6287,"date":"2015-01-07T10:57:40","date_gmt":"2015-01-07T01:57:40","guid":{"rendered":"http:\/\/www.webshare.co.kr\/?p=6287"},"modified":"2016-02-22T11:57:56","modified_gmt":"2016-02-22T02:57:56","slug":"linuxcentos-php-%ec%86%8c%ec%8a%a4-%ec%bb%b4%ed%8c%8c%ec%9d%bc-%ec%84%a4%ec%b9%98-apache-%ec%bb%b4%ed%8c%8c%ec%9d%bc%ec%84%a4%ec%b9%98-%ec%97%b0%eb%8f%99","status":"publish","type":"post","link":"https:\/\/www.webshare.co.kr\/?p=6287","title":{"rendered":"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9)"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6278\" src=\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png\" alt=\"phplogo-highres\" width=\"1000\" height=\"500\" srcset=\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png 1000w, https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres-300x150.png 300w, https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres-200x100.png 200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc800\ubc88\uc5d0 \ud3ec\uc2a4\ud305\ud55c \uae00\uc911 Apache \uc124\uce58\uc5d0 \uad00\ud55c \uae00\uc774 \uc788\ub294\ub370<\/span><br \/> <span style=\"font-size: 12pt;\">\uadf8 \uae00\uc5d0\uc11c \uc124\uce58\ud55c Apache\uc640 \uc5f0\ub3d9\ub418\ub3c4\ub85d PHP\ub97c \uc18c\uc2a4 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ud3ec\uc2a4\ud305 \ud55c\ub2e4.<\/span><br \/> <span style=\"font-size: 12pt;\">\ud574\ub2f9 \uae00\uc740\u00a0 <span id=\"sample-permalink\" tabindex=\"-1\"><a href=\"https:\/\/www.webshare.co.kr\/?p=6255\">https:\/\/www.webshare.co.kr\/?p=6255<\/a> \uc5d0 \uc788\uc73c\ub2c8 Apache\ub97c \uc124\uce58\ud558\uc9c0 \uc54a\uc558\ub2e4\uba74 \ucc38\uace0\ud558\uae38..<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc774 \uc804\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \ub300\ubd80\ubd84 \ud328\ud0a4\uc9c0\ud30c\uc77c\uc740 \ub0b4 \uc11c\ubc84\uc5d0 \uc62c\ub824\ub193\uace0 \ud574\ub2f9 \ub9c1\ud06c\ub85c \ucee4\ub9e8\ub4dc\ub97c \uc791\uc131\ud558\ub2c8<\/span><br \/> <span style=\"font-size: 12pt;\">\ud544\uc694 \ubc84\uc804\uc758 \ud30c\uc77c\uc740 \ud574\ub2f9 \ubaa8\ub4c8 \ud648\ud398\uc774\uc9c0\ub85c \uc811\uc18d\ud574 \ub2e4\uc6b4\ubc1b\uae38 \ubc14\ub780\ub2e4.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">\ud574\ub2f9 \ud3ec\uc2a4\ud305\uc740 Mysql\uacfc \uc5f0\ub3d9\ud558\uc9c0\uc54a\ub294 \uc21c\uc218 PHP\ub97c \uae30\ubc18\uc73c\ub85c \uc791\uc131\ud588\uace0<\/span><br \/> <span style=\"font-size: 12pt;\">Mysql\uacfc \uc5f0\ub3d9\ud558\ub294\ubd80\ubd84\uc5d0\uc120 \uac19\uc774 \ucc38\uace0\ub85c \uc815\ubcf4\uac00 \uc791\uc131\ub418\uc5b4 \uc788\uc73c\ub2c8 \uc774 \uc5ed\uc2dc \ucc38\uace0\ud558\uae38<br \/> <span style=\"font-size: 10pt;\">&#8211; PHP :\u00a0<a href=\"http:\/\/php.net\/downloads.php\">http:\/\/php.net\/downloads.php<\/a><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uadf8\ub9ac\uace0 \uc774 \uae00\uc744 \uc77d\uae30 \uc804\uc5d0 Mysql\ub3c4 \uc124\uce58\ud560 \uc608\uc815\uc774\ub77c\uba74\u00a0<a title=\"[Linux\/CentOS] Mysql\uc744 \ucef4\ud30c\uc77c\ud574\uc11c \uc124\uce58\ud574\ubcf4\uc790\" href=\"https:\/\/www.webshare.co.kr\/?p=6305\">https:\/\/www.webshare.co.kr\/?p=6305<\/a> \ubd80\ud130 \uc124\uce58\ud560\uac83!<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uac00\uc7a5\uba3c\uc800 \uc758\uc874 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud55c\ub2e4.<\/span><\/p>\n<pre class=\"lang:sh decode:true \"># \ub450\uac1c\ub294 \uac19\uc740 \uba85\ub839\uc5b4\ub2e4. \ud558\ub098\uc529\uce58\ub824\uba74 \uc704, \ud55c\ubc88\uc5d0 \uc124\uce58\ud558\ub824\uba74 \ud558\ub2e8\r\n# \uac1c\ubcc4 \uc124\uce58\r\n$ yum install libxml2-devel\r\n$ yum install bzip2-devel\r\n$ yum install libcurl-devel\r\n$ yum install gdbm-devel\r\n$ yum install libvpx-devel\r\n$ yum install libvpx\r\n$ yum install libjpeg-turbo-devel\r\n$ yum install libpng-devel\r\n$ yum install libXpm libXpm-devel\r\n$ yum install freetype-devel\r\n$ yum install t1lib t1lib-devel\r\n$ yum install gmp-devel\r\n$ yum install libc-client libc-client-devel\r\n$ yum install pam-devel\r\n$ yum install libicu libicu-devel\r\n$ yum install openldap-devel\r\n$ yum install readline-devel\r\n$ yum install libedit-devel\r\n$ yum install libtidy libtidy-devel\r\n$ yum install libxslt libxslt-devel\r\n$ yum install krb5-devel\r\n$ yum install openssl-devel\r\n$ yum install db4-devel\r\n$ yum -y install expat*\r\n\r\n# \ud55c\ubc88\uc5d0 \uc124\uce58\r\nyum -y install libxml2-devel bzip2-devel libcurl-devel gdbm-devel libvpx libvpx-devel libjpeg-turbo-devel libpng-devel libXpm \\\r\nlibXpm-devel freetype-devel t1lib t1lib-devel gmp-devel libc-client libc-client-devel pam-devel libicu libicu-devel openldap-devel \\\r\nreadline-devel libedit-devel libtidy libtidy-devel libxslt libxslt-devel expat* krb5-devel openssl-devel db4-devel\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\ub2e4\uc74c\u00a0libmcrypt\ub97c \uc124\uce58\ud55c\ub2e4. \uadf8\ub9ac\uace0 \uc2ec\ubcfc\uc0dd\uc131\uae4c\uc9c0 \ub9c8\ubb34\ub9ac<\/span><\/p>\n<pre class=\"lang:sh decode:true \">$ wget https:\/\/www.webshare.co.kr\/file\/package\/libmcrypt-2.5.8.tar.gz\r\n$ tar zxvf libmcrypt-2.5.8.tar.gz\r\n$ cd libmcrypt-2.5.8\r\n$ .\/configure\r\n$ make\r\n$ make install\r\n$ ln -s \/usr\/local\/lib\/libmcrypt.so.4 \/usr\/local\/lib64\/libmcrypt.so.4\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\ub9cc\uc57d! <strong>Mysql\uc744 \uc124\uce58\ud588\ub2e4\uba74.. \uc544\ub798 \ucf54\ub4dc\ub97c \ub123\ub294\ub2e4.<\/strong>\u00a0Mysql \ub77c\uc774\ube0c\ub7ec\ub9ac \ucc38\uc870<\/span><\/p>\n<pre class=\"lang:sh decode:true \">$ ln -s \/usr\/local\/mysql\/lib \/usr\/local\/mysql\/lib64<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\ub2e4\uc74c PHP\uc18c\uc2a4\ub97c \ub2e4\uc6b4\ubc1b\ub294\ub2e4.<\/span><\/p>\n<pre class=\"lang:sh decode:true \"># libmcrypt-2.5.8 \ud3f4\ub354\ub85c\ubd80\ud130 \ub2e4\uc2dc \ub098\uc628\ub2e4.\r\n$ cd ..\r\n\r\n# \ud328\ud0a4\uc9c0\ub97c \ubc1b\uace0 \uc900\ube44\r\n$ wget https:\/\/www.webshare.co.kr\/file\/package\/php-5.6.4.tar.gz\r\n$ tar zxvf php-5.6.4.tar.gz\r\n$ cd php-5.6.4\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc774\uc81c PHP\ub97c \uc124\uce58\ud55c\ub2e4<br \/> \uc5ec\uae30\uc11c \uc911\uc694! Mysql\uc744 \uc124\uce58\ud558\uc9c0 \uc54a\uc740\uc0c1\ud0dc\uac70\ub098, \uc124\uce58\ud558\uc9c0 \uc54a\uc744\uac70\ub77c\uba74 \uc8fc\uc11d \ucc98\ub9ac\ub41c\u00a0\ubd80\ubd84\uc740 \uc9c0\uc6b8\uac83<\/span><\/p>\n<pre class=\"lang:sh decode:true \">.\/configure --prefix=\/usr\/local\/php \\\r\n--with-apxs2=\/usr\/local\/apache\/bin\/apxs --with-config-file-path=\/usr\/local\/apache\/conf \\\r\n--with-mysql=\/usr\/local\/mysql --with-mysql-sock=\/var\/mysql \\     # Mysql \ubbf8\uc0ac\uc6a9 \uc0ad\uc81c\r\n--with-mysqli=\/usr\/local\/mysql\/bin\/mysql_config \\                        # Mysql \ubbf8\uc0ac\uc6a9 \uc0ad\uc81c\r\n--with-pdo-mysql=shared,\/usr\/local\/mysql \\                                   # Mysql \ubbf8\uc0ac\uc6a9 \uc0ad\uc81c\r\n--with-regex=php --with-libxml-dir=\/usr \\\r\n--with-openssl --with-pcre-regex \\\r\n--with-zlib --with-bz2 --with-curl \\\r\n--with-gdbm --with-db4=\/usr --with-dbm \\\r\n--with-pcre-dir=\/usr --with-openssl-dir=\/usr \\\r\n--with-libxml-dir=\/usr \\\r\n--with-gd \\\r\n--with-vpx-dir=\/usr --with-jpeg-dir=\/usr --with-png-dir=\/usr \\\r\n--with-zlib-dir=\/usr --with-xpm-dir=\/usr \\\r\n--with-freetype-dir=\/usr --with-t1lib=\/usr \\\r\n--with-gettext --with-gmp --with-mhash \\\r\n--with-imap --with-imap-ssl \\\r\n--with-kerberos \\\r\n--with-icu-dir=\/usr \\\r\n--with-ldap --with-ldap-sasl \\\r\n--with-libmbfl --with-onig \\\r\n--with-mcrypt \\\r\n--with-libedit --with-readline \\\r\n--with-tidy \\\r\n--with-libexpat-dir=\/usr --with-xmlrpc --with-xsl \\\r\n--with-pear --with-pic \\\r\n--with-libdir=lib64 \\\r\n--enable-bcmath --enable-calendar \\\r\n--enable-exif --enable-ftp --enable-pcntl \\\r\n--enable-gd-native-ttf --enable-gd-jis-conv \\\r\n--enable-intl --enable-mbstring \\\r\n--enable-shmop --enable-sockets \\\r\n--enable-sysvmsg --enable-sysvsem --enable-sysvshm \\\r\n--enable-wddx --enable-zip \\\r\n--enable-mysqlnd \\                                                                           # Mysql \ubbf8\uc0ac\uc6a9 \uc0ad\uc81c\r\n--enable-dba=shared --enable-mod-charset \\\r\n--enable-dom --enable-mbregex --enable-inline-optimization \\\r\n--enable-sigchild --enable-soap \\\r\n--enable-maintainer-zts \\\r\n--enable-opcache=no\r\n\r\n# \ub300\ucda9 \uc544\ub798\uc640 \uac19\uc740 \ubb38\uad6c\uac00 \ucc0d\ud788\uba74 \uc124\uc815 \uc644\ub8cc!\r\n... \uc911\ub7b5\r\nThank you for using PHP.\r\n\r\nconfig.status: creating php5.spec\r\nconfig.status: creating main\/build-defs.h\r\nconfig.status: creating scripts\/phpize\r\nconfig.status: creating scripts\/man1\/phpize.1\r\nconfig.status: creating scripts\/php-config\r\nconfig.status: creating scripts\/man1\/php-config.1\r\nconfig.status: creating sapi\/cli\/php.1\r\nconfig.status: creating sapi\/cgi\/php-cgi.1\r\nconfig.status: creating ext\/phar\/phar.1\r\nconfig.status: creating ext\/phar\/phar.phar.1\r\nconfig.status: creating main\/php_config.h\r\nconfig.status: executing default commands\r\n\r\n\r\n$ make\r\n\r\n# \ub300\ub7b5 \uc774\ub7f0 \ub85c\uadf8...\r\nInstalling PHP SAPI module:       apache2handler\r\n\/usr\/local\/apache\/build\/instdso.sh SH_LIBTOOL='\/usr\/local\/apr\/build-1\/libtool' libphp5.la \/usr\/local\/apache\/modules\r\n\/usr\/local\/apr\/build-1\/libtool --mode=install install libphp5.la \/usr\/local\/apache\/modules\/\r\nlibtool: install: install .libs\/libphp5.so \/usr\/local\/apache\/modules\/libphp5.so\r\nlibtool: install: install .libs\/libphp5.lai \/usr\/local\/apache\/modules\/libphp5.la\r\nlibtool: install: warning: remember to run `libtool --finish \/home\/php-5.6.4\/libs'\r\nchmod 755 \/usr\/local\/apache\/modules\/libphp5.so\r\n[activating module `php5' in \/usr\/local\/apache\/conf\/httpd.conf]\r\nInstalling shared extensions:     \/usr\/local\/php\/lib\/php\/extensions\/no-debug-zts-20131226\/\r\nInstalling PHP CLI binary:        \/usr\/local\/php\/bin\/\r\nInstalling PHP CLI man page:      \/usr\/local\/php\/php\/man\/man1\/\r\nInstalling PHP CGI binary:        \/usr\/local\/php\/bin\/\r\nInstalling PHP CGI man page:      \/usr\/local\/php\/php\/man\/man1\/\r\nInstalling build environment:     \/usr\/local\/php\/lib\/php\/build\/\r\nInstalling header files:          \/usr\/local\/php\/include\/php\/\r\nInstalling helper programs:       \/usr\/local\/php\/bin\/\r\n  program: phpize\r\n  program: php-config\r\nInstalling man pages:             \/usr\/local\/php\/php\/man\/man1\/\r\n  page: phpize.1\r\n  page: php-config.1\r\nInstalling PEAR environment:      \/usr\/local\/php\/lib\/php\/\r\n[PEAR] Archive_Tar    - already installed: 1.3.12\r\n[PEAR] Console_Getopt - already installed: 1.3.1\r\n[PEAR] Structures_Graph- already installed: 1.0.4\r\n[PEAR] XML_Util       - already installed: 1.2.3\r\n[PEAR] PEAR           - already installed: 1.9.5\r\nWrote PEAR system config file at: \/usr\/local\/php\/etc\/pear.conf\r\nYou may want to add: \/usr\/local\/php\/lib\/php to your php.ini include_path\r\n\/home\/php-5.6.4\/build\/shtool install -c ext\/phar\/phar.phar \/usr\/local\/php\/bin\r\nln -s -f \/usr\/local\/php\/bin\/phar.phar \/usr\/local\/php\/bin\/phar\r\nInstalling PDO headers:          \/usr\/local\/php\/include\/php\/ext\/pdo\/\r\n\r\n# \ub05d\uc73c\ub85c \uc778\uc2a4\ud1a8!\r\n$ make install\r\n#...\uc911\ub7b5 (\uadf8\ub9ac\uace0 \uae38\uc5b4\uc11c \uc0dd\ub7b5)\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc774\ub2e4\uc74c \ud658\uacbd\uc124\uc815\ud574\uc57c \ud558\ub294\ubd80\ubd84\uc774 \uc788\ub294\ub370 \ub2e4\ub978\ubd80\ubd84\uc740 \uc6d0\ud558\ub294\ub300\ub85c \uc124\uc815\ud558\uace0<\/span><br \/> <span style=\"font-size: 12pt;\">\uc6b0\uc120 TImezone\ub9cc \uc138\ud305\ud574\uc8fc\uc790<\/span><\/p>\n<pre class=\"lang:default decode:true \">$ cp php.ini-production \/usr\/local\/apache\/conf\/php.ini \r\n$ vi \/usr\/local\/apache\/conf\/php.ini\r\n\r\ndate.timezone = \"Asia\/Seoul\"\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc790 \uc774\uc81c \uc124\uce58\uac00 \ub05d\ub0ac\uc73c\ub098 \uc798 \uc124\uce58 \ub418\uc788\ub098 \ud655\uc778 \ud574 \ubcf4\uc790<\/span><\/p>\n<pre class=\"lang:default decode:true \">$ vi \/usr\/local\/apache\/conf\/httpd.conf\r\n\r\n# PHP \ubaa8\ub4c8\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \ucd94\uac00\ub418\uc5c8\ub294\uc9c0 \ud655\uc778\r\nLoadModule php5_module        modules\/libphp5.so\r\n\r\n# \ub9c8\uc784\ud0c0\uc785 \ucd94\uac00\r\n\r\n    ... \uc911\ub7b5 ... \r\n    AddType application\/x-httpd-php .php .html \r\n    AddType application\/x-httpd-php-source .phps\r\n\r\n\r\n# index.php \uc5f0\uacb0\r\n\r\n    DirectoryIndex index.php index.html\r\n\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\ub05d\uc73c\ub85c \uc2ec\ubcfc\ub9ad PATH \ub4f1\ub85d\uc744 \ud574\uc8fc\uc790<\/span><\/p>\n<pre class=\"lang:sh decode:true \">$ ln -s \/usr\/local\/php\/bin\/php \/bin\/php\r\n$ ln -s \/usr\/local\/php\/bin\/php-config \/usr\/local\/bin\/php-config\r\n$ ln -s \/usr\/local\/php\/bin\/phpize \/usr\/local\/bin\/phpize\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc124\uce58\uac00 \ub05d\ub0ac\ub2e4.<\/span><br \/> <span style=\"font-size: 12pt;\">\uc774\uc81c \ud14c\uc2a4\ud2b8\uc6a9 \ubb38\uc11c\ub97c \uc791\uc131\ud558\uace0 \ud655\uc778 \ud574 \ubcf4\uc790<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">\/usr\/local\/apache\/htdocs \uc5d0 \uc544\ub798\uc640 \uac19\uc740 \ub0b4\uc6a9\uc73c\ub85c phpinfo.php\ub97c \ub9cc\ub4e4\uc5b4 \uc8fc\uc18c\ucc3d\uc5d0 \ud0c0\uc774\ud551<\/span><\/p>\n<pre class=\"lang:sh decode:true \"><code>$echo \"<!--?php phpinfo(); ?-->\" &gt; \/usr\/local\/apache\/htdocs\/phpinfo.php<\/code>\u00a0<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">\uc5ec\uae30\uae4c\uc9c0\ud574\uc11c \uc815\uc0c1\uc801\uc73c\ub85c info \ud654\uba74\uc774 \ub098\uc628\ub2e4\uba74 \ub05d!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \uc800\ubc88\uc5d0 \ud3ec\uc2a4\ud305\ud55c \uae00\uc911 Apache \uc124\uce58\uc5d0 \uad00\ud55c \uae00\uc774 \uc788\ub294\ub370 \uadf8 \uae00\uc5d0\uc11c \uc124\uce58\ud55c Apache\uc640 \uc5f0\ub3d9\ub418\ub3c4\ub85d PHP\ub97c \uc18c\uc2a4 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ud3ec\uc2a4\ud305 \ud55c\ub2e4. \ud574\ub2f9 \uae00\uc740\u00a0 https:\/\/www.webshare.co.kr\/?p=6255 \uc5d0 \uc788\uc73c\ub2c8 Apache\ub97c \uc124\uce58\ud558\uc9c0 \uc54a\uc558\ub2e4\uba74 \ucc38\uace0\ud558\uae38.. &nbsp; \uc774 \uc804\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \ub300\ubd80\ubd84 \ud328\ud0a4\uc9c0\ud30c\uc77c\uc740 \ub0b4 \uc11c\ubc84\uc5d0 \uc62c\ub824\ub193\uace0 \ud574\ub2f9 \ub9c1\ud06c\ub85c \ucee4\ub9e8\ub4dc\ub97c \uc791\uc131\ud558\ub2c8 \ud544\uc694 \ubc84\uc804\uc758 \ud30c\uc77c\uc740 \ud574\ub2f9 \ubaa8\ub4c8 \ud648\ud398\uc774\uc9c0\ub85c \uc811\uc18d\ud574 \ub2e4\uc6b4\ubc1b\uae38 \ubc14\ub780\ub2e4. \ud574\ub2f9 \ud3ec\uc2a4\ud305\uc740 Mysql\uacfc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[51],"tags":[],"class_list":["post-6287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webshare.co.kr\/?p=6287\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE\" \/>\n<meta property=\"og:description\" content=\"&nbsp; \uc800\ubc88\uc5d0 \ud3ec\uc2a4\ud305\ud55c \uae00\uc911 Apache \uc124\uce58\uc5d0 \uad00\ud55c \uae00\uc774 \uc788\ub294\ub370 \uadf8 \uae00\uc5d0\uc11c \uc124\uce58\ud55c Apache\uc640 \uc5f0\ub3d9\ub418\ub3c4\ub85d PHP\ub97c \uc18c\uc2a4 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ud3ec\uc2a4\ud305 \ud55c\ub2e4. \ud574\ub2f9 \uae00\uc740\u00a0 https:\/\/www.webshare.co.kr\/?p=6255 \uc5d0 \uc788\uc73c\ub2c8 Apache\ub97c \uc124\uce58\ud558\uc9c0 \uc54a\uc558\ub2e4\uba74 \ucc38\uace0\ud558\uae38.. &nbsp; \uc774 \uc804\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \ub300\ubd80\ubd84 \ud328\ud0a4\uc9c0\ud30c\uc77c\uc740 \ub0b4 \uc11c\ubc84\uc5d0 \uc62c\ub824\ub193\uace0 \ud574\ub2f9 \ub9c1\ud06c\ub85c \ucee4\ub9e8\ub4dc\ub97c \uc791\uc131\ud558\ub2c8 \ud544\uc694 \ubc84\uc804\uc758 \ud30c\uc77c\uc740 \ud574\ub2f9 \ubaa8\ub4c8 \ud648\ud398\uc774\uc9c0\ub85c \uc811\uc18d\ud574 \ub2e4\uc6b4\ubc1b\uae38 \ubc14\ub780\ub2e4. \ud574\ub2f9 \ud3ec\uc2a4\ud305\uc740 Mysql\uacfc [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webshare.co.kr\/?p=6287\" \/>\n<meta property=\"og:site_name\" content=\"WEBSHARE\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/at.in.story\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-07T01:57:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-22T02:57:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\uae40\uc8fc\ud658\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@kasthe88\" \/>\n<meta name=\"twitter:site\" content=\"@kasthe88\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"\uae40\uc8fc\ud658\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287\",\"url\":\"https:\/\/www.webshare.co.kr\/?p=6287\",\"name\":\"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE\",\"isPartOf\":{\"@id\":\"https:\/\/www.webshare.co.kr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png\",\"datePublished\":\"2015-01-07T01:57:40+00:00\",\"dateModified\":\"2016-02-22T02:57:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webshare.co.kr\/?p=6287\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage\",\"url\":\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png\",\"contentUrl\":\"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webshare.co.kr\/?p=6287#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webshare.co.kr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webshare.co.kr\/#website\",\"url\":\"https:\/\/www.webshare.co.kr\/\",\"name\":\"WEBSHARE\",\"description\":\"\ucda4\ucd94\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc758 \ube14\ub85c\uadf8\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webshare.co.kr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751\",\"name\":\"\uae40\uc8fc\ud658\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg\",\"caption\":\"\uae40\uc8fc\ud658\"},\"sameAs\":[\"http:\/\/www.atfolio.co.kr\"],\"url\":\"https:\/\/www.webshare.co.kr\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webshare.co.kr\/?p=6287","og_locale":"ko_KR","og_type":"article","og_title":"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE","og_description":"&nbsp; \uc800\ubc88\uc5d0 \ud3ec\uc2a4\ud305\ud55c \uae00\uc911 Apache \uc124\uce58\uc5d0 \uad00\ud55c \uae00\uc774 \uc788\ub294\ub370 \uadf8 \uae00\uc5d0\uc11c \uc124\uce58\ud55c Apache\uc640 \uc5f0\ub3d9\ub418\ub3c4\ub85d PHP\ub97c \uc18c\uc2a4 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ud3ec\uc2a4\ud305 \ud55c\ub2e4. \ud574\ub2f9 \uae00\uc740\u00a0 https:\/\/www.webshare.co.kr\/?p=6255 \uc5d0 \uc788\uc73c\ub2c8 Apache\ub97c \uc124\uce58\ud558\uc9c0 \uc54a\uc558\ub2e4\uba74 \ucc38\uace0\ud558\uae38.. &nbsp; \uc774 \uc804\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \ub300\ubd80\ubd84 \ud328\ud0a4\uc9c0\ud30c\uc77c\uc740 \ub0b4 \uc11c\ubc84\uc5d0 \uc62c\ub824\ub193\uace0 \ud574\ub2f9 \ub9c1\ud06c\ub85c \ucee4\ub9e8\ub4dc\ub97c \uc791\uc131\ud558\ub2c8 \ud544\uc694 \ubc84\uc804\uc758 \ud30c\uc77c\uc740 \ud574\ub2f9 \ubaa8\ub4c8 \ud648\ud398\uc774\uc9c0\ub85c \uc811\uc18d\ud574 \ub2e4\uc6b4\ubc1b\uae38 \ubc14\ub780\ub2e4. \ud574\ub2f9 \ud3ec\uc2a4\ud305\uc740 Mysql\uacfc [&hellip;]","og_url":"https:\/\/www.webshare.co.kr\/?p=6287","og_site_name":"WEBSHARE","article_publisher":"https:\/\/www.facebook.com\/at.in.story","article_published_time":"2015-01-07T01:57:40+00:00","article_modified_time":"2016-02-22T02:57:56+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png","type":"image\/png"}],"author":"\uae40\uc8fc\ud658","twitter_card":"summary_large_image","twitter_creator":"@kasthe88","twitter_site":"@kasthe88","twitter_misc":{"\uae00\uc4f4\uc774":"\uae40\uc8fc\ud658","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.webshare.co.kr\/?p=6287","url":"https:\/\/www.webshare.co.kr\/?p=6287","name":"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9) - WEBSHARE","isPartOf":{"@id":"https:\/\/www.webshare.co.kr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage"},"image":{"@id":"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage"},"thumbnailUrl":"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png","datePublished":"2015-01-07T01:57:40+00:00","dateModified":"2016-02-22T02:57:56+00:00","author":{"@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751"},"breadcrumb":{"@id":"https:\/\/www.webshare.co.kr\/?p=6287#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webshare.co.kr\/?p=6287"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.webshare.co.kr\/?p=6287#primaryimage","url":"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png","contentUrl":"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.webshare.co.kr\/?p=6287#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webshare.co.kr\/"},{"@type":"ListItem","position":2,"name":"[Linux\/CentOS] PHP \uc18c\uc2a4 \ucef4\ud30c\uc77c \uc124\uce58 (Apache \ucef4\ud30c\uc77c\uc124\uce58 \uc5f0\ub3d9)"}]},{"@type":"WebSite","@id":"https:\/\/www.webshare.co.kr\/#website","url":"https:\/\/www.webshare.co.kr\/","name":"WEBSHARE","description":"\ucda4\ucd94\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc758 \ube14\ub85c\uadf8","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webshare.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751","name":"\uae40\uc8fc\ud658","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg","caption":"\uae40\uc8fc\ud658"},"sameAs":["http:\/\/www.atfolio.co.kr"],"url":"https:\/\/www.webshare.co.kr\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.webshare.co.kr\/wp-content\/uploads\/2015\/01\/phplogo-highres.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5iVrd-1Dp","_links":{"self":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/6287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6287"}],"version-history":[{"count":34,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/6287\/revisions"}],"predecessor-version":[{"id":9520,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/6287\/revisions\/9520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/media\/6278"}],"wp:attachment":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}