Joined: 15 Nov 2005
|Posted: Tue Nov 15, 2005 3:16 pm Post subject: Call to undefined function: openssl_x509_read
|I've recently installed A2T on my Win XP PC. Installation went smoothly, no problems there. I have a Zen Cart-based webstore which I've downloaded to my PC for development. All that is working fine with A2T. Apache SSL seems to be working fine serving up https:// pages locally.
However, I'm getting the error from the thread title when I try to load a particular Zen Cart payment module (which makes use of openssl for certificate verification and communication with the bank). This module works fine on my live store (hosted elsewhere), but apparently there's a kink in my settings somewhere locally. Can anyone point me in the right direction?
The full error message is as follows:
Code: PHP Fatal error: Call to undefined function: openssl_x509_read() in C:\apache2triad\htdocs\zen126\includes\modules\payment\ideal\functions.php on line 59
(Apparently you can't post a reply to your own post, so I'll do this as an edit instead.)
Problem fixed, solution below for those who encounter it in the future:
openssl is disabled by default in php.ini. Make the following edit to php.ini:
(thus remove the comment-mark ; from the line.)