<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2FcURL</id>
	<title>PHP/cURL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2FcURL"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/cURL&amp;action=history"/>
	<updated>2026-08-24T02:58:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=PHP/cURL&amp;diff=25334&amp;oldid=prev</id>
		<title>Woozle at 16:27, 12 October 2019</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/cURL&amp;diff=25334&amp;oldid=prev"/>
		<updated>2019-10-12T16:27:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:27, 12 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==About==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==About==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page is about using [[cURL]] within [[PHP]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page is about using [[cURL]] within [[PHP]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Setup - Notes==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Setup - &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Woozle &lt;/ins&gt;Notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Getting cURL set up can be easy or not-easy, depending on various factors. I&#039;m still trying to figure out why it apparently isn&#039;t working on cloud5. Tentatively, the problem is that PHP is running v7.0 instead of v7.2 (via [[FastCGI]]), and there is no libcurl package for PHP 7.0.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Getting cURL set up can be easy or not-easy, depending on various factors. I&#039;m still trying to figure out why it apparently isn&#039;t working on cloud5. Tentatively, the problem is that PHP is running v7.0 instead of v7.2 (via [[FastCGI]]), and there is no libcurl package for PHP 7.0. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;I ultimately solved the problem by changing how PHP is invoked &amp;amp;ndash; from FastCGI, which seems to be stuck on 7.0 (and I don&#039;t know where it is configured) to directly invoking PHP 7.2 via CGI-BIN: &amp;lt;code&amp;gt;/cgi-bin/php7.2.cgi&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;PHP 5 instructions:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;PHP 5 instructions:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;2014-05-21&amp;#039;&amp;#039;&amp;#039; [https://www.digitalocean.com/community/questions/curl-is-not-installed-in-your-php-installation cURL is NOT installed in your PHP installation?]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;2014-05-21&amp;#039;&amp;#039;&amp;#039; [https://www.digitalocean.com/community/questions/curl-is-not-installed-in-your-php-installation cURL is NOT installed in your PHP installation?]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (undated) [https://gistpages.com/posts/how_to_install_curl_for_php_in_ubuntu How to Install curl for PHP in Ubuntu]: includes PHP 7 instructions, but they don&amp;#039;t work (&amp;quot;Package php7.0-curl is not available, but is referred to by another package.&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (undated) [https://gistpages.com/posts/how_to_install_curl_for_php_in_ubuntu How to Install curl for PHP in Ubuntu]: includes PHP 7 instructions, but they don&amp;#039;t work (&amp;quot;Package php7.0-curl is not available, but is referred to by another package.&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=PHP/cURL&amp;diff=25333&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;==About== This page is about using cURL within PHP. ==Setup - Notes== Getting cURL set up can be easy or not-easy, depending on various factors. I&#039;m still trying to fi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/cURL&amp;diff=25333&amp;oldid=prev"/>
		<updated>2019-10-12T14:35:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==About== This page is about using &lt;a href=&quot;/mw/index.php?title=cURL&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;cURL (page does not exist)&quot;&gt;cURL&lt;/a&gt; within &lt;a href=&quot;/PHP&quot; title=&quot;PHP&quot;&gt;PHP&lt;/a&gt;. ==Setup - Notes== Getting cURL set up can be easy or not-easy, depending on various factors. I&amp;#039;m still trying to fi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==About==&lt;br /&gt;
This page is about using [[cURL]] within [[PHP]].&lt;br /&gt;
==Setup - Notes==&lt;br /&gt;
Getting cURL set up can be easy or not-easy, depending on various factors. I&amp;#039;m still trying to figure out why it apparently isn&amp;#039;t working on cloud5. Tentatively, the problem is that PHP is running v7.0 instead of v7.2 (via [[FastCGI]]), and there is no libcurl package for PHP 7.0.&lt;br /&gt;
&lt;br /&gt;
PHP 5 instructions:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2014-05-21&amp;#039;&amp;#039;&amp;#039; [https://www.digitalocean.com/community/questions/curl-is-not-installed-in-your-php-installation cURL is NOT installed in your PHP installation?]&lt;br /&gt;
* (undated) [https://gistpages.com/posts/how_to_install_curl_for_php_in_ubuntu How to Install curl for PHP in Ubuntu]: includes PHP 7 instructions, but they don&amp;#039;t work (&amp;quot;Package php7.0-curl is not available, but is referred to by another package.&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>