所属: "php开发"
2月 25, 2025 - 分类 php开发   评论 多个php版本,指定版本执行命令已关闭评论

多个php版本,指定版本执行命令

多环境下的composer install报错:

默认php是8.0版本,但项目需要php7.4去执行,先找到php7.4的安装目录。可以使用一下:

/www/server/php/74/bin/php /usr/bin/composer install

同样,执行artisan 命令,也可以[……]

Read more

8月 22, 2024 - 分类 php开发   评论 Thinkphp 配置时报错: no input file specified已关闭评论

Thinkphp 配置时报错: no input file specified

Tinkphp配置好文件后:

一直出现nginx报错:

no input file specified
原因:

查看nginx错误日志:

tail -f /usr/local/etc/nginx/nginx_error.log

原因项目的中.user.ini是其它人直接压缩从宝塔上运[……]

Read more

页面:«1234567...18»