Relsoul&Soul的随笔,技术,感悟,摄影博客
  • Home
  • Js
  • Author
  • 常用的nodejs
Subscribe
Tagged

mac

A collection of 2 posts

laravel

maclaravel failed to open stream Permission denied

laravel5 因为直接从win下copy目录 然后不知道改动了啥导致出现open stream: Permission denied 错误 经过一个多小时候的探索发现参考这篇文章 php artisan cache:clear chmod -R 777 storage composer dump-autoload composer update 然后出现另外一种错误Please provide a valid cache path. 参考 接着在storage/framework 下面创建 sessions, views, cache 文件夹 搞定如果framework文件夹没有那么就创建他

soul 2016年8月18日 • 1 min read
lnmp

mac安装lnmp环境

参考教程 安装brew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装PHP5.6 brew install php56 \ --without-snmp \ --without-apache \ --with-fpm \ --with-intl \ --with-homebrew-curl \ --with-homebrew-libxslt \ --with-homebrew-openssl \ --with-imap \ --with-mysql \ --with-tidy` 不要用–without-debug方式安装 否则会造成php扩展模块编译后与php不兼容 修改系统环境 在~/.bash_profile中添加环境 export PATH="/usr/local/bin:/usr/local/sbin:$PATH" 安装php56扩展

soul 2016年8月14日 • 1 min read
Relsoul&Soul的随笔,技术,感悟,摄影博客 © 2022
  • Data & privacy
  • Contact
  • Contribute →
Powered by Ghost