このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
01_linux:02_www:32_centos_tls_apache_php [2019/11/05 03:19] – matsui | 01_linux:02_www:32_centos_tls_apache_php [2024/11/01 02:23] (現在) – matsui | ||
---|---|---|---|
行 10: | 行 10: | ||
# wget http:// | # wget http:// | ||
- | ./configure --prefix=/ | + | #./configure --prefix=/ |
</ | </ | ||
行 121: | 行 121: | ||
# ./configure --prefix=/ | # ./configure --prefix=/ | ||
+ | # これをやらないと古いopensslのpkgconfigを読んでしまう | ||
+ | # export PKG_CONFIG_PATH=/ | ||
# wget http:// | # wget http:// | ||
行 137: | 行 139: | ||
--with-mysql-sock=/ | --with-mysql-sock=/ | ||
--with-gd \ | --with-gd \ | ||
+ | --with-xmlrpc \ | ||
--with-gettext \ | --with-gettext \ | ||
--with-curl=/ | --with-curl=/ | ||
行 149: | 行 152: | ||
# cp / | # cp / | ||
# cp -rvf /etc/php.d / | # cp -rvf /etc/php.d / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== PHPモジュール ==== | ||
+ | |||
+ | === Crack === | ||
+ | |||
+ | < | ||
+ | # svn export http:// | ||
+ | # cd crack | ||
+ | # / | ||
+ | # ./configure --with-php-config=/ | ||
+ | # make | ||
+ | # make install | ||
+ | # echo " | ||
+ | </ | ||
+ | |||
+ | |||
+ | === MSSQL === | ||
+ | < | ||
+ | # MSSQLモジュール追加の場合 | ||
+ | wget https:// | ||
+ | tar xvf php-5.6.40.tar.gz | ||
+ | cd php-5.6.40/ | ||
+ | / | ||
+ | yum install freetds freetds-devel freetds-libs freetds | ||
+ | ln -s / | ||
+ | ./configure --with-php-config=/ | ||
+ | make | ||
+ | cp modules/ | ||
+ | echo ' | ||
+ | |||
+ | # / | ||
+ | mssql | ||
</ | </ | ||
行 174: | 行 211: | ||
- | {{tag>tls}} | + | ===== MySQLもソースから入れる場合 ===== |
+ | |||
+ | [[https:// | ||
+ | |||
+ | < | ||
+ | # tar zxvf mysql-5.1.56.tar.gz | ||
+ | # cd mysql-5.1.56 | ||
+ | # ./configure --prefix=/ | ||
+ | # make && make install | ||
+ | </ | ||
+ | |||
+ | === PHPのconfigreを下記に変更 === | ||
+ | < | ||
+ | --with-mysql=/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag>TLS1.2}} |