VS Code and Manjaro - PHP

Not long ago, I installed Manjaro on a PC and a laptop. The system runs well on both. I am moving away from Microsoft, Google, and everything that comes with them. I have installed VC VS Code on Manjaro on my PC because I want to use it for programming. My problem is that I cannot figure out how to set up VC VS Code to run PHP code. I have read and tried a lot, but it does not work for me. Can anyone help me with this?

TL4 edit - fixed typo - so it is clear that VS Code is the issue - deduced from more recent comments.

What is this software, and how did you install it?

:thinking: Is the VC reference is a typo? And did you intend to reference Visual Studio Code?

The is a load of different ways to redistribute VS Code.

Depending on the package it may be non-trivial to install php extensions as some has moved marketplace support to extra packages.

With most it is a matter of clicking the package cube in the sidebar - enter a search phrase then click install in the extension you need.

Which package did you install?

 $ pamac search vscode --no-aur
eslint-language-server  3.0.16-1                                 extra
    Language server for ESLint
code  1.104.3-1 [Installed]                                      extra
    The Open Source build of Visual Studio Code (vscode) editor
vscode-json-languageserver  1.104.0-1                            extra
    JSON language server
vscode-html-languageserver  1.104.0-1                            extra
    HTML language server
vscode-css-languageserver  1.104.0-1                             extra
    CSS/LESS/SCSS language server

 $ pamac search vscode --aur
windsurf-marketplace  1.1.0-1                                      AUR
    Enable vscode marketplace in windsurf
vscodium-translucent-marketplace  1.65.0-1                         AUR
    Enable vscode marketplace in VSCodium
vscodium-marketplace  1.97.0-1                                     AUR
    Enable vscode marketplace in vscodium
vscodium-insiders-marketplace  1.72.0-1                            AUR
    Enable vscode marketplace in vscodium
vscodium-git-marketplace  1.70.0-1                                 AUR
    Enable vscode marketplace in vscodium
vscodium-electron-marketplace  1.88.1-1                            AUR
    Enable vscode marketplace in vscodium-electron
vscodium-electron-bin-marketplace  1-1                             AUR
    Enable vscode marketplace in vscodium-electron-bin. Based on
    vscodium-electron-marketplace.
vscodium-bin-marketplace  1.76.0-1                                 AUR
    Enable vscode marketplace in vscodium-bin
vscodium-bin  1.104.26450-1                                        AUR
    Binary releases of VS Code without MS
    branding/telemetry/licensing.
visual-studio-code-insiders-bin  1759123396-1                      AUR
    Visual Studio Code Insiders (vscode): Editor for building and
    debugging modern web and cloud applications (official binary
    version)
visual-studio-code-cli-bin  1.104.2-1                              AUR
    The Visual Studio Code Server is a service you can run on a
    remote development machine, like your desktop PC or a virtual
    machine (VM).
visual-studio-code-bin  1.104.2-1                                  AUR
    Visual Studio Code (vscode): Editor for building and
    debugging modern web and cloud applications (official binary
    version)
tray-link-bin  1.1.32-1                                            AUR
    System tray application to provide a shortcut for your
    projects on vscode and github-desktop.(Prebuilt version.Use
    system-wide electron)
python-reorder-python-imports-isort-wrapper  0.1.0-1               AUR
    Wrapper for `reorder-python-imports` to emulate isort --diff
    for \ vscode python plugin and coc-pyright
pylance-language-server  2020.10.0-1                               AUR
    Python language server based on pylance vscode extension.
plasma5-themes-juno-ocean-git  r236.22ab42f-1                      AUR
    GTK themes inspired by epic vscode themes
neovim-lspkind-git  r61.gc68b3a0-1                                 AUR
    vscode-like pictograms for neovim lsp completion items
logo-ls  1.3.7-1                                                   AUR
    Modern ls command with vscode like file icon and git
    integrations
kvantum-theme-juno-ocean-git  r236.22ab42f-1                       AUR
    GTK themes inspired by epic vscode themes
juno-theme-git  r194.d2101b2-1                                     AUR
    GTK themes inspired by epic vscode themes
juno-standard-buttons-gtk-theme-git  r148.f0704a4-1                AUR
    GTK themes inspired by epic vscode themes
juno-palenight-standard-buttons-gtk-theme-git  r156.f0a3818-1      AUR
    GTK themes inspired by epic vscode themes
juno-palenight-gtk-theme-git  r150.185be24-1                       AUR
    GTK themes inspired by epic vscode themes
juno-ocean-standard-buttons-gtk-theme-git  r149.6d73f68-1          AUR
    GTK themes inspired by epic vscode themes
juno-ocean-gtk-theme-git  r236.22ab42f-1                           AUR
    GTK themes inspired by epic vscode themes
juno-mirage-standard-buttons-gtk-theme-git  r156.11dd089-1         AUR
    GTK themes inspired by epic vscode themes
juno-mirage-gtk-theme-git  r155.a4af806-1                          AUR
    GTK themes inspired by epic vscode themes
cquery-git  1942.3ac1ff24-2                                        AUR
    Low-latency vscode language server for large C++ code-bases,
    powered by libclang.
cpptools-debug-bin  1.26.3-2                                       AUR
    Debug adapter extraced from vscode-cpptools
code-translucent  1.100.2-1                                        AUR
    The Open Source build of Visual Studio Code (vscode) editor
    with translucent window, official marketplace, unblocked
    proprietary features and wayland support!
code-server-marketplace  4.16.1-1                                  AUR
    Enable vscode marketplace in code-server
code-marketplace  1.102.1-2                                        AUR
    Enable vscode marketplace in Code OSS
codelldb-git  v1.9.0.r1084.88d6925-2                               AUR
    A native debugger extension for VSCode based on LLDB. Also
    known as vscode-lldb (NOT lldb-vscode)
codelldb-bin  1.11.5-1                                             AUR
    A native debugger extension for VSCode based on LLDB. Also
    known as vscode-lldb (NOT lldb-vscode)
codelldb  1.11.5-1                                                 AUR
    A native debugger extension for VSCode based on LLDB. Also
    known as vscode-lldb (NOT lldb-vscode)
code-git  1.102.0.r1.gc6e8ac1-1                                    AUR
    OSS version of Visual Studio Code editor
aws-asl-languageserver  1.67.0-1                                   AUR
    Language server for AWS Step Function's ASL, extracted from
    aws-toolkit-vscode
adocsnip-bin  0.0.2-1                                              AUR
    manage vscode-style snippets in asciidoc
rust-analyzer-vscode-git  r7300.c9e1aab88-2                        AUR
    An experimental Rust compiler front-end for IDEs (VSCode
    installation).
rofi-vscode-mode  0.9.0-1                                          AUR
    A Rofi mode to open Visual Studio Code workspaces
python-ocp-vscode  2.8.5-1                                         AUR
    OCP CAD Viewer for VSCode (also for Jupyter and standalone)
plasma5-runners-vscode-git  r5.7c6bc0c-4                           AUR
    KRunner plugin for quickly opening recent VSCode workspaces
openvscode-server  1.98.2-1                                        AUR
    Run upstream VS Code on a remote machine with access through
    a modern web browser from any device, anywhere.
local-lua-debugger-vscode-git  260-1                               AUR
    A simple Lua debugger which requires no additional
    dependencies.
krunner-vscodeprojects-git  r57.cb99fb6-1                          AUR
    Open VSCode Project Manager projects from Krunner (git)
krunner-vscodeprojects  2.0.0-1                                    AUR
    Open VSCode Project Manager projects from Krunner
gnome-search-providers-vscode  2.5.3-2                             AUR
    Add VSCode workspaces to Gnome search
