使用PHPStorm之後只可以減少手動執行的步驟,PHPStorm可以自動將變更的檔案佈署到遠端伺服器上(或者是多台的伺服器群組),在透過遠端的Docker執行單元測試
使用Docker來做單元測試是可以保持環境的一致姓,因為平時開發環境可能會安裝多個版本的PHP或者調整php.ini的關係造成與實際佈署環境不一致的情況,每次執行單元測試的容器都是一次性使用的,執行完單元測試後就會自動銷毀
PHPStorm with remote Docker 架構圖
GnuTLS error -8: A record packet with illegal version was received.
ssl_ciphers=HIGH
mkdir /media/cdrom mount /dev/cdrom /media/cdrom yum --disablerepo=\* --enablerepo=c6-media install httpd-tools squid
http_port 3128 error_directory /usr/share/squid/errors/zh-tw cache_dir ufs /var/spool/squid 100 16 256 cache_mem 16 MB visible_hostname ezproxy logfile_rotate 2 access_log /var/log/squid/access.log #SSL acl CONNECT method CONNECT acl ssl_port port 443 #Auth auth_param basic realm Welcome to proxy service auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/squid-passwd acl allow_user proxy_auth REQUIRED http_access deny CONNECT !ssl_port http_access allow allow_user all http_access deny all
2011/09/14 10:28:37| WARNING: (B) '::/0' is a subnetwork of (A) '::/0' 2011/09/14 10:28:37| WARNING: because of this '::/0' is ignored to keep splay tree searching predictable 2011/09/14 10:28:37| WARNING: You should probably remove '::/0' from the ACL named 'all'
Wed Jul 13 13:06:25 2011 - [89123] (192.168.0.0) fish - session error - session fish*mail.com.tw-session-0.190812842599136 timeout access attempt