brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] PHP Runtime error keeps coming up (Linux Mint, PHP7.2) #12128

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by d3ssen Wednesday Jun 24, 2020 at 08:48 GMT Originally opened as https://github.com/adobe/brackets/issues/15182


Prerequisites

For more information on how to write a good bug report read here For more information on how to contribute read here

Description

Dialog about not having PHP runtimes installed pops up every time I open a php file.

Steps to Reproduce

  1. Installed Brackets on Linux Mint 19 with PHP7.2
  2. Modified "brackets.json":
    {
    "brackets-eslint.gutterMarks": true,
    "brackets-eslint.useLocalESLint": false,
    "fonts.fontSize": "12px",
    "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace",
    "php": {
        "enablePhpTooling": true,
        "executablePath": "/usr/bin/php",
        "memoryLimit": "1024M",
        "validateOnType": "false"
    }
    }
  3. Restarted Brackets
  4. Opened a php file.

Expected behavior: Not to see errors about the PHP runtime files not being installed after following the instructions documented here and reading issue pinned here

Actual behavior: Getting errors about PHP runtime files not being installed/found.

Versions

OS: Linux Mint 19 Brackets: Release 1.14 build 1.14.0-17740

core-ai-bot commented 3 years ago

Comment by d3ssen Wednesday Jun 24, 2020 at 18:02 GMT


Well, apparently there is a difference between the version offered in the Linux Mint Software Manager and the .deb package downloadable from the brackets.io website.

At first I installed Brackets from the Software catalog within Mint, which apparently is a FlatPack version that does things differently when it comes to handling the brackets.json config file. (it doesn't work) After uninstalling that version and installing the .deb package from the website, I was able to make Brackets work with the PHP settings in he config file.