Re: PHP Errors
[email protected] (The Doctor)
| Newsgroups | comp.infosystems.www.servers.unix,comp.lang.php,comp.unix.bsd.freebsd.misc |
|---|---|
| Organization | NetKnow News |
| Message-ID | <[email protected]> |
In article <[email protected]>, The Doctor <[email protected]> wrote: >In article <[email protected]>, >J.O. Aho <[email protected]> wrote: >>On 01/12/2022 00.36, The Doctor wrote: >> >>> php testcode.php >>> Failed loading >>/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot >>open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so" >> >>You should remove the loading of a module you don't use? Check your >>/etc/php or where you have your php config files. >> >>> curl seems to work PHP Warning: file_get_contents(): SSL operation >>failed with code 1. OpenSSL Error messages: >>> error:1416F086:SSL routines:tls_process_server_certificate:certificate >>verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on >>line 15 >>> PHP Warning: file_get_contents(): Failed to enable crypto in >>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15 >>> PHP Warning: file_get_contents(https://raw.github.com/s9y/additional_p >>... bar_en.xml): failed to open stream: operation failed in >>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15 >>> HTTP_Request2_ConnectionException: Unable to connect to >>tls://raw.github.com:443. Error: stream_socket_client(): unable to >>connect to tls://raw.github.com:443 (Unknown error) >>> stream_socket_client(): Failed to enable crypto >>> stream_socket_client(): SSL operation failed with code 1. OpenSSL >>Error messages: >>> error:1416F086:SSL routines:tls_process_server_certificate:certificate >>verify failed in >>/usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331 >> >>> error:1416F086:SSL >>routines:tls_process_server_certificate:certificate verify failed in >>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15 >>> I assume there is something misconfigured, either the local cert >>collection is missing or can't be read by PHP. The server time is set >>correctly, right? >> >>Do you have the right package installed for ca certificates? Seems >>FreeBSD changed ca-root to ca_root_nss, see >>http://ootput.github.io/2011/09/25/ca-certificates-in-freebsd/ >> >Will do! > >> >>-- >> //Aho > Finally found the solution. in your php.ini file set up the cainfo settings. Problem solved! > >-- >Member - Liberal International This is [email protected] Ici [email protected] >Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! >Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b >Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com -- Member - Liberal International This is [email protected] Ici [email protected] Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com