-
Notifications
You must be signed in to change notification settings - Fork 11
Does this script work with php 7? #4
Comments
I am getting: Warning: can’t enable debugging because xdebug plugin for php is not installed. php -v PHP 7.1.13-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jan 16 2018 15:37:12) ( NTS ) xdebug.ini contents ; Xdebug extension installed by Cloud9 I am trying to develop a Symfony 4 project and need PHP 7.1. |
In PHP 7.0 Adjust names to php 7.0. I didn't tested PHP 7.1
|
Sorry, I should have stated. I did substitute 7.1. Steps I took: sudo add-apt-repository ppa:ondrej/php -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 echo "; Xdebug extension installed by Cloud9 |
Yeah, they're working on it. see here |
So using laravel 5.5 I need php 7 which I've installed... do is this script as you show here:
Cloud9 core plugin for Xdebug and other DBGP debuggers.
to install xdebug for php use
sudo apt-get update
sudo apt-get install -y php5-dev
sudo pecl install xdebug
sudo mkdir -p /etc/php5/mods-available
echo "; Xdebug extension installed by Cloud9
zend_extension=xdebug.so
xdebug.remote_enable=1
" | sudo tee --append /etc/php5/mods-available/xdebug.ini
sudo php5enmod xdebug
work under php 7 ? if so, it doesn't appear to be.
The text was updated successfully, but these errors were encountered: