このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 31 CentOS5 TLS1.2 created
- 2024.04.12 MySQL BIT Field created
- 04 ↷ 50_dialy:2024:04:04 から 50_dialy:2024:04:05 へページを名称変更しました。
最近の更新
文書の過去の版を表示しています。
OpenSSLのアップグレードは31 CentOS5 でTLS1.2
# wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-1.6.5.tar.gz # ./configure --prefix=/opt/apr/apr-1.6.5 # wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-util-1.6.1.tar.gz ./configure --prefix=/opt/apr-util/apr-util-1.6.1 --with-apr=/opt/apr/apr-1.6.5/
xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected specifier-qualifier-list before ‘XML_Parser’ xml/apr_xml.c: In function ‘cleanup_parser’: xml/apr_xml.c:364: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:365: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: At top level: xml/apr_xml.c:384: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token xml/apr_xml.c: In function ‘apr_xml_parser_create’: xml/apr_xml.c:401: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:402: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:410: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:411: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:412: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘default_handler’ undeclared (first use in this function) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: error: for each function it appears in.) xml/apr_xml.c: In function ‘do_parse’: xml/apr_xml.c:434: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:438: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: In function ‘apr_xml_parser_geterror’: xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ make[1]: *** [xml/apr_xml.lo] Error 1 make[1]: Leaving directory `/usr/local/src/apr-util-1.6.1' make: *** [all-recursive] Error 1
# yum install expat-devel
# wget https://archive.apache.org/dist/httpd/httpd-2.2.24.tar.gz ./configure --prefix=/opt/httpd/httpd-2.2.24 \ --with-apr=/opt/apr/apr-1.6.5 \ --with-included-apr \ --with-apr-util=/opt/apr-util/apr-util-1.6.1 \ --enable-so \ --enable-rewrite \ --enable-ssl \ --enable-mods-shared=all \ --with-ssl=/opt/openssl-1.0.2r \ --enable-proxy \ --enable-setenvif \ --enable-authn-alias \ --enable-file-cache \ --enable-disk-cache \ --enable-mem-cache \ --enable-suexec \ --enable-cache
# cp build/rpm/httpd.init /etc/init.d/httpd-2.2.24 # diff build/rpm/httpd.init /etc/init.d/httpd-2.2.24 60,62c60,62 < httpd=${HTTPD-/usr/sbin/httpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} --- > httpd=${HTTPD-/opt/httpd/httpd-2.2.24/bin/httpd} > pidfile=${PIDFILE-/var/run/httpd-2.2.24.pid} > lockfile=${LOCKFILE-/var/lock/subsys/httpd-2.2.24} 67c67 < CONFFILE=/etc/httpd/conf/httpd.conf --- > CONFFILE=/opt/httpd/httpd-2.2.24/conf/httpd.conf # chkconfig --add httpd-2.2.24 # chkconfig httpd off # chkconfig httpd-2.2.24 on # cp /opt/httpd/httpd-2.2.24/conf/httpd.conf /opt/httpd/httpd-2.2.24/conf/httpd.conf.org # cp /etc/httpd/conf/httpd.conf /opt/httpd/httpd-2.2.24/conf/httpd.conf # cd /opt/httpd/httpd-2.2.24 # ln -s /var/log/httpd logs # ln -s /var/run run -PIDファイルを変更確認 # grep ^Pid httpd.conf PidFile run/httpd-2.2.24.pid
# yum install python-devel gd-devel libmcrypt-devel mysql-devel # wget ftp://xmlsoft.org/libxml2/libxml2-2.9.2.tar.gz # ./configure --prefix=/opt/libxml2-2.9.2 # wget http://nih.at/libzip/libzip-0.10.1.tar.gz # ./configure --prefix=/opt/libzip-0.10.1 # wget http://jp2.php.net/get/php-5.6.13.tar.gz/from/this/mirror/ -O php-5.6.13.tar.gz ./configure \ --with-apxs2=/opt/httpd/httpd-2.2.24/bin/apxs \ --with-libxml-dir=/opt/libxml2-2.9.2 \ --prefix=/opt/php-5.6.13 \ --with-zlib-dir=/usr \ --with-mysql=/usr \ --with-libdir=lib64 \ --enable-mbstring \ --with-openssl \ --with-openssl-dir=/opt/openssl-1.0.2r \ --with-libzip=/opt/libzip-0.10.1 \ --with-pdo-mysql=shared \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --with-gd \ --with-gettext \ --with-curl=/opt/curl-7.58.0 \ --with-mcrypt # wget https://pecl.php.net/get/zip-1.13.5.tgz # /opt/php-5.6.13/bin/pear install zip-1.13.5.tgz