Comments (21)
PHP 版本多少?可能是没达到 Eloquent 的要求
from pinatra.
我查了下,最新的 Eloquent 要求 PHP7.2:https://github.com/illuminate/database/blob/master/composer.json
看来我需要指定一下版本了
from pinatra.
哈哈哈 我是php7.2的
from pinatra.
我在 MAC 上用 7.3 的 PHP -S 试了试没问题,要不你也用 PHP -S 试试?
from pinatra.
运行php -s 一直卡着是什么鬼
from pinatra.
运行php -S的话出来一堆php的命令help
from pinatra.
php -S 0.0.0.0:8000
from pinatra.
-
- 我用的是nginx呀
from pinatra.
- 我用的是nginx呀
这不是在找问题嘛。。。
from pinatra.
好的,我以为跟nginx是一样的,抱歉哈,我试试
from pinatra.
Could not open input file: 0.0.0.0:8000
提示这个
from pinatra.
目测你的 -s 是小写的
from pinatra.
是的,哈哈哈哈 我换成大写
from pinatra.
http://47.96.92.16:8000/
这里启动没问题,.
再去访问的话就有数据出来了
-
- 这是为啥呀
from pinatra.
那就是你的环境的问题,php-fpm 的问题
from pinatra.
那麻烦问下我应该从哪儿着手查呢
from pinatra.
不知道,要不你更新到 4.3 。。。
from pinatra.
你可以换用 Apache,记得用这个装 PHP:https://webtatic.com/
from pinatra.
我擦~~
现在用nginx又可以了
奇了怪了
from pinatra.
可能是你没重启 php-fpm
from pinatra.
(⊙o⊙)哦
这倒也是个思路,
换句话说安装配置好项目后最好重启下php-fpm吗
-
- 另外突然发现另外一个问题就是为啥var_dump好使但是dump不好使
from pinatra.
Related Issues (11)
- 路由中间件
- 我想问下这个怎么用事务? HOT 1
- 请问如何路由如何处理带参数的url? HOT 1
- A bunch of questions HOT 2
- 配置文件
- 脚本,定时器
- 能不能用medoo作为数据库操作库 HOT 2
- 只要涉及到Model就直接罢工 HOT 10
- 弱弱的问下大佬有没有下一步的开发计划?
- 哈哈哈 我是php7.2.16的
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinatra.