我有Atom的全新安裝。安裝了linter包,然後安裝了linter-php。Atom PHP lint無法運行Windows 10
在config.cson文件我有以下
"*":
"exception-reporting":
userId: "c545e431-a953-b271-c123-c021c950953b"
welcome:
showOnStartup: false
core: {}
editor:
invisibles: {}
tabLength: 4
linter: {}
"linter-php":
executablePath: "C:/php/"
我從http://windows.php.net/downloads/releases/php-5.6.16-Win32-VC11-x86.zip
下載PHP的zip和提取的內部C:/php
任何一個可以幫助我在修復這個。我找不到任何我想念的東西。
更新
這是我收到的錯誤
Error: 'C:/php/' is not recognized as an internal or external command,
operable program or batch file.
at parameters.exit (C:\Users\Raheel\.atom\packages\linter-php\node_modules\atom-linter\lib\helpers.js:70:20)
at triggerExitCallback (C:\Users\Raheel\AppData\Local\atom\app-1.2.4\resources\app.asar\src\buffered-process.js:213:47)
at ChildProcess.<anonymous> (C:\Users\Raheel\AppData\Local\atom\app-1.2.4\resources\app.asar\src\buffered-process.js:235:18)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
你確定php.exe是在c:\ php中,而不是在c:\ php \ php-5.6 0.16-Win32的VC11-86? – dev0
是的,我確定。所有的PHP文件都直接在C:/ php –
我更新了問題,並放置了文件文件結構的屏幕截圖 –