]# ./configure –prefix=/usr/local/php-5.2.17 –with-config-file-path=/usr/local/php-5.2.17/etc –with-apxs2=/usr/local/httpd-2.2.17/bin/apxs –with-openssl –enable-sigchild –with-gd –with-freetype-dir –with-png-dir –with-jpeg-dir –with-zlib-dir –enable-exif –enable-gd-native-ttf –enable-sockets –with-iconv –with-libxml-dir –enable-sysvsem –enable-sysvshm –enable-magic-quotes –enable-safe-mode –enable-ftp –enable-mbstring –with-zlib –disable-debug –disable-rpath –enable-inline-optimization –with-bz2 –with-pic –with-gettext –with-gmp –enable-bcmath –with-mcrypt –enable-wddx –enable-calendar –with-mysql=/usr/local/mysql-5.5.9 –with-mysqli=/usr/local/mysql-5.5.9/bin/mysql_config –with-pdo-mysql=/usr/local/mysql-5.5.9 –enable-mod-charset –enable-sysvmsg –enable-sysvsem –enable-sysvshm –enable-ftp –with-snmp –with-ttf –with-xpm-dir […]
./configure –prefix=/usr/local/httpd-2.2.17 –enable-mods-shared=all –enable-so –enable-rewrite –enable-ssl –with-ssl make && make install cp /usr/local/httpd-2.2.17/bin/apachectl /etc/init.d/httpd chkconfig –add httpd 1 2 3 4 ./configure —prefix=/usr/local/httpd–2.2.17 —enable–mods–shared=all —enable–so —enable–rewrite —enable–ssl —with–ssl make && make install cp /usr/local/httpd–2.2.17/bin/apachectl /etc/init.d/httpd chkconfig —add httpd httpd 서비스는 chkconfig를 지원하지 않습니다. ]# vi /etc/init.d/httpd […]