I have been trying to install phpunit skeleton generator. I started with
ear channel-discover pear.phpunit.de
Channel "pear.phpunit.de" is already initialised
phpunit is working and upon trying to install the skeleton generator I get the following message which I dont understand how to resolve it. I dont know where to start looking to resolve this so some pointer would be gratefully received
pear remote-list
Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/e9b88593398eb69a9ff91042351d646arest.cacheid in PEAR/REST.php on line 276
PHP Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/e9b88593398eb69a9ff91042351d646arest.cacheid in /usr/local/Cellar/php54/5.4.23/lib/php/PEAR/REST.php on line 276
Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/e9b88593398eb69a9ff91042351d646arest.cacheid in /usr/local/Cellar/php54/5.4.23/lib/php/PEAR/REST.php on line 276
Could not open /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/e9b88593398eb69a9ff91042351d646arest.cacheid for writing.
myname#mycomp:~ » pear install phpunit/PHPUnit_SkeletonGenerator 1 ↵
Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/b116edc6554e2f3e3c908e2a309732a8rest.cacheid in PEAR/REST.php on line 276
PHP Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/b116edc6554e2f3e3c908e2a309732a8rest.cacheid in /usr/local/Cellar/php54/5.4.23/lib/php/PEAR/REST.php on line 276
Warning: lstat(): Lstat failed for /var/folders/jb/60nkj_096yq3kkpg_p4czs4c5cr2p_/T//pear/cache/b116edc6554e2f3e3c908e2a309732a8rest.cacheid in /usr/local/Cellar/php54/5.4.23/lib/php/PEAR/REST.php on line 276
No releases available for package "pear.phpunit.de/PHPUnit_SkeletonGenerator"
install failed
It looks as though you need to prefix your pear remote-list command with sudo, and execute it as root.
$ sudo pear remote-list
You would need to do this for installing packages too. This is perfectly normal (for installing packages).
Related
Warning: require(C:\xampp\htdocs\blog\public/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\blog\public\index.php on line 24
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\blog\public/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\blog\public\index.php on line 24
Go to the root of this "project" on the command line and type composer install to have composer install the dependencies for this "project".
I'm trying to install laravel from git. I cloned the repository and tried the command
php artisan serve
But It gave this error message.
Warning:
require(C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required
'C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php'
(include_path='.;C:\php\pear') in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
and I ran a composer install
But it stopped with this error,
[RuntimeException] libraries/admin/ does not exist and could not be
created.
So I ran a composer du as the first comment but now getting this,
[Symfony\Component\Debug\Exception\FatalErrorException] Class
'R2S\Admin\Providers\AdminServiceProvider' not found
Hope someone can help.
I've got a warning message in laravel in my project. How can i resolve it?
Warning:
require(C:\xampp\htdocs\****\*****\vendor\composer/../../app/Http/Helpers/CustomHelper.php):
failed to open stream: No such file or directory in
C:\xampp\htdocs\*********\vendor\composer\autoload_real.php on line
66
Fatal error: require(): Failed opening required
'C:\xampp\htdocs\****\*****\vendor\composer/../../app/Http/Helpers/CustomHelper.php'
(include_path='C:\xampp\php\PEAR') in
C:\xampp\htdocs\****\*****\vendor\composer\autoload_real.php on line
66
Try composer dump-autoload
to reload dependencies. You might need to run composer update before that
I'm trying to install the trader extension.
I successfully installed pear/pecl.
When first running the command "pecl install trader" I had some issues on folders that were not writable, so I manually give those read/write permissions.
Now I'm at the point I get "ERROR: `phpize' failed"
Please how to get this solved?
I run mamp server on a mac 10.6.8
computer-van-gebruiker:~ Gebruiker$ sudo pecl install trader
Password:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
Warning: Invalid argument supplied for foreach() in PEAR/Downloader.php on line 593
Warning: Invalid argument supplied for foreach() in /usr/local/pear/share/pear/PEAR/Downloader.php on line 593
downloading trader-0.4.0.tgz ...
Starting to download trader-0.4.0.tgz (298,434 bytes)
...........................done: 298,434 bytes
Warning: Invalid argument supplied for foreach() in PEAR/PackageFile/v2/Validator.php on line 870
Warning: Invalid argument supplied for foreach() in /usr/local/pear/share/pear/PEAR/PackageFile/v2/Validator.php on line 870
332 source files, building
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
You should be more specific about PEAR/PECL and PHP version.
Your problem's source is that you're missing the development package for PHP that contains the C header files.
tried this method
but says
"No releases available for package "pecl.php.net/intl" install failed"
tried with
pecl -vvv install intl
returns this
Warning: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1511
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1521
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1521
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error
messages: error:14090086:SSL
routines:ssl3_get_server_certificate:certificate verify failed in
PEAR/REST.php on line 432
Warning: fsockopen(): Failed to enable crypto in PEAR/REST.php on line
432
Warning: fsockopen(): unable to connect to ssl://pecl.php.net:443
(Unknown error) in PEAR/REST.php on line 432 No releases available for
package "pecl.php.net/intl" Cannot initialize
'channel://pecl.php.net/intl', invalid or missing package file Package
"channel://pecl.php.net/intl" is not valid install
now i don't know what to do, and what this means. please help.
From PHP version 5.3 the extension intl is bundled with PHP.
So what you need to so is just enable the extension for that
open your php.ini file
find for ;extension=php_intl.dll
remove the comment ;
That’s all, restart the Magento2 installation and have fun.
Reference: http://www.magentogeek.com/magento2-intl-php-extension-missing/