- 博客(26)
- 收藏
- 关注
原创 linux安装php多版本
编译安装完成后cp php.ini-production /usr/local/php72/etc/php.ini (多版本extension_dir找对应的ext目录)cp /usr/local/php72/etc/php-fpm.conf.default php-fpm.confcp /usr/local/php72/etc/php-fpm.d/www.conf.default www.conf (多版本listen不能一样)把PHP加入环境变量在/etc/profile文件末尾加上如下两行代码
2025-03-20 09:22:17
553
原创 laravel 解决报错: Please provide a valid cache path
laravel缓存文件路径是在 config/cache.php中设置,默认存在storage文件夹中。需要保证storage/framework下面创建。这是因为laravel的缓存路径没有找到。文件夹并确保可写权限。
2024-12-13 15:00:54
517
原创 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stoc
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
2024-11-19 09:55:41
167
原创 linux 限制指定的ip 访问
如: iptables -I INPUT -s 123.233.102.205 -j DROP。iptables -I INPUT -s 限制的ip -j DROP。
2023-11-08 13:43:03
187
1
原创 WebSocket connection to failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
socket.php:53 WebSocket connection to 'ws:///' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
2023-07-19 14:14:19
4484
原创 error: Could not find net-snmp-config binary. Please check your net-snmp installation.
error: Could not find net-snmp-config binary. Please check your net-snmp installation.
2022-07-20 23:50:57
671
原创 http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated‘ 错误
http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated'
2022-07-14 09:49:09
2015
原创 composer update composer install更新失败
composer update composer install更新失败
2022-06-22 13:51:21
971
原创 PHP解决表情保存到数据库方法
用获取到的微信用户名【base64_encode()】加密后存入数据库取出时用【base64_decode()】解密一下就OK了
2019-07-04 15:32:34
537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人