Installation of XDEBUG on OSX 10.11 - php

When I'm trying install XDEBUG sudo pecl install xdebug - the next error occurred:
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so'
ERROR: failed to write /usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
(copy(/usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so): failed to open stream: Operation not permitted)
Have you got any ideas how to solve that problem?
Thanks in advance.

Related

How to install v8js macOS 10.13.6 - Permission denied make: *** [install-modules] Error 1

I'm trying to installa v8js in my macOS HighSierra 10.13.6
I'm following this guide on github but when I try to install the extension using make install I get this error in console
$ make install
Installing shared extensions: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20180731/
cp: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20180731/#INST#59304#: Permission denied
make: *** [install-modules] Error 1
I have the v8js.so module installed inside the /Users/<username>/v8js/modules/ I think it needs to be moved into another directory to make it work? How I can fix this problem to make v8js working in my local envoirment?

"pecl install memcached" fails

I am trying to execute pecl install memcached. I am on Mac with PHP 7.4.3
I get the following error
ERROR: `/private/tmp/pear/temp/memcached/configure --with-php-config=/usr/local/opt/php/bin/php-config --with-libmemcached-dir --with-zlib-dir --with-system-fastlz --enable-memcached-igbinary=yes --enable-memcached-msgpack=yes --enable-memcached-json=yes --enable-memcached-protocol=yes --enable-memcached-sasl=yes --enable-memcached-session=yes' failed
What am I doing wrong? I get the same error if I say no to prompts.

Error : Job for mongod.service failed because the control process exited with error code. (opensuse15.0)

I am trying to start mongodb on opensuse, but am getting this error message "Job for mongod.service failed because the control process exited with error code.
". It was working fine yesterday.
I installed mongo and also installed a php plugin with mongodb using
sudo zypper in php-pear php-devel
sudo pecl install mongodb
I can't figure out what is the problem.

Can't install pear in windows 10 + laragon

I'm tryin to install PEAR in W10 + Laragon ( php 7.2 ), and I get this error:
Beginning install...
Configuration written to C:\Windows\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.5.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.2.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.8.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.4.3.tar...
installing PEAR-1.10.9.tar...
Warning: require_once(phar://go-pear.phar/PEAR/REST/13.php): failed to open stream: phar error: "PEAR/REST/13.php" is not a file in phar "go-pear.phar" in phar://C:/laragon/bin/pear/go-pear.phar/PEAR/Config.php on line 2067
I just downloaded go-pear.phar from : https://pear.php.net/go-pear.phar
And i follow some instructions in this tutorial:
https://youtu.be/b1v9nwVxjTg?t=1025
But, I allways get that error...
Any idea what can be wrong ?
Best Regards

Composer is not getting installed windows 7

I'm trying to install Composer for on my Window 7 OS but its giving me following error:
Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org
Request to https://getcomposer.org/installer failed with errors:
Failed to open stream: No connection could be made because the target machine actively refused it.
My PHP Configuration is :
PHP Version 5.5.22
Apache 2.2.13
What could be the issue?
Try this
C:\bin>php -r "readfile('https://getcomposer.org/installer');" | php

Categories