您好,登錄后才能下訂單哦!
今天就跟大家聊聊有關(guān)PHP本地開發(fā)環(huán)境如何搭建,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結(jié)了以下內(nèi)容,希望大家根據(jù)這篇文章可以有所收獲。
https://laragon.org/download/
一路next, 在laragon目錄下創(chuàng)建workspace目錄,以備vscode的工作區(qū)
navicat 7z
composer升級 git 升級
https://windows.php.net/download#php-7.3 (暫時百度云有) 解壓到E:\laragon\bin\php\
127.0.0.1 root 空密碼
select @@GLOBAL.sql_mode 查詢sql_mode SET GLOBAL sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; 在navicat里設(shè)置
https://forum.laragon.org/topic/264/tutorial-how-to-add-xdebug-to-laragon
php-快速設(shè)置里勾選xdebug php-extension里勾選安裝的新版xdebug,無需勾選xdebug
[XDebug] xdebug.client_host=localhost xdebug.client_port=9001 xdebug.remote_handler=dbgp xdebug.mode=debug xdebug.start_with_request=yes
//注意步驟 //1.vscode里 設(shè)置 "php.validate.executablePath": "D:\\soft_work\\phpstudy_pro\\Extensions\\php\\php7.3.4nts\\php.exe", // "php.validate.enable": true, // "php.validate.run":"onSave", { "version": "0.2.0", "configurations": [ { "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9001, "stopOnEntry":false, }, { "name": "Launch currently open script", "type": "php", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "port": 9003 }, ] }
看完上述內(nèi)容,你們對PHP本地開發(fā)環(huán)境如何搭建有進一步的了解嗎?如果還想了解更多知識或者相關(guān)內(nèi)容,請關(guān)注億速云行業(yè)資訊頻道,感謝大家的支持。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。