SERVER層:
查看目前cloudways server環境
APP層:
:
mariaDB預設3306 如果當初安裝不是這在這個port要另外指定:port
Mixed Content: The page at was loaded over a secure connection,
but contains a form that targets an insecure endpoint
wp_option裡的網址要加前綴https://
一開始只放domain所以報了這個錯
Unable to load dynamic library 'redis'
https://windows.php.net/downloads/pecl/releases/redis/5.3.7/
php 8.2 適配 redis 6.0.2
https://pecl.php.net/package/redis/6.0.2/windows
502 bad gateway php-cgi 斷線問題
php-cgi
is not designed for long-running processes and is prone to crashes.
Instead, use php-fpm
, which is better suited for handling FastCGI connections.
moving to PHP-FPM (FastCGI Process Manager) can help address many issues
that occur with php-cgi
, including crashes and performance problems
or
Run the php-cgi
process in a new console window to keep it running in the background:
start php-cgi.exe -b 127.0.0.1:9000
測試下來start php-cgi一樣有crush問題
要更穩定的話轉往配置 wsl + php-fpm
可以參考這篇: