php 独立开发项目,GitHub - uenucom/Zend-Framework-1.11: 基于Zend Framework 1.11 研发的多模块管理系统,适合大项目,每个模块独立开发、测试、...

Zend Framework 1.11

=======================

基于Zend Framework 1.11 研发的多模块管理系统,适合大型项目,每个模块独立开发、测试、上线,低耦合,不影响其他项目。

非常有创意的项目,试用复杂的大型项目。

可在如下php版本运行

支持php 5.x

(5.2、5.3、5.4、5.5、5.6)

不支持php7.0+

模块说明

实例中的default模块包含如下功能,可以参考此模块扩展开发其他模块如(Book)

1、用户管理

2、权限管理

3、批量授权(新增权限、移除权限,根据某人开通权限)

4、会话管理(可以查看当前在线用户,可踢掉指定用户),一个用户重复登录,仅保留最近一次会话,之前会话自动失效。

5、日志管理 (用户权限的变更、操作日志等)

6、导出数据

Using Git submodules

Alternatively, you can install using native git submodules:

git clone https://github.com/uenucom/Zend-Framework-1.11.git

Web Server Setup

PHP CLI Server

The simplest way to get started if you are using PHP 5.4 or above is to start the internal PHP cli-server in the root directory:

php -S 0.0.0.0:8080 -t public/ public/index.php

This will start the cli-server on port 8080, and bind it to all network

interfaces.

**Note: ** The built-in CLI server is for development only.

Apache Setup

To setup apache, setup a virtual host to point to the public/ directory of the

project and you should be ready to go! It should look something like below:

ServerName zf2-tutorial.localhost

DocumentRoot /path/to/zf2-tutorial/public

SetEnv APPLICATION_ENV "development"

DirectoryIndex index.php

AllowOverride All

Order allow,deny

Allow from all

Nginx Setup

server {

listen 80;

server_name zfapp.localhost web.uenu.com;

root /home/web/www/public;

location /{

index index.php index.html index.htm;

try_files $uri $uri/ /index.php?$args;

}

access_log /home/web/logs/default_access.log main;

error_log /home/web/logs/default_error.log crit;

location ~ \.php${

fastcgi_pass 127.0.0.1:9000;

#fastcgi_pass unix:/dev/shm/php-cgi7.sock;

fastcgi_index index.php;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

include fastcgi_params;

client_max_body_size 10m;

}

}

Restart the nginx, now you should be ready to go!

技术支持

Email:uenucom#163.com

( change # to @)

Download

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值