can you count the letter "r" in:
q: php curl not sending/receiving any data - undefined symbol: pr_getenvsecure curl has stopped working for me. 
i ran some updates on my aws ec2 server yesterday so i have a feeling that is the cause but i can't figure it out. 
i am mainly using curl to add people to various mailchimp lists. none of these scripts are working now and i am getting browser errors about the connection not being secure: 
"the page you are trying to view cannot be shown because the authenticity of the received data could not be verified."
i am also getting the following error in my apache error logs which looks related: 
/usr/sbin/httpd: symbol lookup error: /usr/lib64/libnsssysinit.so: undefined symbol: pr_getenvsecure
curl is installed etc (see screenshot) and when i use curl from the command line on my web server the remote server talks back to me... so there is no problem there. 
any assistance much appreciated.
danny.
  // set api key and list id to add a subscriber
  $api_key = 'api key';
  $list_id = 'our list id';
  $dc = 'data center';

  /* ================
   * destination url
   * ================
   */

  $url = 'https://' . $dc . '.api.mailchimp.com/3.0/lists/' . $list_id . '/members/';

  /* ================
   * data setup
   * ================
   */

  $pfb_data = array(
    'email_address' => 'some.email@gmail.com',
    'status'        => 'pending',
    'merge_fields'  => array(
      'fname'       => 'first name',
      'lname'       => 'last name',
    ),
    'interests' => array( 'interest list id' => true )
  );

  // encode the data
  $encoded_pfb_data = json_encode($pfb_data);

  // setup curl sequence
  $ch = curl_init();

  /* ================
   * curl options
   * the tricky one here is the _userpwd - this is how you transfer the api key over
   * _returntransfer allows us to get the response into a variable which is nice
   * this example just posts, we don't edit/modify - just a simple add to a list
   * _postfields does the heavy lifting
   * _ssl_verifypeer should probably be set but i didn't do it here
   * ================
   */
  curl_setopt($ch, curlopt_url, $url);
  curl_setopt($ch, curlopt_userpwd, 'user:' . $api_key);
  curl_setopt($ch, curlopt_httpheader, array('content-type: application/json'));
  curl_setopt($ch, curlopt_returntransfer, true);
  curl_setopt($ch, curlopt_timeout, 10);
  curl_setopt($ch, curlopt_post, 1);
  curl_setopt($ch, curlopt_postfields, $encoded_pfb_data);
  curl_setopt($ch, curlopt_ssl_verifypeer, false);

  $results = curl_exec($ch); // store response
  $response = curl_getinfo($ch, curlinfo_http_code); // get http code
  $errors = curl_error($ch); // store errors

  curl_close($ch);

  // returns info back to jquery .ajax or just outputs onto the page

  $results = array(
    'results' => $result_info,
    'response' => $response,
    'errors' => $errors
  );

  // sends data back to the page or the ajax() in your js
  echo json_encode($results);

enter image description here

a: apparently the problem was a recently published an update to the nss package for centos 7 systems which was resulting in an aache error
/usr/sbin/httpd: symbol lookup error: /lib64/libnsssysinit.so: undefined symbol: pr_getenvsecure
the issue was resolved by restarting the apache and fpm services.
i resolved the problem by restarting my ec2 instance. 

user
I counted 186 "r"s in that text.
assistant