http://qiita.com/nilesflow/items/a0fb9ec3bb33858df44b
https://github.com/nilesflow/linebot-php
http://qiita.com/nilesflow/items/a0fb9ec3bb33858df44b
https://github.com/nilesflow/linebot-php
いつも忘れる。
git push
error: The requested URL returned error: 403 Forbidden while accessing
vim .git/config
[remote “origin”]
url に、username@を追加。
1 2 3 4 5 6 7 8 9 10 |
$ pear channel-discover pear.phpdoc.org $ pear install phpdoc/phpDocumentor yum install graphviz phpdoc -t /var/www/html/phpdoc/linebotiot/ -d . 簡単 参考: http://qiita.com/twlm/items/66844a1543359fbda7e1 |
# 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/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
有効化するには、 RemoteSystemsTempFiles .project に追加。 <nature>org.<a class="keyword" href="http://d.hatena.ne.jp/keyword/eclipse">eclipse</a>.wst.jsdt.<a class="keyword" href="http://d.hatena.ne.jp/keyword/core">core</a>.jsNature</nature> <nature>org.<a class="keyword" href="http://d.hatena.ne.jp/keyword/eclipse">eclipse</a>.<a class="keyword" href="http://d.hatena.ne.jp/keyword/php">php</a>.<a class="keyword" href="http://d.hatena.ne.jp/keyword/core">core</a>.PHPNature</nature> <natures></natures>の中 参考: http://d.hatena.ne.jp/mydq/20130524/p1 |
以下のサイトを参考にした。
http://d.hatena.ne.jp/ozuma/20120424/1335265500
configureで以下の指定を追加する事
1 2 3 4 5 6 7 8 9 10 11 |
$ ./configure <span class="synStatement">\</span> --with-<span class="synIdentifier">apxs2</span>=/usr/sbin/apxs <span class="synStatement">\ make install で、module ができるので、指定 /etc/httpd/conf.d/php.conf LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so iniファイルも指定 PHPIniDir "/usr/local/php/lib/php.ini" </span> |
http://qiita.com/nilesflow/items/9eb63817c7195058320b
https://github.com/nilesflow/zundoko-socket.io
160.16.117.208:3050
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>