<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; curl</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/curl/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下PHP安装curl扩展支持https</title>
		<link>https://www.osyunwei.com/archives/9254.html</link>
		<comments>https://www.osyunwei.com/archives/9254.html#comments</comments>
		<pubDate>Fri, 25 Sep 2015 03:08:50 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=9254</guid>
		<description><![CDATA[问题： 线上运行的lamp服务器，默认yum安装的curl模块只支持http，不支持https。 解决方法： 编译安装curl，重新编译php，使php的curl模块支持https。 具体步骤： 1、下载curl cd /usr/local/src  #进入安装包存放目录 wget http://curl.haxx.se/download/curl-7.44.0.tar.gz  #下载 2、安装curl cd /usr/local/src tar zxvf curl-7.44.0.tar.gz  #解压 cd curl-7.44.0  #进入包安装目录 ./configure --prefix=/usr/local/curl --with-gssapi --enable-tls-srp --with-libmetalink  #配置 make  #编译 make install  #安装 3、重新编译php 查找系统之前的php编译参数 /usr/local/php/bin/php -i &#124; grep configure    #查看php编译参数 如下： './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-mysql-sock=/tmp/mysql.sock' '--with-pdo-mysql=/usr/local/mysql' '--with-gd' '--with-png-dir=/usr/local/libpng' '--with-jpeg-dir=/usr/local/jpeg' '--with-freetype-dir=/usr/local/freetype' [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/9254.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/9254.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
