<?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>php &#8211; ~</title>
	<atom:link href="https://moneyslow.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description></description>
	<lastBuildDate>Sun, 20 Oct 2024 13:51:21 +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>Affiliate php redirect script</title>
		<link>https://moneyslow.com/affiliate-php-redirect-script.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sun, 20 Oct 2024 13:51:19 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=19402</guid>

					<description><![CDATA[If you use php to redirect you affiliate url ,use this script: This script can hide you real website such as http://moneyslow.com/aff?xxx url , so it's very graceful]]></description>
		
		
		
			</item>
		<item>
		<title>2024年如何安装Linux, Nginx, MySQL, PHP (LEMP stack) wordpress on Ubuntu22.04</title>
		<link>https://moneyslow.com/2024%e5%b9%b4%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85linux-nginx-mysql-php-lemp-stack-on-ubuntu22-04.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Wed, 16 Oct 2024 07:57:22 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=19346</guid>

					<description><![CDATA[新装的ubuntu22.04 (在interserver购买的vps) ，下面步骤直接操作： apt updateapt install nginx 查看防火墙的可配置文件的选项，便于后面的规则添加： 和防火墙的现在的运行状态： inactive表示防火墙并没有启用，把它开启，先开启ssh，别把自己关到外面，再配置web服务器，还没有签证书，只开80端口就可以： 这样，防火墙开启了，并且有了2条规则，80和22 查看自己的ip：curl -4 icanhazip.com ，此时可以通过ip访问nginx 下面安装mysql： apt -y install mysql-server 运行 mysql_secure_installation 安全配置，安全最重要！！！ 直接就可以进入mysql： 下面安装php： apt -y install php8.1-fpm php-mysql 先看看nginx的启动用户是哪个： 下面配置nginx的php解析，就使用用户www-data mkdir -p /var/www/us.moneyslow.comchown -R www-data:www-data /var/www/us.moneyslow.com 我们只用/etc/nginx/conf.d下的配置文件，其他地方的都删掉： # rm -rf /etc/nginx/sites-enabled/# rm -rf /etc/nginx/sites-available/ vi /etc/nginx/conf.d/us.moneyslow.conf 测试配置文件，并重启nginx： 在/var/www/us.moneyslow.com目录下创建一个php的测试文件：index.php 可以访问到php页面： 这样基本就ok了，更详细的测试数据库的文档可以参考： https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu 如果进一步安装wordpress，可以参考： https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-22-04]]></description>
		
		
		
			</item>
		<item>
		<title>ubuntu22.04安装php7(或者升级到php8.2)</title>
		<link>https://moneyslow.com/ubuntu22-04%e5%ae%89%e8%a3%85php7.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 02 Mar 2024 11:50:37 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=17826</guid>

					<description><![CDATA[ubuntu操作系统下安装php7版本]]></description>
		
		
		
			</item>
		<item>
		<title>Nginx头信息中x-powered-by如何去掉隐藏PHP版本 version 8/7/5</title>
		<link>https://moneyslow.com/nginx%e5%a4%b4%e4%bf%a1%e6%81%af%e4%b8%adx-powered-by%e5%a6%82%e4%bd%95%e5%8e%bb%e6%8e%89%e9%9a%90%e8%97%8fphp%e7%89%88%e6%9c%ac-version-8-7-5.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Mon, 27 Nov 2023 00:32:17 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=16974</guid>

					<description><![CDATA[加固nginx和php，隐藏php的版本]]></description>
		
		
		
			</item>
		<item>
		<title>php mysql 插入单引号报错right syntax to use near &#039;s formula</title>
		<link>https://moneyslow.com/php-mysql-%e6%8f%92%e5%85%a5%e5%8d%95%e5%bc%95%e5%8f%b7%e6%8a%a5%e9%94%99right-syntax-to-use-near-s-formula.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Thu, 07 Apr 2022 11:59:34 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14985</guid>

					<description><![CDATA[解决办法，需要用addslashes函数处理一下，代码： 解决了。]]></description>
		
		
		
			</item>
		<item>
		<title>Warning: Use of undefined constant CHARSET - assumed ‘CHARSET’ (this will throw an Error in a future version of PHP)解决办法</title>
		<link>https://moneyslow.com/warning-use-of-undefined-constant-charset-assumed-charset-this-will-throw-an-error-in-a-future-version-of-php%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Thu, 07 Apr 2022 02:28:37 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14983</guid>

					<description><![CDATA[php环境配置： 有些程序员力求完美，总想暴露所有的错误并解决，于是设置为 error_reporting(E_ALL);这种情况下，由于php版本变化引发的warning报错就很平常见到，比如： php代码出错的地方： php7.2以上把所有的没有加单引号的值都看成了常量，所以改为： 就好了。]]></description>
		
		
		
			</item>
		<item>
		<title>php的万能换行符PHP_EOL</title>
		<link>https://moneyslow.com/php%e7%9a%84%e4%b8%87%e8%83%bd%e6%8d%a2%e8%a1%8c%e7%ac%a6php_eol.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Thu, 07 Apr 2022 01:34:53 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14980</guid>

					<description><![CDATA[常量官方参考：http://cn.php.net/manual/en/reserved.constants.php 对于换行符，各个操作系统各自为政。 unix/Linux 用 \nwindows系列用 \r\nmac用 \r PHP中可以用PHP_EOL来替代，以提高代码的源代码级可移植性如： 类似常用的还有DIRECTORY_SEPARATOR可以用函数get_defined_constants()来获取所有PHP常量]]></description>
		
		
		
			</item>
		<item>
		<title>wordpress上传文件超过了站点的最大上传限制--迅速解决！</title>
		<link>https://moneyslow.com/wordpress%e4%b8%8a%e4%bc%a0%e6%96%87%e4%bb%b6%e8%b6%85%e8%bf%87%e4%ba%86%e7%ab%99%e7%82%b9%e7%9a%84%e6%9c%80%e5%a4%a7%e4%b8%8a%e4%bc%a0%e9%99%90%e5%88%b6-%e8%bf%85%e9%80%9f%e8%a7%a3%e5%86%b3%ef%bc%81.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sun, 13 Sep 2020 10:34:03 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=11482</guid>

					<description><![CDATA[改php和nginx 的配置文件： php相关就是 php.ini file_uploads = on ; upload_max_filesize = 20M; post_max_size = 20; post上限,一般来说，post_max_size设置要比upload_max_filesize稍大一些 还需要根据实际情况调整下面的选项 max_execution_time = 180; 脚本最大执行时间（秒），过短会导致文件还没上传完脚本就停止了 max_input_time = 180; 请求最大传输时间，过短会导致文件还没上传完传输就停止了 memory_limit = 128M; 内存上限 nginx相关就是nginx.conf nginx 如果上传文件时超过了nginx限制，就会返回一个“413 Request Entity Too Large”的错误 在http{}中添加一个client_max_body_size 20m;配置项；]]></description>
		
		
		
			</item>
		<item>
		<title>ubuntu 16/18 上安装php7.0/7.1/7.2/7.3/7.4方法</title>
		<link>https://moneyslow.com/ubuntu-16-18-%e4%b8%8a%e5%ae%89%e8%a3%85php7-0-7-1-7-2-7-3-7-4%e6%96%b9%e6%b3%95.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Tue, 29 Oct 2019 16:11:16 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utuntu]]></category>
		<category><![CDATA[互联网技术]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=9395</guid>

					<description><![CDATA[先看重点：CAVEATS: 1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman 2. If you are using apache2, you are advised to add ppa:ondrej/apache2 3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline or ppa:ondrej/nginx 通过下列命令安装PHP 7.3 $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:ondrej/php $ sudo apt-get update $ sudo [&#8230;]]]></description>
		
		
		
			</item>
	</channel>
</rss>
