OpenSSL Installation - Ref. 2 | |||
| |||
------------------------------------- Here are some sample php files I use on the MLUG website: This adds names to a database This adds a link to our database This lists the links in our database This retrieves all members from the database Below is a step by step explanation of how to perform the installation. Prerequisites: o Apache should be installed to /path/to/apache o MySQL is installed under /path/to/mysql o OpenSSL is installed under /path/to/openssl o RSAref have not to be used o GNU Make is available as `gmake' in $PATH Steps: # extract the packages $ gzip -d -c apache_1.3.x.tar.gz | tar xvf - $ gzip -d -c mod_ssl-2.4.x-1.3.x.tar.gz | tar xvf - $ gzip -d -c php-3.0.x.tar.gz | tar xvf - # apply mod_ssl to Apache source tree $ cd /mod_ssl-2.4.x-1.3.x $ ./configure --with-apache=../apache_1.3.x $ cd .. # pre-configure Apache for PHP3's configure step $ cd apache_1.3.x $ ./configure --prefix=/path/to/apache $ cd .. # configure PHP3 and apply it to the Apache source tree $ cd ../php-3.0.x $ CFLAGS='-O2 -I/path/to/openssl/include' ./configure --with-apache=../apache_1.3.x --with-mysql=/path/to/mysql --enable-memory-limit=yes --enable-debug=no $ gmake $ gmake install $ cd .. # build/install Apache with mod_ssl and PHP3 $ cd apache_1.3.x $ SSL_BASE=/path/to/openssl ./configure --prefix=/path/to/apache --enable-module=ssl --activate-module=src/modules/php3/libphp3.a --enable-module=php3 $ make $ make certificate $ make install $ cd .. # cleanup after work $ rm -rf php-3.0.x $ rm -rf mod_ssl-2.4.x-1.3.x $ rm -rf apache_1.3.x | |||
| |||
| |||
로그인을 하시면 댓글을 등록 할 수 있습니다. |
OTHER POSTS IN THE SAME CATEGORY window 스스로 닫기 |