DockerでWEB開発するならXdebugを最初に入れとこうの巻。

2023.07.16

Logging

おはようございます、DockerでWEB開発するならXdebugを最初に入れとこうの巻。これを途中で入れるということは環境を元に戻すことに繋がるので大変です。特にGitLabやGitHubなどを使用している場合は尚更かと思います、面倒なんですね途中からXdebugを入れるのは本当に。

自分のようにならないように最初からXdebugは入れておく方が大事です、あと開発に使用するポートも事前に聞くべしです。あとからDockerにポート開放は出来ないらしいので大事になります。

ladybug plastic toy
Photo by Mike Bird on Pexels.com

今では枯れた技術になるかもしれない、 VirtualBoxの方がそういう面では後から修正しやすいかと思います。Dockerは独特なのか分かりませんが後からポート開放ダメ、またVScodeで検証するためにはDocker独自に設定をしないといけないので、ポート開放してphp.iniの設定してVscodeでさてトレースとはいかないのです。

DockerのXdebug.iniみたいなのを設定しないと使用できない仕様になっています。因みに今、新たなymlファイルとDockerFileを作ろうとしています。毎回、yumでインストールしている部分があるのでそれをDockerFileで行おうと思っています。

タグ

docker, dockerfile, github, gitlab, Photo by Mike Bird on Pexels.com, php.ini, virtualBOX, VScode, xdebug, Xdebug.ini, Ymlファイル, yum, トレース, ポート, ポート開放, , 最初, 毎回, 途中,

code sjis

2018.01.11

Logging


There is a troubling character code called “sjis” in “Japan”.
“Garbled characters” phenomenon occurred in the local server.
Finally, in order to solve the problem, we changed the file setting “php.ini”.
I used “30 minutes” before noticing the problem.
At first I thought that the setting of “Apache” was not bad, but that was a mistake.
From the conclusion it was solved by commenting out the setting of “character code”.
When using “Japanese”, I believe that “UTF – 8” is currently used most, but “sjis” is sometimes used for security measures etc.
In addition, there are cases where “sjis” is still used in old sites.

タグ

At first I thought that the setting, before noticing the problem, but that was a mistake, code sjis, From the conclusion it was solved, Garbled characters, I believe that, in order to solve the problem, is currently used most, is sometimes used for security measures etc, is still used in old sites, phenomenon occurred in the local server, php.ini, there are cases where, There is a troubling character code called, was not bad, we changed the file setting, WEB+DB PRESS plus, When using,