定制 sgenmi/yaf-help-doc 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sgenmi/yaf-help-doc

最新稳定版本:v0.0.1

Composer 安装命令:

composer require sgenmi/yaf-help-doc

包简介

Yaf help doc

README 文档

README

  • Install Yaf
    wget http://pecl.php.net/get/yaf-3.3.4.tgz
    tar zxvf yaf-3.3.2.tgz
    cd yaf-3.3.4
    phpize   [/path/to/phpize]
    ./configure --with-php-config=php-config  [/path/to/php-config]
    make && sudo make install
  • Edit php.ini
    • Add the following code to php.ini
    • open use_namespace
    extension=yaf.so
    yaf.use_namespace=1
    yaf.name_suffix=0
    yaf.name_separator=\;
  • nginx Config
server {
  listen 8080;
  server_name xx.com ;
  access_log off;
  index index.html index.htm index.php;
  # Project path
  
  root /var/www/xxxx/public;

  #error_page 404 /404.html;
  #error_page 502 /502.html;

  location / {
      try_files $uri $uri/ /index.php?$args;
  }

  location ~ [^/]\.php(/|$) {
    #fastcgi_pass remote_php_ip:9000;
    fastcgi_pass unix:/dev/shm/php-cgi.sock;
    fastcgi_index index.php;
    include fastcgi.conf;
  }
  
  location ~ /\.ht {
    deny all;
  }
  location ~ /\.git {
      deny all;
  }
  location ~ /\.md {
        deny all;
    }
}

统计信息

  • 总下载量: 458
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固