ESPOCRM用户管理程序的安装教程

常用教程评论4,4321阅读模式

这款软件是客户管理软件。安装与大多数PHP系统近似,但是有几个必须的扩展:IMAP、FileInfo、Exif是必须安装的。另外超时限制至少要超过180秒,内存限制256MB以上。另外最重要的是,MySql5.5及以下版本无法安装,考虑到目前还有人在用MySql5.1,所以这一条需要十分注意。文章源自原紫番博客-https://www.yuanzifan.com/54324.html

另外,对于Ngnix主机来说,下列代码要加在Conf文件的Server中括号之中。是网站的配置文件。文章源自原紫番博客-https://www.yuanzifan.com/54324.html

client_max_body_size 50M;

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

    location /api/v1/ {
        if (!-e $request_filename){
            rewrite ^/api/v1/(.*)$ /api/v1/index.php last; break;
        }
    }

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

    location /api/v1/portal-access {
        if (!-e $request_filename){
            rewrite ^/api/v1/(.*)$ /api/v1/portal-access/index.php last; break;
        }
    }

    location ~ /reset/?$ {
        try_files /reset.html =404;
    }

    location ^~ (api|client)/ {
        if (-e $request_filename){
            return 403;
        }
    }
    location ^~ /data/ {
        deny all;
    }
    location ^~ /application/ {
        deny all;
    }
    location ^~ /custom/ {
        deny all;
    }
    location ^~ /vendor/ {
        deny all;
    }
    location ~ /\.ht {
        deny all;
    }
文章源自原紫番博客-https://www.yuanzifan.com/54324.html文章源自原紫番博客-https://www.yuanzifan.com/54324.html
 

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证