28. ? 2017 for LANCERS, inc All Rights Reserved
PHP 5.3 → PHP 5.6 化
Virtualbox VM
Docker Machine
172.17.6.11
App
PHP5.3
ランサーズ本体
172.17.6.11
App
PHP 5.6
ランサーズ本体
ディレクトリ
共有
開発環境(エディタ)
9000
? 互換性を検証したいときだけPHP 5.3版コンテナに戻す
29. ? 2017 for LANCERS, inc All Rights Reserved
PHP 5.6コンテナ切り替え結果(現状)
? 表向きは問題なく見える状態
? ログにWARNINGが多発
? Nginxのerror.log
? PHP-FPMのerror.log
2017/06/08 01:38:06 [error] 12029#0: *87 FastCGI sent in stderr: "PHP message: PHP Strict Standards: Non-static method Configure::getInstance() should not be called
statically in /var/www/lancers/cake/bootstrap.php on line 38
PHP message: PHP Strict Standards: Non-static method CakeLog::handleError() should not be called statically in /var/www/lancers/cake/libs/cake_log.php on line 290
PHP message: PHP Strict Standards: Non-static method CakeLog::handleError() should not be called statically in /var/www/lancers/cake/libs/debugger.php on line 707" while
reading response header from upstream, client: 172.17.0.5, server: dev.lancers.jp, request: "GET /user/login?1496853486&ref=header_menu HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "dev.lancers.jp", referrer: http://dev.lancers.jp/
PHP message: PHP Warning: curl_setopt() expects parameter 2 to be long, string given in /var/www/lancers/app/vendors/AmazonSDK/lib/requestcore/requestcore.class.php on
line 610
[08-Jun-2017 01:44:52] WARNING: [pool www] child 13007 said into stderr: "NOTICE: PHP message: PHP Strict Standards: Non-static method CakeLog::handleError() should not be
called statically in /var/www/lancers/cake/libs/cake_log.php on line 290"
[08-Jun-2017 01:44:52] WARNING: [pool www] child 13007 said into stderr: "NOTICE: PHP message: PHP Strict Standards: Non-static method CakeLog::handleError() should not be
called statically in /var/www/lancers/cake/libs/debugger.php on line 707"
[08-Jun-2017 01:44:52] WARNING: [pool www] child 13006 said into stderr: "NOTICE: PHP message: PHP Strict Standards: Non-static method Configure::getInstance() should not
be called statically in /var/www/lancers/cake/bootstrap.php on line 38"