Hello,
My server is running Apache 2.2.9, PHP 5.2.9, OpenSSL 0.9.8j,
Zend Optimizer 3.3.0. Everything is fine. I don’t get any error.
After I upgraded Apache to 2.2.13 (and reboot server), I can’t
use this PHP function: openssl_pkcs7_sign
The PHP error is:
Warning: openssl_pkcs7_sign() [function.openssl-pkcs7-sign]:
error creating PKCS7 structure! in /home/www/myfile.php on line 25
The signature file is empty.
I’m sure that signature files are ok. If I use OpenSSL
to sign pkcs7 in command line (use the same signatures), it runs correctly. I
can use PHP exec to do this also but It’s not secure.
I tried this situation many times and the result is the
same.
1.
If I fully restore my system with Apache 2.2.9, the
system works correct.
2.
I install Apache 2.2.13, system is error
3.
I reinstall Apache 2.2.9 (overwrite 2.2.13), system still
error
So, the final solution is fully restore the system. But I
would like to know that what happen with the latest Apache 2.2.13, PHP 5.2.9
and OpenSSL 0.9.8j.
Thank you
Hoang Vu Le (Mr.)
System Operator
Mobile: 0905 644 777
Email: hoang.le@xxxxxxxxxxxxxxxx
--------------------------------------------------
VietUnion Online Services Corporation.
65-65A - Street 3/2, W.11, D.10, HCM City
Tel: 08. 929 2827 (126) ▪ Fax: 08. 929 2826
www.vidientu.com.vn
▪ www.payoo.com.vn
--------------------------------------------------