473,856 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_fope n = 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 43240
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_o penssl.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_get addresses: 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_get addresses: 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_ge taddresses".
Mar 28 '06 #6

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

Similar topics

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 MySQL-client-4.0.14-0 I would really appreciate it. MySQL-shared-4.0.14-0 MySQL-server-4.0.14-0 MySQL-devel-4.0.14-0
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 MySql on WIN 2000. PHP is installed from the zip file. When serving php docs (code snippets below) I get the messages: "Fatal error: Call to undefined function mysql_connect() " "Fatal error: Call to undefined function mysql_pconnect() "
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 C:\Inetpub\wwwroot\CertificateOccupancy\main.php on line 33 line 33: $conn = mssql_connect(toshibo,sa,ladeda) or die ("Could Not Connect to Database"); when trying to use mssql_connect. Info.php shows that the mssql module
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 alert: Include filename is an URL in Unknown on line 0
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> allVertices ; getTriangleVertices(t, allVertices) ; //Fills the allVertices vector getTriangleVertices(t, allVertices) ; print("All Vertices", allVertices) ;
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 displays the lin Searching C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\lib\ole32.lib: when I use th /verbose:lib linker option so it's not a matter of the linker not find it as the 1171 code implies, Rather the linker is crashing...
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 command line using the following syntax i get the error linking generated for each project in the solution "%VSDIR%" "%APPDIR%\App.sln" /rebuild Debug /out build.log
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 this error and how I can fix it? Thanks in advance.
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: === ------ Build started: Project: GofBiz, Configuration: Debug .NET ------ Preparing resources...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.