Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8904311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:05:54+00:00 2026-06-15T02:05:54+00:00

I enabled php in my MAC osX and normal php codes works fine ,

  • 0

I enabled php in my MAC osX and normal php codes works fine , but I got one strange error today

<?php 
$hi = file_get_contents("https://ojooo.com");
echo $hi;
?>

For the above code i get below error on my local server.But above code is working fine on my Hosting.

Warning: file_get_contents() [function.file-get-contents]: SSL operation failed with code 1. OpenSSL Error messages: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112) in /Library/WebServer/Documents/hi/index.php on line 2

Warning: file_get_contents() [function.file-get-contents]: Failed to enable crypto in /Library/WebServer/Documents/hi/index.php on line 2

Warning: file_get_contents(https://ojooo.com) [function.file-get-contents]: failed to open stream: operation failed in /Library/WebServer/Documents/hi/index.php on line 2

the normal file_get_content(https://yahoo.com); is working fine.Please some one help me

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:05:55+00:00Added an answer on June 15, 2026 at 2:05 am

    The problem is this site you try to call redirects to SSL(https). And then you need the php_openssl.dll module. Otherwise its not working.

    Edit your active php.ini find the line:

    ;extension=php_openssl.dll

    and uncomment it.

    Edit:

    you can make an phpinfo() and look at the top of the output. There you can see which php.inifile is loaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to enable php_posix functions support for php 5.3.6 on Mac OsX 10.6.
I have a PHP enabled site, with directory-listing turned off. But, when I used
I have enabled PHP 5.3.2 and Apache 2.2.14 on my install of Mac OS
I have PHP 5.1.6 running with a ton of mods and extensions enabled, is
I am trying to use PHP session without using cookies. I have enabled session.use_trans_sid
I have installed WAMP and running PHP scripts on localhost. I have enabled cURL.
Could any one tell me how to enable SOCKET support in PHP ?
I enabled heap debugging because of a memory leak error I started seeing in
I have snow leopard which apparently has php with pear pre-installed. I enabled php
I've got a CMS to fix some issues. Since the hosting service has enabled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.