上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
  2017年10月20日
摘要: 报错情况: There was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: No module named sqlitePlease 阅读全文
posted @ 2017-10-20 15:26 张扬个性,敢为天下先 阅读(1501) 评论(0) 推荐(0) 编辑
  2017年10月18日
摘要: 1.准备编译环境gcc 2.去官网下载要安装的对应版本的python的源代码 下载地址:https://www.python.org/downloads/source/ 你可以选择你要下载的版本,用wget指令来下载相应的源代码 3.解压下载的代码包 1 2 tar -zxvf Python-x.x 阅读全文
posted @ 2017-10-18 18:06 张扬个性,敢为天下先 阅读(258) 评论(0) 推荐(0) 编辑
  2017年10月10日
摘要: php-fpm没有运行 执行如下命令查看是否启动了php-fpm,如果没有则启动你的php-fpm即可 查看: netstat -ant | grep 9000 执行 /usr/local/php/sbin/php-fpm 阅读全文
posted @ 2017-10-10 16:45 张扬个性,敢为天下先 阅读(3045) 评论(0) 推荐(0) 编辑
摘要: # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_proce... 阅读全文
posted @ 2017-10-10 16:41 张扬个性,敢为天下先 阅读(393) 评论(0) 推荐(0) 编辑
  2017年10月9日
摘要: 1.symfony分页是要用到组件的,所以这里使用KnpPaginatorBundle实现翻页 2. 用composer下载 在命令行中: composer require "knplabs/knp-paginator-bundle" 3.需要到框架里面注册该组件在项目下的app/Resources 阅读全文
posted @ 2017-10-09 11:32 张扬个性,敢为天下先 阅读(1247) 评论(0) 推荐(1) 编辑
  2017年9月30日
摘要: wget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.shlnmp 阅读全文
posted @ 2017-09-30 17:16 张扬个性,敢为天下先 阅读(188) 评论(0) 推荐(0) 编辑
  2017年9月28日
摘要: 1.创建Bundle php bin/console generate:bundle --namespace=Home/IndexBundle --format=yml 创建bundle会更新app文件夹下的 appKernel.php config/routing.yml 2.创建entity p 阅读全文
posted @ 2017-09-28 19:42 张扬个性,敢为天下先 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1. 添加数据 新建一个对象,给对象赋值 2. 修改数据 3. 删除 阅读全文
posted @ 2017-09-28 13:54 张扬个性,敢为天下先 阅读(884) 评论(0) 推荐(0) 编辑
  2017年9月27日
摘要: 1. cmd进入DOS , cd 到 php.exe 的目录下 2. php -r "readfile('http://symfony.com/installer');" > symfony 3. 把symfony移动到projects(你自己的工作目录) move symfony c:\proje 阅读全文
posted @ 2017-09-27 17:24 张扬个性,敢为天下先 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 1. 让Apache在启动时能加载虚拟主机模块。 打开Apache安装目录下conf/httpd.conf文件,找到下面两行文字,把最前面的 # 号去掉,然后保存。 #LoadModule vhost_alias_module modules/mod_vhost_alias.so #Include 阅读全文
posted @ 2017-09-27 10:47 张扬个性,敢为天下先 阅读(246) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页