Jump to content

Problem with gpg key during PHP installation


Go to solution Solved by dariyoosh,

Recommended Posts

Hi,

I want to install PHP on ubuntu 17.04 (64 bits). On the download page there is a link to
public keys in order to check the signature:

 

http://php.net/downloads.php#gpg-7.1

 

I saved the content for the PHP 7.1 section in a text file named KEYS:

pub 4096R/7BD5DCD0 2016-05-07

Key fingerprint = A917 B1EC DA84 AEC2 B568 FED6 F50A BC80 7BD5 DCD0

uid Davey Shafik <davey@php.net>



pub 2048R/31CBD89E 2016-12-08

Key fingerprint = 5289 95BF EDFB A719 1D46 839E F9BA 0ADA 31CB D89E

uid Joe Watkins <krakjoe@php.net>

Then I run:

gpg --import KEYS

Which gave me the following error

gpg: no valid OpenPGP data found.

gpg: Total number processed: 0

Could you tell me what am I doing wrong?

Thanks in advance.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.