vscode-xdg-patch-hook  1.0.3-1                                     AUR
    Pacman hooks that patch VSCode files for improved XDG
    experience (#15741, #129953, #214741)
vscode-php-debug  1.37.0-1                                         AUR
    PHP Debug Adapter (DAP)
vscode-node-debug2  1.43.0-1                                       AUR
    A VS Code debug adapter that supports debugging Node via the
    Chrome Debugging Protocol.
vscode-langservers-extracted  4.10.0-1                             AUR
    Language servers extracted from VSCode.
vscode-js-debug-bin  1.102.0-1                                     AUR
    A DAP-compatible JavaScript debugger
vscode-js-debug  1.90.0-1                                          AUR
    A VS Code debugger for JavaScript & TypeScript, powered by
    the Microsoft vscode-js-debug
vscode-codicons-git  0.0.35.r49.eaa0306-1                          AUR
    The icon font for Visual Studio Code
vscode-bookmark-bin  1.1.2-1                                       AUR
    A utility to save your favorite projects and open them easily
    in vscode.(Prebuilt version.Use system-wide electron)
vscode-bash-debug  0.3.0-1                                         AUR
    Bash shell debugger extension for VSCode (based on bashdb)

 $ pamac search visual studio code
visual-studio-code-insiders-bin  1759123396-1                      AUR
    Visual Studio Code Insiders (vscode): Editor for building and
    debugging modern web and cloud applications (official binary
    version)
visual-studio-code-cli-bin  1.104.2-1                              AUR
    The Visual Studio Code Server is a service you can run on a
    remote development machine, like your desktop PC or a virtual
    machine (VM).
visual-studio-code-bin  1.104.2-1                                  AUR
    Visual Studio Code (vscode): Editor for building and
    debugging modern web and cloud applications (official binary
    version)

You will also need the php package and possibly modules as well

[master ?:7] $ pamac search php --no-aur
texlive-latexextra  2025.2-2                                                                                  extra
    TeX Live - LaTeX additional packages
zabbix-frontend-php  7.4.3-1                                                                                  extra
    PHP frontend for Zabbix
uwsgi-plugin-php-legacy  2.0.30-2                                                                             extra
    A full stack for building hosting services (PHP Legacy plugin)
uwsgi-plugin-php  2.0.30-2                                                                                    extra
    A full stack for building hosting services (PHP plugin)
python-phpserialize  1.3-13                                                                                   extra
    A port of the serialize and unserialize functions of php to python
kdevelop-php  25.08.1-1                                                                                       extra
    PHP language and documentation plugin for KDevelop
phpvirtualbox  7.2_1-1                                                                                        extra
    PHP/AJAX web interface for VirtualBox
phpmyadmin  5.2.2-2                                                                                           extra
    PHP web-based tool to administrate MySQL and MariaDB databases over the web
phpldapadmin  2.3.3-1                                                                                         extra
    A PHP and hence web-based tool to administrate LDAP over the WWW
php-xsl  8.4.13-1                                                                                             extra
    xsl module for PHP
php-tidy  8.4.13-1                                                                                            extra
    tidy module for PHP
php-sqlite  8.4.13-1                                                                                          extra
    sqlite module for PHP
php-sodium  8.4.13-1                                                                                          extra
    sodium module for PHP
php-snuffleupagus  0.12.0-1                                                                                   extra
    Security module for PHP
php-snmp  8.4.13-1                                                                                            extra
    snmp module for PHP
php-redis  6.2.0-3                                                                                            extra
    An API for communicating with the Redis key-value store
php-phpdbg  8.4.13-1                                                                                          extra
    Interactive PHP debugger
php-pgsql  8.4.13-1                                                                                           extra
    PostgreSQL modules for PHP
php-odbc  8.4.13-1                                                                                            extra
    ODBC modules for PHP
php-mongodb  2.1.1-1                                                                                          extra
    MongoDB driver for PHP
php-memcached  3.3.0-3                                                                                        extra
    PHP extension for interfacing with memcached via libmemcached library
php-memcache  8.2-5                                                                                           extra
    Memcache module for PHP
php-legacy-xsl  8.2.29-1                                                                                      extra
    xsl module for PHP
php-legacy-tidy  8.2.29-1                                                                                     extra
    tidy module for PHP
php-legacy-sqlite  8.2.29-1                                                                                   extra
    sqlite module for PHP
php-legacy-sodium  8.2.29-1                                                                                   extra
    sodium module for PHP
php-legacy-snmp  8.2.29-1                                                                                     extra
    snmp module for PHP
php-legacy-redis  6.2.0-3                                                                                     extra
    An API for communicating with the Redis key-value store
php-legacy-pspell  8.2.29-1                                                                                   extra
    pspell module for PHP
php-legacy-phpdbg  8.2.29-1                                                                                   extra
    Interactive PHP debugger
php-legacy-pgsql  8.2.29-1                                                                                    extra
    PostgreSQL modules for PHP
php-legacy-odbc  8.2.29-1                                                                                     extra
    ODBC modules for PHP
php-legacy-mongodb  2.1.1-1                                                                                   extra
    MongoDB driver for PHP Legacy
php-legacy-memcached  3.3.0-3                                                                                 extra
    PHP Legacy extension for interfacing with memcached via libmemcached library
php-legacy-memcache  8.2-5                                                                                    extra
    Memcache module for PHP Legacy
php-legacy-imagick  3.8.0-1                                                                                   extra
    PHP extension to create and modify images using the ImageMagick library
php-legacy-igbinary  3.2.16-2                                                                                 extra
    A drop in replacement for the standard php serializer
php-legacy-grpc  1.75.1-1                                                                                     extra
    gRPC module for PHP Legacy
php-legacy-geoip  1.1.1-13                                                                                    extra
    GeoIP module for PHP Legacy
php-legacy-gd  8.2.29-1                                                                                       extra
    gd module for PHP
php-legacy-fpm  8.2.29-1                                                                                      extra
    FastCGI Process Manager for PHP
php-legacy-enchant  8.2.29-1                                                                                  extra
    enchant module for PHP
php-legacy-embed  8.2.29-1                                                                                    extra
    Embedded PHP SAPI library
php-legacy-dblib  8.2.29-1                                                                                    extra
    dblib module for PHP
php-legacy-cgi  8.2.29-1                                                                                      extra
    CGI and FCGI SAPI for PHP
php-legacy-apcu  5.1.27-1                                                                                     extra
    A userland caching module for PHP
php-legacy-apache  8.2.29-1                                                                                   extra
    Apache SAPI for PHP
php-legacy  8.2.29-1                                                                                          extra
    A general-purpose scripting language that is especially suited to web development
php-imagick  3.8.0-1                                                                                          extra
    PHP extension to create and modify images using the ImageMagick library
php-igbinary  3.2.16-2                                                                                        extra
    A drop in replacement for the standard php serializer
php-grpc  1.75.1-1                                                                                            extra
    gRPC module for PHP
php-geoip  1.1.1-13                                                                                           extra
    GeoIP module for PHP
php-gd  8.4.13-1                                                                                              extra
    gd module for PHP
php-fpm  8.4.13-1                                                                                             extra
    FastCGI Process Manager for PHP
php-enchant  8.4.13-1                                                                                         extra
    enchant module for PHP
php-embed  8.4.13-1                                                                                           extra
    Embedded PHP SAPI library
php-dblib  8.4.13-1                                                                                           extra
    dblib module for PHP
php-cgi  8.4.13-1                                                                                             extra
    CGI and FCGI SAPI for PHP
php-apcu  5.1.27-1                                                                                            extra
    A userland caching module for PHP
php-apache  8.4.13-1                                                                                          extra
    Apache SAPI for PHP
php  8.4.13-1                                                                                                 extra
    A general-purpose scripting language that is especially suited to web development

I installed it from the Manjaro package manager.

This is my system:

Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-13T15:24:47.250Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 6.12.48-1-MANJARO
Sandboxed: No

I don’t have all the extras you show, and I can’t find them in the Manjaro file cabinet or in VS Code.

Right now, I can’t figure it out, so I need to take a break and clear my head. Thank you for your reply. I’ll keep fighting later. Thank you.

The only thing i can find in the Manjaro Repo should look more like

Version: 1.104.1
Commit: 0f0d87fa9e96c856c5212fc86db137ac0d783365
Date: 2025-09-18T16:13:21.262Z
Electron: 37.5.1
ElectronBuildId: undefined
Chromium: 138.0.7204.251
Node.js: 22.19.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.12.48-1-MANJARO

Notice generally there are two different versions of this MS software around. One proprietary called “VS Code” and an MIT licensed one referred to as “Code OSS” or “vscodium”. What i can find in the Manjaro Repo is “Code OSS”. (The AUR is neither part of the Manjaro distro nor part of the Arch distro, where the later might come as a surprise to some folks.) Moreover notice the licensing of some extensions sometimes isn’t straightforward and some extensions may require the proprietary “VS Code” to function.

Then you should consider GNU Emacs - just kidding :slightly_smiling_face:

2 Likes

There is no such package in the Manjaro repository, nor in the AUR.

Please be specific and correct with regard to the name of the software package you’ve installed.

This is an up-to-date kernel

However your visual studio code version is not up-to-date.

The forum does not provide help to get ancient software working - so you will have to update the parts of your system which is not up-to-date.

sudo pacman -Syyu code

The VS Code version you are using is 2.5 years old and this could easily be your problem. There is no version of VS Code that old in the Manjaro official repo.

The current status of stable branch 2025-10-07T10:30:00Z (with a hint to upstream Arch Linux if newer)

 $ mbn info --stable code -q
Branch         : stable
Name           : code
Version        : 1.104.1-1
Repository     : extra
Build Date     : Thu 18 Sep 2025 18:10:19 
Packager       : Massimiliano Torromeo <mtorromeo@archlinux.org>
Archlinux      : 1.104.3-1
 $ mbn info --stable electron -q
Branch         : stable
Name           : electron
Version        : 1:38-1
Repository     : extra
Build Date     : Thu 18 Sep 2025 00:13:31 
Packager       : Caleb Maclennan <alerque@archlinux.org>
 $ mbn info --stable chromium -q
Branch         : stable
Name           : chromium
Version        : 141.0.7390.54-1
Repository     : extra
Build Date     : Thu 02 Oct 2025 01:21:04 
Packager       : Christian Heusel <gromit@archlinux.org>
 $ mbn info --stable nodejs -q
Branch         : stable
Name           : nodejs
Version        : 24.8.0-1
Repository     : extra
Build Date     : Mon 15 Sep 2025 02:32:56 
Packager       : Daniel M. Capella <polyzen@archlinux.org>
Archlinux      : 24.9.0-1

mbn is provided by package manjaro-check-repos

If you wish to give useful detail about your system, please provide system information as described (below).

Regards.


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit.

To that end, links are provided (below) - Please use them.


Be prepared to provide outputs from various commands when asked. It’s equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.

Waiting for others to blindly ask questions can be counter-productive – typically, nobody has a :crystal_ball: at their disposal – Instead, please help others to make informed suggestions, based on information you provide.


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command (with appropriate parameters, and formatted according to forum guidelines) will generate information useful for those wishing to help:

inxi --filter --verbosity=8

or the short form (preferred):

inxi -zv8
Highly Recommended
Technical Resources
Required Reading

1 Like

Does it have to be VS Code or VSCodium, which depend on Electron. There are multiple other Code editors available in the Repos.

for example.

PHPStorm
Builder
CorePad
Geany
KDevelop
Kate
PineGrow

PHPStorm has AI access via subscription. Builder is the GNOME IDE, KDevelop is the KDE IDE, and Kate is the KDE Text Editor that has progrmming Language plugins, and integration with Git and others.

1 Like

Abandoned topic (30+ days)