Giter Site home page Giter Site logo

Comments (7)

damieng avatar damieng commented on August 14, 2024 1

@Jorge4ugusto make sure you have PHP 7.1.x installed. PHP 7.0 is no longer supported.

from ide-php.

damieng avatar damieng commented on August 14, 2024 1

Yeah sorry, it was 7.0 but at some point changed to 7.1. We have a new version going out shortly that should detect and report the exact problem more clearly.

from ide-php.

nickdenardis avatar nickdenardis commented on August 14, 2024

Similar result on macOS for me. Says it was installed and "PHP Felix Becker started" in menu bar but no functionality.

Atom Beta: 1.21.0-beta0
macOS: 10.12.5
PHP: 7.1.8
ide-php: 0.6.1

After install, two errors:

Uncaught (in promise) Error: spawn ENOTDIR
    at exports._errnoException (util.js:1022)
    at ChildProcess.spawn (internal/child_process.js:313)
    at Object.exports.spawn (child_process.js:399)
    at PHPLanguageClient.spawnServer (/Users/nickdenardis/.atom/packages/ide-php/lib/main.js:60)
    at getOrInstallServer.then (/Users/nickdenardis/.atom/packages/ide-php/lib/main.js:30)

Uncaught (in promise) Error: spawn ENOTDIR
    at exports._errnoException (util.js:1022)
    at ChildProcess.spawn (internal/child_process.js:313)
    at Object.exports.spawn (child_process.js:399)
    at PHPLanguageClient.spawnServer (/Users/nickdenardis/.atom/packages/ide-php/lib/main.js:60)
    at getOrInstallServer.then (/Users/nickdenardis/.atom/packages/ide-php/lib/main.js:30)

from ide-php.

pxlrbt avatar pxlrbt commented on August 14, 2024

So this issue solved my problem: #16
The problem was 32-bit php on windows which supports a maximum memory limit of 2GB so it fails when php-language-server requests 4GB. But there is no error message.

A settings for memory-limit and a note in the readme for windows users would be nice. I ended up manipulating the memory-limit inside <USERPATH>\.atom\packages\ide-php\vendor\felixfbecker\language-server\bin\php-language-server.php

from ide-php.

damieng avatar damieng commented on August 14, 2024

That's great, I'll get on that one today and mark this as a duplicate of that. Thanks!

Duplicate of #16

from ide-php.

Jorge4ugusto avatar Jorge4ugusto commented on August 14, 2024

I have the problem that it keeps loading and never starts or manages to recognize and probe the ide-php only with linter and it works, it also works atom-ide-ui with other packages like ide-css but the problem is that atom-ide-ui + ide-php does not want to work :( and this post is the closest thing I found I hope you can help me I have a great fondness to atom stays like in this image and never ends up loading the mouse over FelixBecker says initializing for ' Project and never finish initializing with a simple php My operating system is ubuntu 16.04 of 64 bits and I have 4 gb of ram in this imageImage and video hosting by TinyPic as it is loading in the lower right side I hope you can help me please.

from ide-php.

Jorge4ugusto avatar Jorge4ugusto commented on August 14, 2024

@damieng are you right i am with php7.0 as you knew? ok then that's why it does not work I guess I can move to php7.1 without problems and thanks for answering :)

from ide-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.