Open dvdpwll opened 8 years ago
when i open composer-setup to look at line 466 and 483 I have this: Line 466
file_put_contents($home.'/keys.dev.pub', <<<DEVPUBKEY
-----BEGIN PUBLIC KEY-----
<there was a key here but I removed it>
-----END PUBLIC KEY-----
DEVPUBKEY
);
Line 483
file_put_contents($home.'/keys.tags.pub', <<<TAGSPUBKEY
-----BEGIN PUBLIC KEY-----
<there was a key here but I removed it>
-----END PUBLIC KEY-----
TAGSPUBKEY
);
It sounds like there's something wrong with my keys.
I tried it again with sudo php composer-setup.php
and it installed successfully.
I need to install laravel with sudo composer global require "laravel/installer"
So I had trouble saving the etc/hosts. I had to run this to edit be allowed to edit the hosts file:
source: rackspace
My hosts file looks like this now:
when I tried to install composer I get this error: