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

这款软件是客户管理软件。安装与大多数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

  1. client_max_body_size 50M;
  2.  
  3. location / {
  4. try_files $uri $uri/ /index.php?$query_string;
  5. }
  6.  
  7. location /api/v1/ {
  8. if (!-e $request_filename){
  9. rewrite ^/api/v1/(.*)$ /api/v1/index.php last; break;
  10. }
  11. }
  12.  
  13. location /portal/ {
  14. try_files $uri $uri/ /portal/index.php?$query_string;
  15. }
  16.  
  17. location /api/v1/portal-access {
  18. if (!-e $request_filename){
  19. rewrite ^/api/v1/(.*)$ /api/v1/portal-access/index.php last; break;
  20. }
  21. }
  22.  
  23. location ~ /reset/?$ {
  24. try_files /reset.html =404;
  25. }
  26.  
  27. location ^~ (api|client)/ {
  28. if (-e $request_filename){
  29. return 403;
  30. }
  31. }
  32. location ^~ /data/ {
  33. deny all;
  34. }
  35. location ^~ /application/ {
  36. deny all;
  37. }
  38. location ^~ /custom/ {
  39. deny all;
  40. }
  41. location ^~ /vendor/ {
  42. deny all;
  43. }
  44. location ~ /\.ht {
  45. deny all;
  46. }
文章源自原紫番博客-https://www.yuanzifan.com/54324.html文章源自原紫番博客-https://www.yuanzifan.com/54324.html
站长微信
扫码添加(注明来意)
weinxin
Yuanzifan99
原梓番博客公众号
博客内容精选
weinxin
原梓番博客
 

发表评论

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

拖动滑块以完成验证
加载失败