$url = $_POST['url'];
ServerName test1.loc
ServerAlias test2.loc www.test2.loc www.test1.loc
str_replace(
array|string $search,
array|string $replace,
string|array $subject,
int &$count = null
): string|array
Unix time (also known as Epoch time, Posix time, seconds since the Epoch, or UNIX Epoch time) is a system for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, minus leap seconds; the Unix epoch is 00:00:00 UTC on 1 January 1970 (an arbitrary date); it is nonlinear with a leap second having the same Unix time as the second before it, and every day is treated as if it contains exactly 86400 seconds. Due to this treatment Unix time is not a true representation of UTC.
find /path/to/req -type d -exec chmod 0755 {} \;
find /path/to/req -type f -exec chmod 0644 {} \;
.env.example
с примерами настроек..env
файлы, во-первых, содержат критические данные (логины пароли от дб как минимум), во-вторых, зависят от окружения и могут отличаться на проде , деве и у каждого программиста в команде локально.