# pear upgrade pear

WARNING: “pear/Console_Getopt” is deprecated in favor of “pear/Console_GetoptPlus”
downloading PEAR-1.10.1.tgz …
Starting to download PEAR-1.10.1.tgz (296,139 bytes)
…………………………………………………….done: 296,139 bytes
could not extract the package.xml file from “/tmp/pear/download/PEAR-1.10.1.tgz”
Download of “pear/pear” succeeded, but it is not a valid package archive
Error: cannot download “pear/PEAR”

・・・

 

PHPを更新していたので、以下のように。

# cp /usr/local/php-5.6.12/lib/php/Archive/Tar.php /usr/share/pear/Archive/Tar.php

参考:

http://phpobenkyo.seesaa.net/article/410455059.html

http://www.gentei.org/~yuuji/rec/pc/memo/2014/08/30/

以下のサイトを参考にした。

http://d.hatena.ne.jp/ozuma/20120424/1335265500

 

configureで以下の指定を追加する事

yum install mod_ssl

 

vi /etc/httpd/conf/httpd.conf

LoadModule ssl_module modules/mod_ssl.so

 

vi /etc/httpd/conf.d/ssl.conf

##
## SSL Virtual Host Context
##

NameVirtualHost *:443
Listen 443

<VirtualHost *:443>

# General setup for the virtual host, inherited from global configuration
DocumentRoot “/var/www/html”
ServerName dev.furoom.net

# Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf.
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn

# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on

# SSL Protocol support:
# List the enable protocol levels with which clients will be able to
# connect. Disable SSLv2 access by default:
SSLProtocol all -SSLv2

# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. A new
# certificate can be generated using the genkey(1) command.
#SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateFile /etc/pki/CA/certs/dev.furoom.net-ca.crt

# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you’ve both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
#SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
SSLCertificateKeyFile /etc/pki/CA/private/dev.furoom.net.key
</VirtualHost>