0
Properties prop = new Properties();
InputStream in = getClass().getResourceAsStream("foo.properties");
prop.load(in);
in.close();
0

先ps -ef | grep nginx 得到nginx运行路径

然后运行 /xx/bin/nginx -t 执行语法检查。

就会输出下面的路径。

nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok

0

一般我都是本地配置

0
mkdir -p storage/framework/views
mkdir -p storage/framework/cache
mkdir -p storage/framework/sessions
0

重启下FPM就行了。

/etc/init.d/php5-fpm restart
sudo service php5-fpm restart

Broadcast


JoyK
Better personal homepage
reddit style
GitHub Flavored Markdown syntax
Adaptive layout