用sublime 3搭建php 運行環境

1.首先把php加入到環境變量中
2.第二步是打開sblime tools-》build system-》build new system
而後在打開的文件寫上
{ "cmd": ["D:/phpstudy/php55n/php.exe", "$file"], "file_regex": "^(...*?):([0-9]*):?([0-9]*)", "selector": "source.php" }
 
而後保存爲php.sublime-build,而後重啓sublime就行了(不過我好像設置好了重啓了等了好幾分鐘按ctrl+b纔有反應)
相關文章
相關標籤/搜索