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

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

    另外,对于Ngnix主机来说,下列代码要加在Conf文件的Server中括号之中。是网站的配置文件。

    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;
        }