簡體   English   中英

EParseError wamp:配置文件在第 592 行包含語法錯誤。未知參數名稱“類型”

[英]EParseError wamp: The configuration files contains syntax error on line 592. Unknown parameter name "type"

我嘗試通過添加 wamp 3.2.5 將 php 版本從 7 更新到 8.1。 還編輯了環境變量中的路徑。 但是當我運行 wamp 服務器時,我遇到了這個問題,彈出窗口會顯示上述錯誤。

您需要 WAMPServer 3.2.6 才能運行 PHP8.1。

您可以從此處的備份存儲庫獲得升級。 它比 SourceForge 更容易在那里找到,但如果您願意,也可以在那里找到它。

直接鏈接到 WAMPServer 3.2.6 升級

此升級不會對 Apache/MySQL/mariaDB/PHP 或 WAMPServer 內部以外的任何內容進行任何更改。 它是一個累積更新,因此可以在任何大於或等於 3.0.1 的 WAMPServer 版本上運行。

---Changelog Wampserver 3.2.6
Support for PHP 8.1
Improve default_file for MySQL and MariaDB service
Support of Apache Graceful Restart
Restart Wampserver in one click
Display date/time of last startup
Apache configurations comparison
Ability to update Apache configuration when changing version: LoadModule - Include - Listen port - httpd-vhosts.conf - httpd-ssl.conf
openssl.cnf - apache2.4.xx\conf\Certs\ folder if existing
Ability to restore httpd.conf and httpd-vhosts.conf saved when installing an Apache version
Improved display of command windows
Ability to check for updates to Wampserver, Aestan Tray Menu, Apache, PHP, MySQL, MariaDB, etc.

我想知道這是否為您解決了問題....

我將 WAMP 更新到 3.2.6 版,甚至單獨安裝了 Aestan 3.2.4.2 版。 當我使用 PHP 版本而不是 8.1 啟動 WAMP 時沒有錯誤,但是在使用 PHP 8.1 啟動 Wampmanager 時,我確實在第 592 行得到 [EParseError] Unrecognized parameter name "Type"。 服務已啟動,phpinfo() 告訴我我實際上正在使用 PHP 版本 8.1

任何幫助表示贊賞。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM