Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19191

Re: PHP Errors

From "J.O. Aho" <user@example.net>
Newsgroups comp.infosystems.www.servers.unix, comp.lang.php, comp.unix.bsd.freebsd.misc
Subject Re: PHP Errors
Date 2022-12-01 09:16 +0100
Message-ID <jur67aF9e4dU1@mid.individual.net> (permalink)
References <tl86qu$1kra$92@gallifrey.nk.ca> <tlg0o7$2at3$62@gallifrey.nk.ca> <ju1sieFlmsmU1@mid.individual.net> <tljfgj$27ek$46@gallifrey.nk.ca> <tm8pd5$edm$9@gallifrey.nk.ca>

Cross-posted to 3 groups.

Show all headers | View raw


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/


-- 
  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-18 15:02 +0000
  Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-19 17:23 +0100
    Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 02:51 +0000
      Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-20 12:05 +0100
        Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 13:56 +0000
          Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-20 17:44 +0100
            Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:39 +0000
          Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-20 20:18 +0100
            Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:43 +0000
      Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-20 20:17 +0100
        Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:42 +0000
          Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-21 07:08 +0100
            Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-21 18:58 +0100
              Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-22 21:38 +0000
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-30 23:36 +0000
                Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-12-01 09:16 +0100
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-01 13:10 +0000
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-02 16:25 +0000
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-02 21:42 +0000
                Re: PHP Errors Jerry Stuckle <stuckle.jerry@gmail.com> - 2022-12-02 23:46 -0500
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-03 15:13 +0000

csiph-web