8000 Linux Mint: No Paths to PHP Work · Issue #168 · atom/ide-php · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Linux Mint: No Paths to PHP Work #168
Open
@FibroJedi

Description

@FibroJedi

Atom Version: 1.58.0 (x64)
System: Linux Mint 20

Error: IDE-PHP could not launch your PHP runtime. spawn /usr/bin/php ENOENT

I've been going round in circles across various places before finally posting here - about 3hrs lost so far. I cannot get PHP linting to work because the path cannot be found.

PHP Version
PHP 7.4.3 (cli) (built: Mar 2 2022 15:36:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

(Without amending the version of PHP, my version above has no other updates)

Result of which php Command
/usr/bin/php

Result of whereis php Command
php: /usr/bin/php7.4 /usr/bin/php /usr/lib/php /etc/php /usr/share/php7.4-mbstring /usr/share/php7.4-gd /usr/share/php7.4-json /usr/share/php7.4-mysql /usr/share/php7.4-bz2 /usr/share/php7.4-opcache /usr/share/php7.4-xml /usr/share/php7.4-zip /usr/share/php7.4-readline /usr/share/php7.4-curl /usr/share/php7.4-common /usr/share/php /usr/share/man/man1/php.1.gz

Therefore the paths I've tried in the "PHP Path" field in Settings are:

  • /usr/bin/php
  • /usr/bin/php7.4
  • /usr/lib/php
  • /etc/php
  • /usr/share/php

And all of these result in the above error: spawn /whatever/path/to/php ENOENT

Please help! Thanks.

PS /usr/local/bin/ has no php file/folder in it
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0