服務內容業界最新CADCH動態網頁程式全面支援PHP 8.3.0版本

105556
次閱讀
服務內容

動態網頁是由伺服器運算後產生的網頁畫面,我們使用Smarty 4引擎結合PHP 8.3.0系統運作。

CADCH動態網頁程式全面支援PHP 8.3.0版本

我們的動態網頁設計大部分使用PHP程式語言。

現在所有已開發模組皆升級到支援PHP8.3.0,目前大量使用的PHP 8.1.26主機將開始進行升級。

Versions older than 8.0 will no longer be supported by the PHP project. That means any bugs or security vulnerabilities discovered in versions of PHP 7.4 or earlier will not be fixed.

針對最新版本PHP8.3.0,目前採用分支版本方式設計,針對PHP8.3.0所修改的程式不向下相容。

同時PHP於2023年11月23日發佈的PHP 8.1.26版本,我們已經開始著手進行支援性修改,是業界大量客制化最新,升級速度最快的公司之一。
CADCH使用嚴苛的寫作方式設計,同時開始為加密協定TLSv1.3與MySQL8、PHP8網頁資料庫佈局。


PHP 7.3連接MYSQL8無法使用caching_sha2_password以下說明替代方案

MYSQL 8 (2054) The server requested authentication method unknown to the client

MYSQL 8 連線時,使用者的密碼加密方式不同,由原本mysql_native_password變更為caching_sha2_password目前PHP 7.4才支援caching_sha2_password,PHP 7.3用戶需要修改MYSQL 8用戶設定檔。

MySQL 8.0 is not supported in all PHP versions. Even in the supported versions, issues with the PHP mysqlnd library may require the MySQL server's default-authentication-plugin to be set to mysql_native_password to function correctly.

登錄root
>mysql -u root -p
use mysql;
ALTER USER '使用者名稱'@'localhost' IDENTIFIED WITH mysql_native_password BY '使用者密碼';
FLUSH PRIVILEGES;