作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经在 Windows 中安装了 32 位的 laravel homestead
git https://github.com/rmff/laravel-homestead-32bit.git Homestead32Bit
cd Homestead32Bit
vagrant up
composer create-project laravel/laravel Laravel "~5.0.0" --prefer-dist
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: D:\www
to: /home/vagrant/www
sites:
- map: daulat.app
to: /home/vagrant/www/Laravel/public
databases:
- homestead
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
( ! ) Notice: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' in /home/vagrant/www/Laravel/config/app.php on line 83
Call Stack
# Time Memory Function Location
1 0.0977 351248 {main}( ) .../index.php:0
2 1.0695 1913472 Illuminate\Foundation\Http\Kernel->handle( ) .../index.php:53
3 1.0695 1913472 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter( ) .../compiled.php:1880
4 1.0697 1913472 Illuminate\Foundation\Http\Kernel->bootstrap( ) .../compiled.php:1890
5 1.0697 1913472 Illuminate\Foundation\Application->bootstrapWith( ) .../compiled.php:1928
6 1.1328 1920704 Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap( ) .../compiled.php:1311
7 1.1422 1920824 Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles( ) .../compiled.php:1806
8 1.5877 1924344 require( '/home/vagrant/www/Laravel/config/app.php' ) .../compiled.php:1814
最佳答案
仔细阅读消息:
( ! ) Notice: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128'
MCRYPT_RIJNDAEL_128
对比
'MCRYPT_RIJNDAEL_128'
MCRYPT_RIJNDAEL_128
周围的引号,它必须是一个字符串。
关于laravel homestead 32位中的php 7 MCRYPT_RIJNDAEL_128错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36113341/
我是一名优秀的程序员,十分优秀!