V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
wdssmq
V2EX  ›  Linux

wsl 中如何单独安装 PHP 给 vscode

  •  
  •   wdssmq ·
    wdssmq · Mar 5, 2022 · 2913 views
    This topic created in 1515 days ago, the information mentioned may be changed or developed.

    Ubuntu 18 ,运行环境是在 Docker 里,需要单独安装份 PHP 设置给

    "php.validate.executablePath":""

    Supplement 1  ·  Mar 5, 2022
    emmm 自己折腾过的东西也会忘记:

    「 VSCode 」远程 CentOS 中 php.validate.executablePath 的设置_电脑网络_沉冰浮水

    https://www.wdssmq.com/post/20211004556.html

    无非现在换成了 Ubuntu 。。
    2 replies    2022-03-05 18:56:07 +08:00
    wdssmq
        1
    wdssmq  
    OP
       Mar 5, 2022
    姑且找到了这个:

    Is it possible to use wsl bash php for php.validate.executablePath · Issue #22391 · microsoft/vscode

    https://github.com/microsoft/vscode/issues/22391#issuecomment-467899589
    lkxjlkejwr
        2
    lkxjlkejwr  
       Mar 5, 2022 via Android
    其他 IDE 可能还麻烦,vscode 管它在 wsl 还是 docker 直接 remote 进去不就完了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3667 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 04:39 · PVG 12:39 · LAX 21:39 · JFK 00:39
    ♥ Do have faith in what you're doing.