php

compact(): Undefined variable: subject への対応

compact(): Undefined variable: subject エラーが出た場合、cakephp3.6.12でphp73にしたらUndefined variable: eTagMatchesのエラー - Qiita のサイトを参考にしながら、GitHub - cakephp/cakephp at 2.x 上記のサイトのlibファイルに置き換えたところ、動…

centOS7でのサーバ手順

完全なるメモです。 概要 # cat /etc/*release CentOS Linux release 7.6.1810 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o…

cakephp2系がうまくインストールできなかったので

今までの方法で、インストールして設定しようとしたらうまくいかず harucharuru.hatenablog.com出たエラー $ Console/cake bake PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /home/mznpub/www/tmedeye/lib/Cake/Core/Object.p…

phpのバージョンアップメモ

# yum install epel-release # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm # sudo yum remove php-* # yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php73 php php-devel php-mbstring php-pdo php-gd p…