Giter Site home page Giter Site logo

Comments (4)

collierscott avatar collierscott commented on May 30, 2024

I am getting:

Warning: can’t enable debugging because xdebug plugin for php is not installed.
see https://github.com/c9/c9.ide.run.debug.xdebug for details.

php -v

PHP 7.1.13-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jan 16 2018 15:37:12) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright © 1998-2017 Zend Technologies
with Zend OPcache v7.1.13-1+ubuntu14.04.1+deb.sury.org+1, Copyright © 1999-2017, by Zend Technologies
with Xdebug v2.5.5, Copyright © 2002-2017, by Derick Rethans

xdebug.ini contents

; Xdebug extension installed by Cloud9
zend_extension=xdebug.so
xdebug.remote_enabled=1

I am trying to develop a Symfony 4 project and need PHP 7.1.

from c9.ide.run.debug.xdebug.

kattunga avatar kattunga commented on May 30, 2024

In PHP 7.0 Adjust names to php 7.0. I didn't tested PHP 7.1

sudo apt-get update
sudo apt-get install -y php7.0-dev
sudo pecl install xdebug
echo "; Xdebug extension installed by Cloud9
zend_extension=xdebug.so
xdebug.remote_enable=1
" | sudo tee --append /etc/php/7.0/mods-available/xdebug.ini
sudo phpenmod xdebug

from c9.ide.run.debug.xdebug.

collierscott avatar collierscott commented on May 30, 2024

Sorry, I should have stated. I did substitute 7.1.

Steps I took:

sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -y

sudo apt-get install php7.1-curl php7.1-dev php7.1-gd php7.1-intl php7.1-mcrypt php7.1-json php7.1-mysql php7.1-opcache php7.1-bcmath php7.1-mbstring php7.1-soap php7.1-xml php7.1-xdebug

sudo a2dismod php7.0
sudo apt-get install libapache2-mod-php7.1 -y

echo "; Xdebug extension installed by Cloud9
zend_extension=xdebug.so
xdebug.remote_enable=1
" | sudo tee --append /etc/php/7.1/mods-available/xdebug.ini
sudo phpenmod xdebug

capture

from c9.ide.run.debug.xdebug.

karlkras avatar karlkras commented on May 30, 2024

Yeah, they're working on it. see here

from c9.ide.run.debug.xdebug.

Related Issues (4)

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.