本文解釋瞭如何在Windows 11上與XAMPP本地安裝Joomla。
XAMPP 是由Apache Friends開發的免費且開放的跨平台跨平台Web服務器解決方案堆棧軟件包。它主要由Apache HTTP服務器,MariaDB和用PHP和Perl編程語言編寫的腳本的解釋器組成。
您可以在Windows上安裝 XAMPP 。 B和PHP組件。在Windows或Ubuntu上安裝XAMPP應用程序後,您可以安裝和管理其他基於PHP的應用程序,例如WordPress,Joomla和Joomla ACHE和PHP。
現在,創建一個空白數據庫來存儲Joomla內容。
首先,單擊左側的控制面板上的“ shell “按鈕啟動XAMPP命令殼。
為此設置,我們將創建一個名為 joomlAdb 的相應用戶帳戶“ P> mysql-U root
然後運行以下命令以完成以下步驟:
創建數據庫 joomladb tem utf8mb4 collete utf8mb4_general_ci;
創建用戶 joomladbuser @localHost ladb 。* to P>創建一個新的數據庫。創建一個新用戶。然後,給(授予)用戶對數據庫的完全訪問。
繼續下面下載Joomla文件。
下載Joomla文件
讓我們在Ubuntu Linux上下載和配置Joomla文件。
首先,導航到 c \:xampp \ htdocs infort
提取下載的文件,然後將所有內容複製到早先創建的joomla文件夾中 [c \:c \:c \:xampp \ htdocs \ htdocs \ joomla ory [ c:xampphtdocs ]並編輯 index.html file。
默認情況下,對服務器主機名的所有請求都重定向到[/ dashboard /]。 This file is responsible for that.
You can change it to [/joomla/] to bring up your Joomla site instead of the dashboard.
if (!empty($_SERVER[‘HTTPS’]) && (‘on’==$_SERVER[‘HTTPS’])) {
$uri=’https://’;
} else {
$uri=’http://’;
}
$uri.=$_SERVER[‘HTTP_HOST’];
header(‘Location:’.$uri.’/joomla/’);
exit;
?>
Something is wrong with the XAMPP installation:-(
Save the file and exit.
Return to the XAMPP Control Panel and stop and start Apache to apply the changes.
After restarting the Apache web server, open your browser and navigate to the server hostname or IP address specified in the Apache server block.
http://joomla.example.com
A Joomla installation wizard page should appear. Select the installation language, enter the site name and continue to the next page.
Next, enter your name, username, password for your account, email address, and continue to the next page.
On the next page, type in the database name, username, and password created above.然後,單擊“ 安裝joomla 。”
應創建新的Joomla網站並準備好使用。