-
Notifications
You must be signed in to change notification settings - Fork 41
PHP language server stopping unexpectedly #34
Comments
please try Ctrl+Shit+i to open the console and see if there are errors that give us some more information |
Also can you confirm you have ide-php 0.6.6 (latest) - 0.6.5 would incorrectly display this error when the language server shut down correctly. |
I confirm i've updated today the ide-php 0.6.6 and still had that issue. Concerning the console, I have no error showing up after opening a php page. Is there any package I should have (or not have) to make it work? Here is the listing of my installed packages: |
Then the PHP language server is stopping on your machine abnormally without
reporting an error :(
…On Sun, Sep 17, 2017 at 12:25 PM buleedan ***@***.***> wrote:
I confirm i've updated today the ide-php 0.6.6 and still had that issue.
Concerning the console, I have no error showing up after opening a php
page.
[image: screen shot 2017-09-18 at 02 16 47]
<https://user-images.githubusercontent.com/30656253/30524104-764f93fa-9c17-11e7-85c5-e8ca905a800a.png>
Is there any package I should have (or not have) to make it work?
Here is the listing of my installed packages:
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.***
***@***.*** (disabled)
***@***.*** (disabled)
***@***.***
***@***.***
***@***.***
***@***.*** (disabled)
***@***.***
***@***.***
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHQp-XOjl0iVgcf19xXHknedwzq2Hc4ks5sjXIygaJpZM4PaMtQ>
.
|
Actually previously I already had a similar problem with my linter, which didn't work either. |
Behind the scenes the packages use very different technologies from different vendors so it wouldn't surprise me that one works when one does not. The JS/TS one is written in JavaScript and runs using the node runtime. The PHP one is written in PHP and uses PHP 7 runtime. |
actually today i've just installed the PHP 7 runtime and also run it with my MAMP. But in vain... |
I had this problem on osx related to installing PHP7 via homebrew. Decided with the command |
By doing a |
I recommend installing PHP using https://php-osx.liip.ch instead of homebrew, you might want to give that a try? |
Thanks, seems like we are going on the right way. I now have a different error issue. It used to be Now I have:
|
That indicates to me your system is not using PHP 7 but an older version. The syntax on that line is trying to use the {} syntax for use statements which was not supported in older versions. I'm going to put a explicit version check into the next update of ide-php so it checks and then stops if PHP 7 is not the one specified in the path or ide-php config. |
Thanks a lot mate! Thanks a lot for the help! |
No problem. I should have added a specific check.
…On Mon, Sep 18, 2017, 8:16 AM Robin Dutheil ***@***.***> wrote:
Closed #34 <#34>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAHQp1h1moDdqif7yYegymCYmJraNhLhks5sjolIgaJpZM4PaMtQ>
.
|
I've recently installed the new version of atom (1.21) where I've been installing the atom-ide-ui and ide-php packages (and some others too).
I don't know why, when I develop on JS, the diagnostic and outline view are working properly, but as soon as I open a php file, I have an error popup showing telling me that "PHP language server stopped unexpectedly." (as on the screenshot).
This error happen anytime I open a php file for the first time after launching Atom (whether or not a php page is already opened when i launch atom).
Thanks,
Robin
The text was updated successfully, but these errors were encountered: