Fatal Error Call To Undefined Function Openssl_get_publickey
Contents |
Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Using OpenSSL Started by ankit1986, Apr 14 2009 04:17 PM Please log in to reply 6 replies to this topic call to undefined function openssl_decrypt() laravel #1 ankit1986 ankit1986 Member Members 12 posts Posted 14 April 2009 - 04:17 PM Hi I fatal error: call to undefined function openssl_encrypt() got a SSL certificate form Verisign. I have installed it also. It's displaying properly in the browser.I want to code in PHP using
Call To Undefined Function Openssl_encrypt() Laravel
OPENSSL ... i am running on IIS v5 on localhost .... but when I use any function of OpenSSL library, it gives an error ....like when I use openssl_get_publickey() ... it says "Fatal error: Call to undefined function: openssl_get_publickey()
Fatalerrorexception In Encrypter.php Line 66: Call To Undefined Function Openssl_encrypt()
in ******.php on line 5"I am using PHP 4.3.10 Back to top #2 JonnoTheDev JonnoTheDev Advanced Member Moderators 3,587 posts LocationLiverpool, UK Posted 14 April 2009 - 04:27 PM Your php version must be compiled without it. Recompile with --with-openssl[=DIR] To start, press any key. Where's the 'Any' key? Back to top #3 ankit1986 ankit1986 Member Members 12 posts Posted 14 April 2009 - 04:40 PM yes i downloaded the latest OPENSSL Package from http://www.openssl.org/source/but then how shud I fatalerrorexception in encrypter.php line 100: call to undefined function openssl_decrypt() go about compiling it ??? Back to top #4 JonnoTheDev JonnoTheDev Advanced Member Moderators 3,587 posts LocationLiverpool, UK Posted 14 April 2009 - 04:48 PM No no no. OpenSSL is an application for doing things like generating key files and CSR files. This has absolutely nothing to do with php. If you want to use funtions such as openssl_get_publickey() then you must compile php with the correct modules. You will see what modules are loaded by creating a phpinfo() file.Here:http://uk.php.net/ma...nstallation.php To start, press any key. Where's the 'Any' key? Back to top #5 ankit1986 ankit1986 Member Members 12 posts Posted 15 April 2009 - 03:52 AM I am sorry . I am an ameteur in this field I'll tell u the exact procedure I did :1) I have PHP v4.3.10 running ... on WIndows2) I dont where are all the PHP files stored ... there's a PHP folder in C:\PHP ...... but it doesn't have those dev or ext folders ... 3) extension=php_openssl line is commented in my php.ini4) I downloaded OpenSSL binaries from http://www.slproweb....n32OpenSSL.html5) Installed it on default seetings6) It created one folder C:\OpenSSL which has some DLLs7) I think we are interested in libeay32.dll & openssl.cnfBut still when I run my script, it says Fatal error: Call to undefined function: openssl_get_publickey()I know I am missing a few things in between but i am not able to figure it out by
index All times are UTC - 5 hours Information The requested topic does not exist. Board index All times are UTC - 5 hours Powered by phpBB Forum Software © phpBB Group
Errors Exceptions Generators References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers http://php.net/manual/en/function.openssl-get-publickey.php Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting Using Register Globals User Submitted Data Magic Quotes Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection call to handling Persistent Database Connections Safe Mode Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Credit Card Processing Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language call to undefined and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation Keyboard Shortcuts? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search(current page) / Focus search box openssl_open » « openssl_get_privatekey PHP Manual Function Reference Cryptography Extensions OpenSSL OpenSSL Functions Change language: English Brazilian Portuguese Chinese (Simplified) French German Japanese Korean Romanian Russian Spanish Turkish Other Edit Report a Bug openssl_get_publickey (PHP 4 >= 4.0.4, PHP 5, PHP 7)openssl_get_publickey — Alias of openssl_pkey_get_public() Description This function is an alias of: openssl_pkey_get_public(). add a note User Contribu