现在没有“未定义的函数”错误了,但有一堆其他错误;例如,程序中调用openssl_pkey_new()error:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system liberror:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system lib
附:php源程序<?php$key = openssl_pkey_new();while( ( $e = openssl_error_string() ) !== FALSE ) { echo $e; }?>结果: error:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system liberror:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system lib到底是怎么回事啊?我搞了一天了,郁闷+急!
去掉了php.ini中extension php_openssl.dll前的分号。同时把libeay32.dll等文件拷到了winnt\system32目录下。
现在没有“未定义的函数”错误了,但有一堆其他错误;例如,程序中调用openssl_pkey_new()error:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system liberror:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system lib
{
echo $e;
}?>结果:
error:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system liberror:02001003:system library:fopen:No such processerror:2006D080:BIO routines:BIO_new_file:no such fileerror:0E064002:configuration file routines:CONF_load:system lib到底是怎么回事啊?我搞了一天了,郁闷+急!