473,411 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Help with Fatal error: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

Hi all i have used a script that i downloaded and uses the
fopen($url,'r'); function to access a url to retrieve data and i get
this error

Fatal error: fopen(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP?

i checked the 'allow_url_fopen = On' in php.ini and it is set to On,
and still it didn't work

Any ideas plz??

Thank you

Mar 28 '06 #1
5 43174
You have to use PHP 4.3 + and have OpenSSL .

Mar 28 '06 #2
what do u mean by having OpenSSL ( i understand the term but how do i
do it)??

Mar 28 '06 #3
change the line
;extension=php_openssl.dll to extension=php_openssl.dll
in php.ini file.
simply remove ";" char.

if it wont work. you can create ssl:// connection with fsockopen()
function then you can use fopen().

Mar 28 '06 #4
i tried the fsockopen() but i got this :
Fatal error: fsockopen(): php_network_getaddresses: gethostbyname
?????

any suggestions??

Mar 28 '06 #5
Please quote previous replies when replying with your own comments.
There is no guarantee that your answer, below, will stay in context with
the original posting(s).

Meena wrote:
i tried the fsockopen() but i got this :
Fatal error: fsockopen(): php_network_getaddresses: gethostbyname
?????

Looks like either a lookup problem or potentially a known bug in earlier
versions of PHP. If using the IP address of the host fails in the same
manner, see if you can capture the full failure, and compare with
similar reports on bugs.php.net.

Google for "php_network_getaddresses".
Mar 28 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BT | last post by:
Hi .. a newbie question. I get the following error: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 3. I have the following RPMS installed on RH7.2...
4
by: gc | last post by:
I'm a PHP and MySQL newbie. I have a feeling a lot of you may have seen this before. I'm teaching myself PHP/MySQL and trying to setup a guestbook. I'm running latest versions of Apache, PHP and...
4
by: Biffo | last post by:
I have PHP Version 5.0.3 installed on Windows XP Pro with IIS as the webserver. All is working well, except I get a - Fatal error: Call to undefined function mssql_connect() in...
4
by: Rafal Zawadzki | last post by:
Hello, I am using php5 and I've got this piece of code: include ('http://something.somewhere/file.php?a=act') PHP instead of including file five me: PHP Fatal error: Unknown: Security...
1
by: Adam Teasdale Hartshorne | last post by:
I would be extremely grateful if somebody could tell me what as I getting wrong with this little bit of code to find the index of a particular element in a std::vector std::vector<int>...
0
by: jrainey | last post by:
I recieve "LINK : fatal error LNK1171: unable to load ole32.dll" when compliling/linking my project some times Any one else have this problem. The file is in the right place and the output window...
0
by: bb | last post by:
I am running VS.NET 2003 VC71 I have a vs.net solution file which has two vc++ project files When i compile from within the VS.NET IDE eveything compiles fine When i try and compile from the...
1
by: K7211 | last post by:
Hi, I've been trying to use Visual C++.NET, but whenever I try to build a solution I get this error message, fatal error C1108: unable to find DLL: 'alink.dll' Does anyone know what causes...
4
by: hb | last post by:
Hi, I have been working on the ASP.Net project for months with VS.Net 2003 in C#. But this afternoon I suddenly got the following error when I tied to compile the whole solution: === ------...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.