下面由phpstorm教學欄位來介紹PhpStorm 2021設定php7.3環境的方法,希望對需要的朋友有幫助!
第一步 進入Settings
開啟PhpStorm軟體,點選File之後在下拉選單中選擇Settings選項
如圖




#第二步進入Languages&Frameworks

#進入Settings之後找到Languages&Frameworks 選項並且雙擊展開, 選擇php選項, 然後繼續點擊CLI Interpreter選擇項目後的三個點按鈕
第三步驟新增php解釋器
繼續點選左上角的綠色加號按鈕新增php解釋器, 並且選擇Local Path to Interpreter...項目


#######第四步PHP解釋器配置選項#########選擇了Local Path to Interpreter...項目之後會再次彈出配置php解釋器路徑對話框######在這裡找到General選項點擊PHP executable後面的“資料夾按鈕選擇你所安裝的php所在路徑,並且選擇php.exe這個檔案###################最後配置完成#########設定完php.exe 檔案之後依序點選ok 退出測試即可!######在PhpStorm中新建一個test.php的檔案, 輸入以下程式碼###
###如圖######## ########最後出現以下介面說明PhpStorm配置php環境成功!############
以上是PhpStorm設定php7.3的環境(圖文步驟)的詳細內容。更多資訊請關注PHP中文網其他相關文章!