2019-03-01から1ヶ月間の記事一覧

SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'created_at'

increments('id'); $table->s…

Laravelデータベース作成

increments('id'); $table->strin…

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

参考URL記事 hacknote.jp

[PDOException] could not find driver

[PDOException] could not find driver yum install php-mysql

Laravelでホスト指定。

Laravelでホスト指定。 php artisan serve --host 127.0.0.1

the requested PHP extension dom is missing from your system.

yum install php-xml

Laravelインストール

composerのインストール $ curl -sS https://getcomposer.org/installer | php $ mv composer.phar /usr/local/bin/composer $ composer -V Composer version 1.8.4 2019-02-11 10:52:10 laravelのインストール composer create-project --prefer-dist larav…

ベリトランス テストカード番号

www.veritrans.co.jp

Windows 10のhostsファイル

C:\Windows\System32\drivers\etc\hosts

googleで株価の検索件数 ruby

gem install nokogirl ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory. パーミッションのエラーがでるからsudoでインストール $ sudo gem install nokogirl Pass…

amazonがログインしてなくてもお届け先住所が表示される。

amazonがログインしてなくてもお届け先住所が表示される。 これはIP情報かそれとも位置情報のどっちだろうか。

PHPのバージョン確認

php --version PHP 7.1.23 (cli) (built: Nov 27 2018 16:59:25) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

ゲストOSにログインしていることを確認してください。

mount /dev/cdrom /mnt cp /mnt/VMwareTools-10.3.2-9925305.tar.gz /home/ando/ cd /home/ando/ tar xvfz VMwareTools-10.3.2-9925305.tar.gz cd vmware-tools-distrib ./vmware-install.pl reboot

You are trying to start Docker Desktop but you don't have enough memory. Free some memory or change your settings

Docker for Windowsで使おうとしたけど、本体のメモリー不足だった。

phpunit/phpunit 6.5.9 requires ext-dom * -> the requested PHP extension dom is missing from your system

yum install php-xml

phpでprint_rを整形

echo('<pre>'); print_r($param); echo('</pre>'); exit;

VirtualHostのみを表示

apachectl -t -D DUMP_VHOSTS

PHP Warning: require(autoload.php): failed to open stream: No such file or directory in artisan on line 18

PHP Warning: require(autoload.php): failed to open stream: No such file or directory in artisan on line 18composer install

Laravel 500エラー

$ cp .env.example .env $ php artisan key:generate $ php artisan config:clear

Error: You have not agreed to the Xcode license. Please resolve this by running: sudo xcodebuild -license

Error: You have not agreed to the Xcode license. Please resolve this by running: sudo xcodebuild -license Xcodeを起動してインストール。

gdrive

gdriveコマンドが便利だ。qiita.comwww.nextdoorwith.info