<?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>宝塔 &#8211; JACOB&#039;S WIKI</title>
	<atom:link href="https://www.wiki101.cf/tag/%E5%AE%9D%E5%A1%94/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wiki101.cf</link>
	<description>WIKI FOR PROJECTS INFORMATIONS AND LEARNING RECORDER.</description>
	<lastBuildDate>Wed, 25 Feb 2026 02:36:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>宝塔计划任务删除后仍然在运行</title>
		<link>https://www.wiki101.cf/482/</link>
					<comments>https://www.wiki101.cf/482/#respond</comments>
		
		<dc:creator><![CDATA[jacobren]]></dc:creator>
		<pubDate>Sun, 30 Apr 2023 00:58:10 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[宝塔]]></category>
		<guid isPermaLink="false">https://www.wiki101.cf/?p=482</guid>

					<description><![CDATA[删除，root文件里面的脚本即可，路径如下： /var/spool/cron/root 或者 /var/spool/cron/crontabs/root]]></description>
										<content:encoded><![CDATA[
<p>删除，root文件里面的脚本即可，路径如下：</p>



<p>/var/spool/cron/root</p>



<p>或者</p>



<p>/var/spool/cron/crontabs/root</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wiki101.cf/482/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>宝塔 ngnix安装brotli 模块</title>
		<link>https://www.wiki101.cf/839/</link>
					<comments>https://www.wiki101.cf/839/#respond</comments>
		
		<dc:creator><![CDATA[jacobren]]></dc:creator>
		<pubDate>Sat, 13 Dec 2025 09:00:41 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[宝塔]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ngnix]]></category>
		<guid isPermaLink="false">https://www.wiki101.cf/?p=839</guid>

					<description><![CDATA[1，备份 Nginx 二进制文件 mv /www/server/nginx/sbin/nginx /www/server/nginx/sbin/nginx.bak 2，备份 Nginx 配置文件 cp -r /www/server/nginx/conf /www/server/nginx/conf.bak 3， 下载和解压必要的源码，Nginx、PCRE..]]></description>
										<content:encoded><![CDATA[
<p></p>



<p>1，<strong>备份 Nginx 二进制文件</strong></p>



<p>mv /www/server/nginx/sbin/nginx /www/server/nginx/sbin/nginx.bak</p>



<p>2，<strong>备份 Nginx 配置文件</strong></p>



<p>cp -r /www/server/nginx/conf /www/server/nginx/conf.bak</p>



<p>3，<strong> 下载和解压必要的源码，</strong>Nginx、PCRE 和 OpenSSL 的源码</p>



<p>wget http://nginx.org/download/nginx-1.18.0.tar.gz</p>



<p>tar -zxvf nginx-1.18.0.tar.gz</p>



<p>cd nginx-1.18.0</p>



<p>wget https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz</p>



<p>tar -zxvf pcre-8.43.tar.gz</p>



<p>wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1g.tar.gz</p>



<p>tar -zxvf openssl-1.1.1g.tar.gz</p>



<p>4，<strong>下载并编译 ngx_brotli 模块</strong></p>



<p>cd /www/server</p>



<p>git clone &#8211;recurse-submodules -j8 https://github.com/google/ngx_brotli.git</p>



<p>5，在 Nginx 源码目录中，运行 ./configure，如下全部参数</p>



<p>./configure \</p>



<p>&#8211;user=www \</p>



<p>&#8211;group=www \</p>



<p>&#8211;prefix=/www/server/nginx \</p>



<p>&#8211;add-module=/www/server/nginx/src/ngx_devel_kit \</p>



<p>&#8211;add-module=/www/server/nginx/src/lua_nginx_module \</p>



<p>&#8211;add-module=/www/server/nginx/src/ngx_cache_purge \</p>



<p>&#8211;add-module=/www/server/nginx/src/nginx-sticky-module \</p>



<p>&#8211;with-openssl=/www/server/nginx-1.18.0/openssl-1.1.1g \</p>



<p>&#8211;with-pcre=/www/server/nginx-1.18.0/pcre-8.43 \</p>



<p>&#8211;with-http_v2_module \</p>



<p>&#8211;with-stream \</p>



<p>&#8211;with-stream_ssl_module \</p>



<p>&#8211;with-stream_ssl_preread_module \</p>



<p>&#8211;with-http_stub_status_module \</p>



<p>&#8211;with-http_ssl_module \</p>



<p>&#8211;with-http_image_filter_module \</p>



<p>&#8211;with-http_gzip_static_module \</p>



<p>&#8211;with-http_gunzip_module \</p>



<p>&#8211;with-ipv6 \</p>



<p>&#8211;with-http_sub_module \</p>



<p>&#8211;with-http_flv_module \</p>



<p>&#8211;with-http_addition_module \</p>



<p>&#8211;with-http_realip_module \</p>



<p>&#8211;with-http_mp4_module \</p>



<p>&#8211;with-ld-opt=-Wl,-E \</p>



<p>&#8211;with-cc-opt=-Wno-error \</p>



<p>&#8211;with-ld-opt=-ljemalloc \</p>



<p>&#8211;with-http_dav_module \</p>



<p>&#8211;add-module=/www/server/nginx/src/nginx-dav-ext-module \</p>



<p>&#8211;add-module=/www/server/ngx_brotli</p>



<p>6，<strong>编译和安装 Nginx</strong></p>



<p>make（很长时间）</p>



<p>make install</p>



<p>7，<strong>替换旧的 Nginx 二进制文件</strong></p>



<p>cp objs/nginx /www/server/nginx/sbin/</p>



<p>8，在Nginx中，<strong>配置 Brotli 压缩</strong></p>



<p>brotli on;</p>



<p>brotli_comp_level 6;</p>



<p>brotli_static on;</p>



<p>brotli_types text/plain text/css application/javascript application/json application/xml+rss image/svg+xml application/font-woff2;</p>



<p>9，<strong>重启 Nginx</strong></p>



<p>/www/server/nginx/sbin/nginx -s stop</p>



<p>/www/server/nginx/sbin/nginx</p>



<p>10，验证<strong>Brotli 模块</strong></p>



<p>/www/server/nginx/sbin/nginx -V</p>



<p>如果看到 &#8211;add-module=/www/server/ngx_brotli，则表示模块已成功加载</p>



<p>在浏览器中访问你的网站，通过开发者工具查看响应头，确认 content-encoding 是否包含 br。如果包含，则表示 Brotli 压缩已成功启用。</p>



<p>curl -I -H &#8220;Accept-Encoding: br&#8221; https://www.cchatty.com/index.html</p>



<p>11，<strong>如果出现问题</strong></p>



<p><strong>1）停止当前的 Nginx 服务</strong></p>



<p>/www/server/nginx/sbin/nginx -s stop</p>



<p><strong>2）恢复旧的 Nginx 二进制文件</strong></p>



<p>mv /www/server/nginx/sbin/nginx.bak /www/server/nginx/sbin/nginx</p>



<p><strong>3）重新启动 Nginx</strong></p>



<p>/www/server/nginx/sbin/nginx</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wiki101.cf/839/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>宝塔插件 &#8211; 网站监控报表，log文件夹迁移。从系统盘移动到数据盘。</title>
		<link>https://www.wiki101.cf/91/</link>
					<comments>https://www.wiki101.cf/91/#respond</comments>
		
		<dc:creator><![CDATA[jacobren]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 01:19:24 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[宝塔]]></category>
		<guid isPermaLink="false">https://www.wiki101.cf/?p=91</guid>

					<description><![CDATA[ 宝塔 7.6.0 纯净版 网站监控报表 5.8 1，在需要的目录新建logs文件夹。 /data/total/logs 2，修改这3个文件。将默认目录修改为自己需要的目录， /www/server/total/config.json /www/server/total/total_config.lua /www/server/panel/plugin/total/total_migrate.py 比如：修改以上3个文件中的目录（只修改logs目录）：/www/server/total/logs 默认目录，系统盘，修改为：&#160;/data/total/logs 修改后的自己需要的目录，数据盘]]></description>
										<content:encoded><![CDATA[
<p> 宝塔 7.6.0 纯净版</p>



<p>网站监控报表 5.8</p>



<p></p>



<p></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>1，在需要的目录新建logs文件夹。</p>



<p>/data/total/logs</p>



<p></p>



<p>2，修改这3个文件。将默认目录修改为自己需要的目录，</p>



<p>/www/server/total/config.json</p>



<p>/www/server/total/total_config.lua</p>



<p>/www/server/panel/plugin/total/total_migrate.py</p>



<p>比如：修改以上3个文件中的目录（只修改logs目录）：<br>/www/server/total/logs 默认目录，系统盘，修改为：&nbsp;/data/total/logs 修改后的自己需要的目录，数据盘</p>



<p></p>



<pre class="wp-block-code"><code class="">1, /www/server/total/config.json</code></pre>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="172" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-1024x172.png" alt="" class="wp-image-150" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-1024x172.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-300x50.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-768x129.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-1536x258.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-7-2048x344.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<pre class="wp-block-code"><code class="">2, /www/server/total/total_config.lua</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="439" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-8-1024x439.png" alt="" class="wp-image-151" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-8-1024x439.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-8-300x129.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-8-768x329.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-8.png 1469w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<pre class="wp-block-code"><code class="">3, /www/server/panel/plugin/total/total_migrate.py</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="577" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-9-1024x577.png" alt="" class="wp-image-152" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-9-1024x577.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-9-300x169.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-9-768x433.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-9.png 1369w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="562" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-10-1024x562.png" alt="" class="wp-image-153" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-10-1024x562.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-10-300x165.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-10-768x421.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-10-1536x843.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-10.png 1617w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="492" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-11-1024x492.png" alt="" class="wp-image-154" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-11-1024x492.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-11-300x144.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-11-768x369.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-11-1536x738.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-11.png 1605w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="556" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-12-1024x556.png" alt="" class="wp-image-155" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-12-1024x556.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-12-300x163.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-12-768x417.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-12-1536x833.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-12.png 1622w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="529" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-13-1024x529.png" alt="" class="wp-image-156" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-13-1024x529.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-13-300x155.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-13-768x397.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-13-1536x794.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-13.png 1629w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="529" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-14-1024x529.png" alt="" class="wp-image-157" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-14-1024x529.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-14-300x155.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-14-768x397.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-14.png 1497w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="555" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-15-1024x555.png" alt="" class="wp-image-158" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-15-1024x555.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-15-300x163.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-15-768x416.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-15.png 1533w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="432" src="https://www.wiki101.cf/wp-content/uploads/2022/11/image-16-1024x432.png" alt="" class="wp-image-159" srcset="https://www.wiki101.cf/wp-content/uploads/2022/11/image-16-1024x432.png 1024w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-16-300x127.png 300w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-16-768x324.png 768w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-16-1536x648.png 1536w, https://www.wiki101.cf/wp-content/uploads/2022/11/image-16.png 1613w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wiki101.cf/91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>宝塔纯净版</title>
		<link>https://www.wiki101.cf/6/</link>
					<comments>https://www.wiki101.cf/6/#respond</comments>
		
		<dc:creator><![CDATA[jacobren]]></dc:creator>
		<pubDate>Tue, 25 Oct 2022 11:26:41 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[宝塔]]></category>
		<guid isPermaLink="false">https://www.wiki101.cf/?p=6</guid>

					<description><![CDATA[方法1，宝塔纯净版 7.6.0版本 [稳定版本/推荐] Centos全新安装命令： 根据系统执行框内命令开始安装（大约2分钟完成面板安装）升级后可能需要重启面板 Ubuntu/Deepin全新安装命令： Debian全新安装命令： Fedora全新安装命令： 官方版本升级代码/修复面板： 已经安装官方面板，执行下列命令升级到7.6.0纯净版：（老吴站长亲测，完美转换！不过还是要提前备份好所有数据） 其他非官方版本升级： (含开心版、快乐版、纯净版等 7.4.5至7.6.0版本之间所有版本均可)，执行下列命令升级到7.6.0纯净版： 任意非官方版本还原到官方最新版： curl..]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">方法1，宝塔纯净版 7.6.0版本 [稳定版本/推荐]</h2>



<h2 class="wp-block-heading">Centos全新安装命令：</h2>



<p>根据系统执行框内命令开始安装（大约2分钟完成面板安装）升级后可能需要重启面板</p>



<pre class="wp-block-code"><code class="">yum install -y wget &amp;&amp; wget -O install.sh http://v7.hostcli.com/install/install_6.0.sh &amp;&amp; sh install.sh</code></pre>



<h2 class="wp-block-heading">Ubuntu/Deepin全新安装命令：</h2>



<pre class="wp-block-code"><code class="">wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh &amp;&amp; sudo bash install.sh</code></pre>



<h2 class="wp-block-heading">Debian全新安装命令：</h2>



<pre class="wp-block-code"><code class="">wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh &amp;&amp; bash install.sh</code></pre>



<h2 class="wp-block-heading">Fedora全新安装命令：</h2>



<pre class="wp-block-code"><code class="">wget -O install.sh http://v7.hostcli.com/install/install_6.0.sh &amp;&amp; bash install.sh</code></pre>



<h2 class="wp-block-heading">官方版本升级代码/修复面板：</h2>



<p>已经安装官方面板，执行下列命令升级到7.6.0纯净版：（老吴站长亲测，完美转换！不过还是要提前备份好所有数据）</p>



<pre class="wp-block-code"><code class="">curl http://v7.hostcli.com/install/update6.sh|bash</code></pre>



<h2 class="wp-block-heading">其他非官方版本升级：</h2>



<p>(含开心版、快乐版、纯净版等 7.4.5至7.6.0版本之间所有版本均可)，执行下列命令升级到7.6.0纯净版：</p>



<pre class="wp-block-code"><code class="">curl http://v7.hostcli.com/install/update6.sh|bash</code></pre>



<h2 class="wp-block-heading">任意非官方版本还原到官方最新版：</h2>



<h2 class="wp-block-heading">curl http://download.bt.cn/install/update6.sh|bash</h2>



<p>&#8212;</p>



<h2 class="wp-block-heading">一：脚本卸载</h2>



<p>你需要先在面板中将通过面板安装的所有软件卸载，如 nginx、mysql、php 等等，然后，进入 SSH 命令行，输入以下命令：</p>



<h2 class="wp-block-heading">/etc/init.d/bt stop &amp;&amp; rm -f /etc/init.d/bt &amp;&amp; rm -rf /www/server/panel</h2>



<p>这样卸载已经完成，我们可以试着去打开面板，发现已经打不开了。</p>



<h2 class="wp-block-heading">二：脚本卸载</h2>



<p>还是脚本卸载，不过这个更暴力一点，直接是都卸载，命令如下：</p>



<p></p>



<pre class="wp-block-code"><code class="">wget http://download.bt.cn/install/bt-uninstall.sh</code></pre>



<pre class="wp-block-code"><code class="">sh bt-uninstall.sh</code></pre>



<p></p>



<p>这样就完全卸载了整个面板以及环境。</p>



<h2 class="wp-block-heading">三：后续的解决 （不要删！！！）</h2>



<p>虽然卸载了面板以及面板环境，可是，系统还是会残留一些文件的，比如 www 目录，网站文件，</p>



<p>如果不需要刻意删除，防止安装别的面时候出现一些错误，如何删除，我们可以用命令：</p>



<pre class="wp-block-code"><code class="">rm –rf www</code></pre>



<p>强制删除 www 文件夹</p>



<p></p>



<h2 class="wp-block-heading">方法2，宝塔国际版aapanel</h2>



<p>https://www.aapanel.com/new/index.html</p>



<pre class="wp-block-code"><code class="">yum install -y wget &amp;&amp; wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh &amp;&amp; bash install.sh aapanel</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wiki101.cf/6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>宝塔安装php7以上的版本都失败(Ubuntu 22.04.1)</title>
		<link>https://www.wiki101.cf/10/</link>
					<comments>https://www.wiki101.cf/10/#respond</comments>
		
		<dc:creator><![CDATA[jacobren]]></dc:creator>
		<pubDate>Tue, 25 Oct 2022 11:32:52 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[宝塔]]></category>
		<guid isPermaLink="false">https://www.wiki101.cf/?p=10</guid>

					<description><![CDATA[原因：安装了宝塔纯净版之后，只能安装php 7.0。宝塔纯净版可能用了aapanel的代码，然而 aapanel 又不支持 Ubuntu 22，只支持 Ubuntu 20。导致，php 7.1 及之后的 php 版本都无法安装。 狂雨CMS 只支持 php7.2，不支持..]]></description>
										<content:encoded><![CDATA[
<p>原因：安装了宝塔纯净版之后，只能安装php 7.0。宝塔纯净版可能用了aapanel的代码，然而 aapanel 又不支持 Ubuntu 22，只支持 Ubuntu 20。<br>导致，php 7.1 及之后的 php 版本都无法安装。</p>



<p>狂雨CMS 只支持 php7.2，不支持 php7.4。（php7.4报错，Array and string offset access syntax with curly braces is deprecated）</p>



<p>同样的原因，也此版本安装mysql5.5 以上版本都失败，只能安装mysql 5.5</p>



<p>解决方案：先用宝塔官方版本，安装php7.x 或者 8.x，再破解宝塔，安装纯净版。可以把常用的php版本都安装上。</p>



<p>安装失败的log</p>



<pre class="wp-block-code"><code>/www/server/php/74/src/ext/intl/breakiterator/breakiterator_class.cpp:23:
/www/server/php/74/src/ext/intl/breakiterator/codepointiterator_internal.h:42:31: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&amp;) const’
   42 |                 virtual UBool operator==(const BreakIterator&amp; that) const;
      |                               ^~~~~~~~
In file included from /www/server/php/74/src/ext/intl/breakiterator/breakiterator_class.cpp:21:
/usr/include/unicode/brkiter.h:127:18: note: overridden function is ‘virtual bool icu_70::BreakIterator::operator==(const icu_70::BreakIterator&amp;) const’
  127 |     virtual bool operator==(const BreakIterator&amp;) const = 0;
      |                  ^~~~~~~~
make: *** &#91;Makefile:1164: ext/intl/breakiterator/breakiterator_class.lo] Error 1
========================================================
Ubuntu 22.04.1 LTS 
 \l
Bit:64 Mem:23988M Core:4 gcc:11.2.0 cmake:3.22.1
Linux 5.15.0-1021-oracle aarch64
ERROR: php-7.4.21 install failed.</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wiki101.cf/10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
