laravel项目配置

lnmp项目直接复制之前的配置

php artisan key:generate

vendor包处理

一种是:composer update
一种是:zip -r mysql.zip mysql

storage权限添加

chmod -R 777 storage

exec() has been disabled for security reasons

找到php.ini文件位置
在php.ini文件中找到disable_functions配置,我们可以看到,exec确实被禁用了

	; This directive allows you to disable certain functions for security reasons.
	; It receives a comma-delimited list of function names.
	; http://php.net/disable-functions
	disable_functions = passthru,exec,system,chroot,chgrp,chown,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
Linux如何在vim里搜索关键字
例如搜索 tcp写法:/tcp     +回车
/+关键字 ,回车。从文档当前位置向下查找,按n键查找关键字下一个位置;
?+关键字,回车。从文档挡圈位置向上查找,按n键向上查找关键字的位置;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值