From:             ashley at zware dot co dot uk
Operating system: Fedora 11
PHP version:      5.2.11
PHP Bug Type:     OpenSSL related
Bug description:  Not finding openssl functions despite being enabled

Description:
------------
Although openssl reports itself as being enabled in phpinfo (version
OpenSSL 0.9.8k-fips 25 Mar 2009 ),  I get Fatal error: Call to undefined
function openssl_digest() and similiar for other openssl functions.
Actually on PHP 5.2.9 as that is most recent FC11 package.
SSL is working in apache with mod_ssl loaded and certificates are in place
(self cert - its a dev machine.)

Reproduce code:
---------------
$a = openssl_digest($data,$method);

Expected result:
----------------
output from the digest function as per docs.

Actual result:
--------------
( ! ) Fatal error: Call to undefined function openssl_digest() in
/var/www/vhosts/zware/application/modules/test/controllers/IndexController.php
on line 77


-- 
Edit bug report at http://bugs.php.net/?id=50033&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50033&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50033&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50033&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50033&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50033&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50033&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50033&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50033&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50033&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50033&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50033&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50033&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50033&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50033&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50033&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50033&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50033&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50033&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50033&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50033&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50033&r=mysqlcfg

Reply via email to