Doc #67812 [NEW]: Need step-by-step installation on Ubunto server for PHP
| From: | swapnil dot shete at bitwiseglobal dot com | Date: | Sat, 09 Aug 2014 14:17:54 +0000 |
| Subject: | Doc #67812 [NEW]: Need step-by-step installation on Ubunto server for PHP | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11423@lists.php.net to get a copy of this message | ||
From: swapnil dot shete at bitwiseglobal dot com
Operating system: Ubuntu 12.04
PHP version: 5.4.31
Package: gupnp
Bug Type: Documentation Problem
Bug description:Need step-by-step installation on Ubunto server for PHP
Description:
------------
Hi,
I need assistance to load GPG/PGP libraries on Ubuntu server 12.04.
I have installed all required libraries on this server.
- gnupg
- libgpg-error
- gpgme
I checked in phpinfo and got the result for gnupg. but I am quit
confusing about, are these libraries are loaded properly or not?. when I
execute the
below code :
<?php
$gnupg = new gnupg();
print_r($gnupg);
or
$res = gnupg_init();
?>
this code gives me fatal error for class not found.
Could you please assist me on this?
Where we need to check :
in whcih folder?
in which library.
in how to test this.
Please provide step-by-step on this this will very help full to us.
Thanks,
Swapnil
Test script:
---------------
when I execute the
below code :
<?php
$gnupg = new gnupg();
print_r($gnupg);
or
$res = gnupg_init();
?>
this code gives me fatal error for class not found.
Expected result:
----------------
Fatal error
Actual result:
--------------
Need to return Object array
--
Edit bug report at https://bugs.php.net/bug.php?id=67812&edit=1
--