Properties prop = new Properties(); InputStream in = getClass().getResourceAsStream("foo.properties"); prop.load(in); in.close();
先ps -ef | grep nginx 得到nginx运行路径
然后运行 /xx/bin/nginx -t 执行语法检查。
就会输出下面的路径。
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
一般我都是本地配置
mkdir -p storage/framework/views mkdir -p storage/framework/cache mkdir -p storage/framework/sessions
重启下FPM就行了。
/etc/init.d/php5-fpm restart sudo service php5-fpm restart
Showing 1 to 5 of 11 results
JoyK Better personal homepage reddit styleGitHub Flavored Markdown syntax Adaptive layout
先ps -ef | grep nginx 得到nginx运行路径
然后运行 /xx/bin/nginx -t 执行语法检查。
就会输出下面的路径。
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
一般我都是本地配置
重启下FPM就行了。