PHP,PHP文章,PHP文章列表
2024-06-04
Typora 使用方法
Typora是一款动态,多语法,干净、简介的Markdown编辑器,支持多种编程语言格式。就是Markdown语法格式。以前很少用,今天就使用Typora将常规的使用方式说一下,注意下面的+号都是连续
经验与学习 2
2024-04-02
uvicorn 多线程运行python Fastapi
uvicorn启动Python应用程序的命令,可以启动多线程命令,可以是Flask或者FastAPI程序
Python 1
2023-12-06
laravel command 命令行
1.创建命令,在根目录下,用artisan创建命令
PHP 4
2023-11-29
laravel api写session获取为空
使用laravel开发api过程中,发现使用session写入后无法获取,好像写入session无法生效导致无法读取,读取为空。但是在web开发中是没有问题的。
PHP 3
2023-11-13
Mac php多版本管理 php-version
在mac笔记本上用多个PHP版本,并能自动切换
经验与学习 3
2023-09-25
laravel调用solr搜索
使用php框架laravel(9.0)版本调用solr8.11.2搜索引擎,配置如下
PHP 3
2023-09-14
php安装solr扩展
在linux,mac安装PHP搜索扩展solr,通过PHP调用solr实现搜索,安装solr扩展步骤如下
PHP 4
2023-09-14
configure: error: Please reinstall the libcurl distribution -easy.h sh
mac通过phpize安装phpsolr扩展时出现了下面的错误:configure:error:Pleasereinstallthelibcurldistribution-easy.hshouldbe
PHP 3
2023-09-07
Cannot find config.m4
在linux安装php扩展,一般php的扩展都会在php的安装包ext中,我在安装opesssl中出现Cannotfindconfig.m4。
Linux 3
2023-09-04
No package 'libjpeg' found
linux安装php时,提示Nopackage'libjpeg'found,实际时缺少libjpeg
Linux 2
2023-09-04
No package 'freetype2' found
安装php时,提示Nopackage'freetype2'found,实际时缺少freetype:
Linux 3
2023-09-01
nginx No input file specified
配置nginxphp访问出现Noinputfilespecified的错误,一般是路径不对或者权限不对。权限不对也有出现Accessdenied。下面说一下出现Noinputfilespecified
Linux 2
2023-08-31
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error
安装php8时中途出现了make:***[ext/fileinfo/libmagic/apprentice.lo]Error错误。
Linux 2
2023-08-31
指定php版本运行 composer
在系统中安装了多个版本的php,比如php7.2和php8,默认php版本是7.2怎么指定php版本运行composer
PHP 3
2023-08-31
laravel 获取config 参数
laravel是可以自定义全局参数的,可以在config文件夹里面新增配置文件
PHP 2